Skip to content

Commit

Permalink
Hyndai safety: tuned
Browse files Browse the repository at this point in the history
  • Loading branch information
Commaremote committed Aug 29, 2018
1 parent ad1ba69 commit d0c28b7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions board/safety/safety_hyundai.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
const int HYUNDAI_MAX_STEER = 250;
const int HYUNDAI_MAX_RT_DELTA = 128; // 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 = 4;
const int HYUNDAI_MAX_RATE_DOWN = 10;
const int HYUNDAI_MAX_RATE_UP = 3;
const int HYUNDAI_MAX_RATE_DOWN = 7;
const int HYUNDAI_DRIVER_TORQUE_ALLOWANCE = 50;
const int HYUNDAI_DRIVER_TORQUE_FACTOR = 4;
const int HYUNDAI_DRIVER_TORQUE_FACTOR = 2;

int hyundai_brake_prev = 0;
int hyundai_gas_prev = 0;
Expand Down

0 comments on commit d0c28b7

Please sign in to comment.