Tuning Accel / Decel Push Ratios #2920
-
How would you go about finding the right Acceleration push ratio and brake push ratio for your system? Is there a "calibration" procedure to get the right values? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
@osholsonel20 We have a calibration package here. But, it's kind of updating accel brake map rathar than initializing the map. So, if we use this calibration for initialization, the accuracy of the map is not so good. |
Beta Was this translation helpful? Give feedback.
-
@osholsonel20 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. |
Beta Was this translation helpful? Give feedback.
@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.