Number 15

ElectroDromos

An add-on for Pedro Pathing that makes FTC robots follow paths the same way on a fresh battery or a tired one.

In progressRoboticsSoftware2026–now
Role
Sole developer. Wrote the library, its tuner and test OpModes, the docs site, and planned ElectroTelos, its sibling for Ivy.
Built with
  • Java
  • Pedro Pathing
  • Gradle
  • Next.js
  • MDX
Started
Sep 2026
Finished
Still going

Story

Pedro Pathing is the path follower most FTC teams use. It’s tuned at one battery voltage, so as the battery drains over a practice session, the same path drives a little differently. I wanted that to stop mattering without asking teams to give up stock Pedro.

ElectroDromos is a supplement, not a fork. You keep Pedro’s own new Follower(...) and its tuners, and add two lines to your Constants. It’s at 0.0.1-PreAlpha: it builds and passes its unit tests, but it hasn’t run on a real robot yet. The test plan is written, and ElectroDokimi, a copy of the Pedro Quickstart with ElectroDromos set up, has the test OpModes ready.

How it works

ElectroDromos wraps the localizer and drivetrain you hand to Pedro’s follower and adds:

  • Voltage compensation: path following drives the same on a fresh or a tired battery.
  • Loop timer: loop Hz, average and worst loop time, for about 50 ns per loop.
  • DromosMotor: a mechanism motor that skips hub writes that wouldn’t change anything.
  • Voltage Compensation Tuner: an AutoTune step that finds nominalVoltage for you.
Dromos dromos = new Dromos(h, dromosConfig);
return new Follower(
    dromos.localizer(new PinpointLocalizer(h, localizerConfig)),
    dromos.drivetrain(new Mecanum(h, drivetrainConfig)),
    new Foresight(foresightConfig)
);

Things that belong to the OpMode rather than the path follower, like bulk caching, are moving to ElectroTelos, a matching supplement for Pedro’s command library, Ivy.

Devlog