From 4153fdf7312e1ce7310f685ec1b65862522ccd0a Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Thu, 30 Mar 2023 18:12:25 -0700 Subject: [PATCH] fix crash --- 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 5d8783245e..583ee29988 100644 --- a/selfdrive/car/honda/carcontroller.py +++ b/selfdrive/car/honda/carcontroller.py @@ -147,7 +147,7 @@ class CarController: pcm_cancel_cmd = CC.cruiseControl.cancel if CC.longActive: - accel = compute_accel(actuators.accel, CS.vEgo, self.CP.carFingerprint) + accel = compute_accel(actuators.accel, CS.out.vEgo, self.CP.carFingerprint) gas, brake = compute_gas_brake(actuators.accel, CS.out.vEgo, self.CP.carFingerprint) else: accel = 0.0