From c43cd3a24bbfb1bb74f7da5ad50964e840d4d53d Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Tue, 10 Sep 2024 19:07:24 -0700 Subject: [PATCH] Nidec: add longitudinal control comment This name is confusion --- opendbc/car/honda/carcontroller.py | 1 + 1 file changed, 1 insertion(+) diff --git a/opendbc/car/honda/carcontroller.py b/opendbc/car/honda/carcontroller.py index 85199a2b91..b899ca0d8f 100644 --- a/opendbc/car/honda/carcontroller.py +++ b/opendbc/car/honda/carcontroller.py @@ -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)