Skip to content

Commit

Permalink
Ford: add long controls todo
Browse files Browse the repository at this point in the history
  • Loading branch information
sshane committed Jul 30, 2024
1 parent 76fd5b0 commit 661ef03
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions selfdrive/car/ford/carcontroller.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ def update(self, CC, CS, now_nanos):
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 ###
Expand Down

0 comments on commit 661ef03

Please sign in to comment.