From a88044dedec118712a9e296d7b0e1150b790fcaf Mon Sep 17 00:00:00 2001 From: Willem Melching Date: Mon, 4 Oct 2021 09:13:14 +0200 Subject: [PATCH] start gas from -0.2 --- selfdrive/car/honda/hondacan.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/selfdrive/car/honda/hondacan.py b/selfdrive/car/honda/hondacan.py index 20a401c3b7..2a1f75dfd2 100644 --- a/selfdrive/car/honda/hondacan.py +++ b/selfdrive/car/honda/hondacan.py @@ -49,9 +49,9 @@ def create_acc_commands(packer, enabled, accel, gas, idx, stopping, starting, ca control_on = 5 if enabled else 0 # no gas = -30000 - gas_command = gas if enabled and gas > 0 else -30000 + gas_command = gas if enabled and gas > -0.2 else -30000 accel_command = accel if enabled else 0 - braking = 1 if enabled and accel < 0 else 0 + braking = 1 if enabled and accel < -0.2 else 0 standstill = 1 if enabled and stopping else 0 standstill_release = 1 if enabled and starting else 0