Increase Volt's steering limit (#351)

* Increase Volt's steering limit

* Merge panda subtree
Vasily Tarasov 2018-09-21 19:41:44 -07:00 committed by rbiasini
parent 96c923875b
commit 2d450bc3a8
4 changed files with 4 additions and 4 deletions

View File

@ -1 +1 @@
v1.1.4
v1.1.5

View File

@ -8,7 +8,7 @@
// brake rising edge
// brake > 0mph
const int GM_MAX_STEER = 255;
const int GM_MAX_STEER = 300;
const int GM_MAX_RT_DELTA = 128; // max delta torque allowed for real time checks
const int32_t GM_RT_INTERVAL = 250000; // 250ms between real time checks
const int GM_MAX_RATE_UP = 7;

View File

@ -5,7 +5,7 @@ import libpandasafety_py
MAX_RATE_UP = 7
MAX_RATE_DOWN = 17
MAX_STEER = 255
MAX_STEER = 300
MAX_BRAKE = 350
MAX_GAS = 3072
MAX_REGEN = 1404

View File

@ -11,7 +11,7 @@ from selfdrive.can.packer import CANPacker
class CarControllerParams():
def __init__(self, car_fingerprint):
if car_fingerprint == CAR.VOLT:
self.STEER_MAX = 255
self.STEER_MAX = 300
self.STEER_STEP = 2 # how often we update the steer cmd
self.STEER_DELTA_UP = 7 # ~0.75s time to peak torque (255/50hz/0.75s)
self.STEER_DELTA_DOWN = 17 # ~0.3s from peak torque to zero