From 5e0168a7f0c8b27ead4fcf1dfe9a8edb98f382c2 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Tue, 30 Jul 2024 15:18:26 -0700 Subject: [PATCH] Ford: add long controls todo old-commit-hash: 661ef03a24171addba79b69bb14867425f5a9474 --- selfdrive/car/ford/carcontroller.py | 1 + 1 file changed, 1 insertion(+) diff --git a/selfdrive/car/ford/carcontroller.py b/selfdrive/car/ford/carcontroller.py index 36589f34e5..09bba46565 100644 --- a/selfdrive/car/ford/carcontroller.py +++ b/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 ###