Skip to content

Tuning Accel / Decel Push Ratios #2920

Discussion options

You must be logged in to vote

@osholsonel20
if you mean the push values in op_common_params. They are similar to a "P" value in the PID controller.
They are useful when you don't have reliable or delayed feedback from the vehicle.
Or when you don't have small movement of the vehicle (robot) then the PID error is very small, and It doesn't work as expected. specially when starting from zero.

So the push value is added to the error value to push the PID one step towards the target signal.

Finally: tuning this value depends on how fast do you want the system to respond to acceleration and braking.
Start with small value such as max_speed / 10.0 then move up.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@osholsonel20
Comment options

Comment options

You must be logged in to vote
1 reply
@osholsonel20
Comment options

Answer selected by maxime-clem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
3 participants