Skip to content

Commit

Permalink
torque
Browse files Browse the repository at this point in the history
  • Loading branch information
sshane committed Oct 12, 2022
1 parent 7d520aa commit 6e640e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion board/safety/safety_hyundai_canfd.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const SteeringLimits HYUNDAI_CANFD_STEERING_LIMITS = {
.type = TorqueDriverLimited,

// the EPS faults when the steering angle is above a certain threshold for too long. to prevent this,
// we allow setting actuation bit to 0 while maintaining the requested torque value for two consecutive frames
// we allow setting torque actuation bit to 0 while maintaining the requested torque value for two consecutive frames
.min_valid_request_frames = 89,
.max_invalid_request_frames = 2,
.min_valid_request_rt_interval = 810000, // 810ms; a ~10% buffer on cutting every 90 frames
Expand Down

0 comments on commit 6e640e4

Please sign in to comment.