Ford: add long controls todo

old-commit-hash: 661ef03a24171addba79b69bb14867425f5a9474
This commit is contained in:
Shane Smiskol
2024-07-30 15:18:26 -07:00
parent e37e93d57b
commit 5e0168a7f0

View File

@@ -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 ###