Skip to content

Commit

Permalink
Toyota: lower accel down rate limit (commaai#1489)
Browse files Browse the repository at this point in the history
lower rate limit
  • Loading branch information
sshane authored Nov 15, 2024
1 parent 635f5ab commit 40951c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions opendbc/car/toyota/carcontroller.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
VisualAlert = structs.CarControl.HUDControl.VisualAlert

# The up limit allows the brakes/gas to unwind quickly leaving a stop,
# the down limit matches the rate of ACCEL_NET, reducing PCM compensation windup
# the down limit roughly matches the rate of ACCEL_NET, reducing PCM compensation windup
ACCEL_WINDUP_LIMIT = 0.5 # m/s^2 / frame
ACCEL_WINDDOWN_LIMIT = -5.0 * DT_CTRL * 3 # m/s^2 / frame
ACCEL_WINDDOWN_LIMIT = -4.0 * DT_CTRL * 3 # m/s^2 / frame

# LKA limits
# EPS faults if you apply torque while the steering rate is above 100 deg/s for too long
Expand Down

0 comments on commit 40951c1

Please sign in to comment.