mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-21 05:52:06 +08:00
More Honda rate limit (#26509)
* More Honda rate limit * Update ref_commit
This commit is contained in:
@@ -100,8 +100,8 @@ HUDData = namedtuple("HUDData",
|
||||
|
||||
|
||||
def rate_limit_steer(new_steer, last_steer):
|
||||
# TODO just hardcoded ramp to min/max in 0.2s for all Honda
|
||||
MAX_DELTA = 5 * DT_CTRL
|
||||
# TODO just hardcoded ramp to min/max in 0.33s for all Honda
|
||||
MAX_DELTA = 3 * DT_CTRL
|
||||
return clip(new_steer, last_steer - MAX_DELTA, last_steer + MAX_DELTA)
|
||||
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
324408a87f49413da864616cb409537ce7d8beb2
|
||||
959e63af52d9efdb62156cab4b773f88b154fd75
|
||||
|
||||
Reference in New Issue
Block a user