Pedro Pathing vs Road Runner
Pedro Pathing and RoadRunner are two popular autonomous movement libraries for FTC. The goal of this article is to provide an unbiased comparison to help you decide which to use. The goal of this article is not to recommend one over the other.
| Aspect | Pedro Pathing | RoadRunner |
|---|---|---|
| Following Strategy | Has two algorithms that can be chosen from. The PIDF algorithm uses three PID controllers: translational, heading, and drive, along with centripetal force correction1. The predictive braking algorithm uses an estimation of the required braking distance and a proportional controller, along with a PID controller for heading control2. | Generates and follows motion-profiled trajectories3 by using a combination of feedforward and feedback control4. |
| Visualizer | Has a no-code, web-based path generator and visualizer that can export code for paths. | Has a code-based path visualizer that visualizes paths defined in code. |
| Tuning | The predictive braking algorithm is mostly automatic with only one manual tuner5. The PIDF algorithm is half automatic and half manual. Has six automatic tuning steps and four manual tuning steps6, although the manual steps take slightly longer. | Mostly automatic. Has four automatic tuning steps and two manual tuning steps7, although the manual steps take slightly longer. If using the SparkFun OTOS for localization there are four additional automatic tuning steps. |
| Loop Time Optimizations | Automatically implements motor write caching with a configurable cache tolerance.8 | Automatically implements bulk reading.9 |
| Good At | Correction for unexpected disturbances.10 | Time-consistent trajectory following. |
| Coordinate System | Custom coordinate system. Provides a PoseConverter for converting to and from the official FIRST coordinate system. | Uses the official FIRST coordinate system. |
| Command System | Has an optional official external command system called Ivy. Can also be integrated with others. NextFTC and SolversLib both provide built-in integration with Pedro Pathing. Mercurial has two sample repos using Pedro Pathing. | Has a built-in actions system. Also has an example on the docs for usage with FTCLib. NextFTC provides built-in integration with RoadRunner. Mercurial has two sample repos using RoadRunner. |
| Logging | Automatically logs many values to telemetry, but does not log to a file. Data such as current position can be logged by the user by using a third-party library such as PsiKit for replay with AdvantageScope. | Logs many values automatically to telemetry and to a file during every OpMode run.11 Uses a custom log format that is supported by AdvantageScope. |
| Drivetrain Support | Has built-in support for mecanum and coaxial swerve drivetrains. Users can provide a custom implementation of the Drivetrain interface to use another drivetrain12, but does not support nonholonomic drivetrains such as tank. | Has built-in support for mecanum and tank drivetrains. Does not support any other drivetrains.13 |
This article was last modified:
On 2026-04-13 17:49:56 -05:00
By Davis Luxenberg
See it here:fa4b2b12e1b2970d6bdc04606cdf6653d981c4cb
-
RoadRunner trajectories: Although these docs are for RoadRunner v0.5, the concepts are the same for v1.0. ↩
-
Feedback and feedforward control docs. ↩