ElectroDromosElectroDromos

Pedro Pathing,

ElectroDromos is an add-on for Pedro Pathing. You keep Pedro's follower, paths and tune; it adds voltage compensation, a loop timer and write-caching mechanism motors on top.

Two lines in your Constants. Pedro's tune stays valid.

// Pedro Pathing's follower, with ElectroDromos on top
public static Follower create(HardwareMap h) {
  Dromos dromos = new Dromos(h, dromosConfig);
  return new Follower(
    dromos.localizer(new PinpointLocalizer(h, localizerConfig)),
    dromos.drivetrain(new Mecanum(h, drivetrainConfig)),
    new Foresight(foresightConfig)
  );
}

follower.follow(cycle);  // same Pedro path, any battery
Same path, three batteries
Battery
Path startEnd
Battery
11.9 V
voltageScale
1.06×
Without
94% of tuned speed
With ElectroDromos
100% of tuned speed

Illustration with nominalVoltage 12.6 V, assuming speed tracks voltage; not measured robot data.

What ElectroDromos adds

Built on Pedro Pathing by the Pedro Pathing team. ElectroDromos is made by ElectroLights 30686 and isn't affiliated with Pedro Pathing.