From 779bfbc63e10c758d2a8fa54e5db3f372dd71b79 Mon Sep 17 00:00:00 2001 From: Cameron Clough Date: Mon, 23 May 2022 12:13:26 +0100 Subject: [PATCH] honda bosch: typo affecting longitudinal limits clip (#24603) * fix typo? * another typo * Revert "another typo" This reverts commit 45cd9bf2e89d2e0af727b502e5a7881eb52c23ee. --- selfdrive/car/honda/carcontroller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/car/honda/carcontroller.py b/selfdrive/car/honda/carcontroller.py index f803e9db47..cf01fa2aaa 100644 --- a/selfdrive/car/honda/carcontroller.py +++ b/selfdrive/car/honda/carcontroller.py @@ -222,7 +222,7 @@ class CarController: if self.CP.carFingerprint in HONDA_BOSCH: self.accel = clip(accel, self.params.BOSCH_ACCEL_MIN, self.params.BOSCH_ACCEL_MAX) self.gas = interp(accel, self.params.BOSCH_GAS_LOOKUP_BP, self.params.BOSCH_GAS_LOOKUP_V) - can_sends.extend(hondacan.create_acc_commands(self.packer, CC.enabled, CC.longActive, accel, self.gas, + can_sends.extend(hondacan.create_acc_commands(self.packer, CC.enabled, CC.longActive, self.accel, self.gas, idx, stopping, self.CP.carFingerprint)) else: apply_brake = clip(self.brake_last - wind_brake, 0.0, 1.0)