Acceleration limit for backward driving
Closed this issue · 1 comments
Thazz commented
When applying acceleration/deceleration limits in velocity iterator, one should be looking for difference in velocity magnitude (absolute value).
Currently, If the robot is driving backwards and its velocity changes from e.g v0 = -1 m/s
to target = -1.5 m/s
, deceleration limit is used (as v0 > target
), although robot is actually accelerating. The same goes for deceleration.
I can provide PR if needed.
DLu commented
Makes sense! Please make a PR.