PathPlanner named commands allowDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/robototes/REBUILT2026/llms.txt
Use this file to discover all available pages before exploring further.
.auto files to trigger robot actions by string name. REBUILT 2026 registers three named commands — launch, intake, and climb — in AutoLogic.registerCommands(), which is called as the first step of AutoLogic.initCommandsAndPaths().
Registered commands
| Name | Real Robot | Simulation |
|---|---|---|
launch | launcherCommand() | launcherSimCommand() |
intake | intakeCommand() | intakeCommand() |
climb | climbCommand() (no-op) | climbCommand() (no-op) |
registerCommands() source
registerCommands() is intentionally called inside initCommandsAndPaths() before initPaths(). PathPlanner requires that all named commands are registered before any .auto file that references them is loaded. Never call initPaths() directly, as this ordering guarantee would be lost.launch — real robot
launcherCommand() is a parallel command group that aims the launcher, waits for the flywheel to reach target speed, then runs the indexer to feed the game piece. It times out after 4.5 seconds and stows the launcher regardless of outcome.
flywheels.resetFuelCheck()— clears the “out of fuel” flag before the shot.launcherAimCommand()— runs concurrently, continuously updating hood and turret to track the target.waitUntil(isAtTarget).andThen(runIndexer(...))— waits for the launcher to reach its aim setpoint before feeding the indexer..withTimeout(4.5)— the entire parallel group is cancelled after 4.5 s to prevent auto overruns..andThen(rawStowCommand())— the launcher is stowed after the shot (or timeout).
launch — simulation
launcherSimCommand() replaces the real launcher sequence in simulation with a two-step sequence: first align the drivebase toward the hub, then simulate a fuel launch for 3 seconds.
intake
intakeCommand() is a single runOnce that sets Controls.intakeMode to IntakeMode.INTAKE. The intake subsystem’s default command then picks up the mode change and runs the intake rollers for the remainder of the path segment.
climb
climbCommand() is a no-op placeholder. The climb mechanism is not automated for the 2026 season.
.auto file JSON format
Named commands are referenced in.auto files using a "named" command type node. Below is an annotated excerpt from C-Outpost-Depot.auto showing how intake and launch are embedded:
.auto JSON schema:
"type": "named"— tells PathPlanner to look up the command by the string in"name"from theNamedCommandsregistry."type": "deadline"— runs all child commands until the first one finishes (here: paths run until complete,intakeruns concurrently and is cancelled when the path ends)."type": "sequential"— runs child commands one after another."resetOdom": true— PathPlanner resets odometry to the auto’s starting pose when the auto begins."folder"— organises autos in the PathPlanner GUI (COMPfor match-ready,WIPfor in-development).
"named" node at runtime, it calls NamedCommands.getCommand("intake") (or whichever name is specified). If the command was not registered, PathPlanner substitutes a Commands.none() and logs a warning — which is why registration must happen before path loading.