More Honda rate limit (#26509)

* More Honda rate limit

* Update ref_commit
pull/26345/head^2
Harald Schäfer 2 years ago committed by GitHub
parent a662af57c7
commit fbf3ef0895
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      selfdrive/car/honda/carcontroller.py
  2. 2
      selfdrive/test/process_replay/ref_commit

@ -100,8 +100,8 @@ HUDData = namedtuple("HUDData",
def rate_limit_steer(new_steer, last_steer): def rate_limit_steer(new_steer, last_steer):
# TODO just hardcoded ramp to min/max in 0.2s for all Honda # TODO just hardcoded ramp to min/max in 0.33s for all Honda
MAX_DELTA = 5 * DT_CTRL MAX_DELTA = 3 * DT_CTRL
return clip(new_steer, last_steer - MAX_DELTA, last_steer + MAX_DELTA) return clip(new_steer, last_steer - MAX_DELTA, last_steer + MAX_DELTA)

@ -1 +1 @@
324408a87f49413da864616cb409537ce7d8beb2 959e63af52d9efdb62156cab4b773f88b154fd75

Loading…
Cancel
Save