From b55d0edfe0846f3dff5e75aab6da7e06ade81477 Mon Sep 17 00:00:00 2001 From: Harald Schafer Date: Wed, 11 Aug 2021 21:11:44 -0700 Subject: [PATCH] whitespace old-commit-hash: cae0819e8b66fa53955f4c3c886b64e07ec5ee23 --- selfdrive/car/honda/carcontroller.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/selfdrive/car/honda/carcontroller.py b/selfdrive/car/honda/carcontroller.py index dfd0bfdc0..dcbb46146 100644 --- a/selfdrive/car/honda/carcontroller.py +++ b/selfdrive/car/honda/carcontroller.py @@ -155,14 +155,13 @@ class CarController(): starting = accel > 0 and CS.out.vEgo < 0.3 # Prevent rolling backwards - accel = -1.0 if stopping else accel if CS.CP.carFingerprint in HONDA_BOSCH: apply_accel = interp(accel, P.BOSCH_ACCEL_LOOKUP_BP, P.BOSCH_ACCEL_LOOKUP_V) else: apply_accel = interp(accel, P.NIDEC_ACCEL_LOOKUP_BP, P.NIDEC_ACCEL_LOOKUP_V) - # wind brake from air resistance decel at highspeed + # wind brake from air resistance decel at high speed wind_brake = interp(CS.out.vEgo, [0.0, 2.3, 20.0], [0.0, 0.0, 0.1]) if CS.CP.carFingerprint in OLD_NIDEC_LONG_CONTROL: #pcm_speed = pcm_speed