ElectroDromos 0.0.1-PreAlpha
The first version of ElectroDromos builds and passes its tests, with docs to go with it. Next is a real robot.
Number 15
An add-on for Pedro Pathing that makes FTC robots follow paths the same way on a fresh battery or a tired one.
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.
ElectroDromos wraps the localizer and drivetrain you hand to Pedro’s follower and adds:
DromosMotor: a mechanism motor that skips hub writes that wouldn’t change anything.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.
The first version of ElectroDromos builds and passes its tests, with docs to go with it. Next is a real robot.