Increase Volt's steering limit (#351)

* Increase Volt's steering limit

* Merge panda subtree
pull/373/head
Vasily Tarasov 7 years ago committed by rbiasini
parent 96c923875b
commit 2d450bc3a8
  1. 2
      panda/VERSION
  2. 2
      panda/board/safety/safety_gm.h
  3. 2
      panda/tests/safety/test_gm.py
  4. 2
      selfdrive/car/gm/carcontroller.py

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

@ -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;

@ -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

@ -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

Loading…
Cancel
Save