10 / Trajectories, Actions, and MeepMeep
MeepMeep Preview
Use MeepMeep to reason about path shape before running on the robot.
10 / Trajectories, Actions, and MeepMeep
Use MeepMeep to reason about path shape before running on the robot.
You will
This lesson is about planned robot motion using Road Runner 1.0. Students should understand that trajectories depend on tuning, localization, starting pose, and action composition. Road Runner is powerful, but it only works as well as the robot model underneath it.
MeepMeep helps students visualize path shape, field collisions, and sequence timing. It does not prove the robot is tuned or localized correctly.
Field time is precious. A quick simulation review catches obvious path problems before the robot is on carpet and teammates are waiting.
Use small validation steps: create the drive, set the start pose, run a short action, validate localization, then add more complex paths. Mechanisms and vision should be composed as actions only after the drive path works alone.
For this specific lesson, students should first restate the goal in robot terms, then identify the value or behavior they expect to observe, then run the smallest test that proves the idea. The lesson should feel like a guided lab: predict, run, observe, explain, and only then extend.
MeepMeepPath.java · Java
RoadRunnerBotEntity bot = new DefaultBotBuilder(meepMeep)
.setConstraints(45, 45, Math.toRadians(180), Math.toRadians(180), 14)
.build();
bot.runAction(bot.getDrive().actionBuilder(new Pose2d(12, -63, Math.toRadians(90)))
.lineToY(-36)
.strafeTo(new Vector2d(48, -36))
.build());Road Runner failures should be separated into layers. If pose is wrong, fix localization. If straight motion is wrong, revisit tuning. If the path is risky, simplify or preview it. If the full auto fails, inspect the selected branch, active action, pose, mechanism state, and finish condition.
Check your understanding
What is MeepMeep best used for?
0 of 1 answered
References
Finished reading?
You'll move on to “Full Road Runner Autonomous” next.