Skip to content

Commit

Permalink
Toyota: less torque error allowance to meet Corolla acceptable behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
rbiasini committed Jan 26, 2018
1 parent 07c01b2 commit 6c01d09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion board/safety/safety_toyota.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const int32_t MAX_TORQUE = 1500; // max torque cmd allowed ever
// packet is sent at 100hz, so this limit is 1000/sec
const int32_t MAX_RATE_UP = 10; // ramp up slow
const int32_t MAX_RATE_DOWN = 25; // ramp down fast
const int32_t MAX_TORQUE_ERROR = 500; // max torque cmd in excess of torque motor
const int32_t MAX_TORQUE_ERROR = 350; // max torque cmd in excess of torque motor

// real time torque limit to prevent controls spamming
// the real time limit is 1500/sec
Expand Down

0 comments on commit 6c01d09

Please sign in to comment.