From 054c912b9a7169645f1f45dd95b73bf3876a78ad Mon Sep 17 00:00:00 2001 From: Harald Schafer Date: Fri, 3 Sep 2021 14:01:24 -0700 Subject: [PATCH] need to add gas here --- 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 1256e68938..46fa805839 100644 --- a/selfdrive/car/honda/carcontroller.py +++ b/selfdrive/car/honda/carcontroller.py @@ -196,7 +196,7 @@ class CarController(): clip(CS.out.vEgo + accel/2.0 - 2.0, 0.0, 100.0), clip(CS.out.vEgo + accel/2.0 + 2.0, 0.0, 100.0), clip(CS.out.vEgo + 5.0, 0.0, 100.0)] - pcm_speed = interp(-brake, pcm_speed_BP, pcm_speed_V) + pcm_speed = interp(gas-brake, pcm_speed_BP, pcm_speed_V) if not CS.CP.openpilotLongitudinalControl: if (frame % 2) == 0: