Ford: add long controls todo
old-commit-hash: 661ef03a24171addba79b69bb14867425f5a9474
This commit is contained in:
@@ -92,6 +92,7 @@ class CarController(CarControllerBase):
|
||||
if not CC.longActive or gas < CarControllerParams.MIN_GAS:
|
||||
gas = CarControllerParams.INACTIVE_GAS
|
||||
stopping = CC.actuators.longControlState == LongCtrlState.stopping
|
||||
# TODO: look into using the actuators packet to send the desired speed
|
||||
can_sends.append(fordcan.create_acc_msg(self.packer, self.CAN, CC.longActive, gas, accel, stopping, v_ego_kph=V_CRUISE_MAX))
|
||||
|
||||
### ui ###
|
||||
|
||||
Reference in New Issue
Block a user