Skip to content

Commit

Permalink
Hyundai: allow the same max steer torque as stock
Browse files Browse the repository at this point in the history
  • Loading branch information
rbiasini committed Jan 29, 2019
1 parent d275fa8 commit 93266a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion board/safety/safety_hyundai.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const int HYUNDAI_MAX_STEER = 250;
const int HYUNDAI_MAX_STEER = 255; // like stock
const int HYUNDAI_MAX_RT_DELTA = 112; // max delta torque allowed for real time checks
const int32_t HYUNDAI_RT_INTERVAL = 250000; // 250ms between real time checks
const int HYUNDAI_MAX_RATE_UP = 3;
Expand Down
2 changes: 1 addition & 1 deletion tests/safety/test_hyundai.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

MAX_RATE_UP = 3
MAX_RATE_DOWN = 7
MAX_STEER = 250
MAX_STEER = 255

MAX_RT_DELTA = 112
RT_INTERVAL = 250000
Expand Down

0 comments on commit 93266a9

Please sign in to comment.