mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-21 08:14:00 +08:00
adding steering change from video and removing integer div and adding ki/kp changes
old-commit-hash: 942655c947
This commit is contained in:
@@ -141,7 +141,7 @@ class CarController(object):
|
||||
GAS_MAX = 1004
|
||||
BRAKE_MAX = 1024/4
|
||||
if CS.crv:
|
||||
STEER_MAX = 0xFFF/2
|
||||
STEER_MAX = 0x380 # CR-V only uses 12-bits and requires a lower value
|
||||
else:
|
||||
STEER_MAX = 0xF00
|
||||
GAS_OFFSET = 328
|
||||
|
||||
Reference in New Issue
Block a user