adding steering change from video and removing integer div and adding ki/kp changes

old-commit-hash: 942655c947
This commit is contained in:
John Jones
2017-06-11 13:20:19 -04:00
parent 0944c786e1
commit e2b3b65db5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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