mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-21 00:03:45 +08:00
Hyundai CAN-FD: set request accel when stopping (#26877)
Update hyundaicanfd.py old-commit-hash: 2c293bf728f59a36830898e0f0d4111cd6708619
This commit is contained in:
@@ -72,8 +72,6 @@ def create_acc_control(packer, CP, enabled, accel_last, accel, stopping, gas_ove
|
||||
else:
|
||||
a_raw = accel
|
||||
a_val = clip(accel, accel_last - jn, accel_last + jn)
|
||||
if stopping:
|
||||
a_raw = 0
|
||||
|
||||
values = {
|
||||
"ACCMode": 0 if not enabled else (2 if gas_override else 1),
|
||||
|
||||
Reference in New Issue
Block a user