revert unneeded change

This commit is contained in:
Rick Lan
2019-05-04 11:40:41 +10:00
parent e0eccb87b5
commit 91f0b5c6cd
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ int toyota_giraffe_switch_1 = 0; // is giraffe switch 1 high?
int toyota_camera_forwarded = 0; // should we forward the camera bus?
// global torque limit
const int TOYOTA_MAX_TORQUE = 1600; // max torque cmd allowed ever
const int TOYOTA_MAX_TORQUE = 1500; // max torque cmd allowed ever
// rate based torque limit + stay within actually applied
// packet is sent at 100hz, so this limit is 1000/sec
+1 -1
View File
@@ -21,7 +21,7 @@ ACCEL_SCALE = max(ACCEL_MAX, -ACCEL_MIN)
# Steer torque limits
class SteerLimitParams:
STEER_MAX = 1600
STEER_MAX = 1500
STEER_DELTA_UP = 10 # 1.5s time to peak torque
STEER_DELTA_DOWN = 25 # always lower than 45 otherwise the Rav4 faults (Prius seems ok with 50)
STEER_ERROR_MAX = 350 # max delta between torque cmd and torque motor