Pedro Pathing 2.0.0 has released! If you haven't already, migrate now.
Pedro Pathing LogoPedro Pathing
Tuning/Drive Algorithm/Predictive

What is Predictive Braking?

Instead of relying on a manually tuned derivative term to prevent overshoot, this controller predicts how far the robot will slide if it brakes using a small negative voltage. It uses the predicted braking distance to anticipate positional error, effectively treating it as reaction time. This allows the robot to brake precisely when needed, maximizing deceleration and accuracy.

Learn more about Predictive Braking: http://pedropathing.com/docs/pathing/reference/predictive

Why use Predictive Braking?

Using this method, a world-record autonomous was achieved, and many other teams' autos were also sped up by ~15%, all while automatically tuning in a few minutes.

Predictive Braking is a new, optional algorithm for following paths that replaces the old translational and drive PIDFs.

The old PIDFs are still supported, but predictive braking is much easier to tune because the algorithm automatically tunes and maximizes the deceleration speed and accuracy of your robot.

Predictive Braking Autonomous Example

Last updated on