Ford: add long controls todo

old-commit-hash: 661ef03a24
pull/33302/head
Shane Smiskol 10 months ago
parent e37e93d57b
commit 5e0168a7f0
  1. 1
      selfdrive/car/ford/carcontroller.py

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

Loading…
Cancel
Save