Skip to content

Commit

Permalink
Nidec: add longitudinal control comment
Browse files Browse the repository at this point in the history
This name is confusion
  • Loading branch information
sshane committed Sep 11, 2024
1 parent 3ff9057 commit c43cd3a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions opendbc/car/honda/carcontroller.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ def update(self, CC, CS, now_nanos):
self.brake = apply_brake / self.params.NIDEC_BRAKE_MAX

# Send dashboard UI commands.
# On Nidec, this controls longitudinal positive acceleration
if self.frame % 10 == 0:
hud = HUDData(int(pcm_accel), int(round(hud_v_cruise)), hud_control.leadVisible,
hud_control.lanesVisible, fcw_display, acc_alert, steer_required, hud_control.leadDistanceBars)
Expand Down

0 comments on commit c43cd3a

Please sign in to comment.