WestlakeLEARN
FTC / Java

First Tech Challenge

FTC / Java

01 · Java for FTC
  • OpMode Anatomy and Hello Robot
  • Variables, Math, and Decisions
  • Methods, Classes, and Robot Helpers
02 · FTC Hardware Essentials
  • Hardware Map and RobotHardware
  • Motors, Servos, and Sensors
  • IMU, Encoders, and Bulk Caching
03 · TeleOp and Mecanum
  • Robot-Centric Mecanum Drive
  • Field-Centric Driving
  • Driver Ergonomics and Safe TeleOp
04 · Subsystems and Commands
  • Subsystem Lifecycle
  • Enums and Finite State Machines
  • Command-Based OpModes
05 · From Timed Steps to Actions
  • Timed and Encoder Autonomous
  • Autonomous State Machines
  • Actions and Sequencing
06 · PID and Feedforward
  • PID Basics
  • Feedforward and PIDF
  • Dashboard Tuning Workflow
07 · Motion Profiling
  • Motion Profile Concepts
  • Implementing a Profiled Mechanism
  • Testing Profiles and Failure Modes
08 · OpenCV and AprilTags
  • VisionPortal Camera Setup
  • OpenCV Color and Region Processors
  • AprilTags and Field Pose
09 · Setup and Tuning
  • Road Runner 1.0 Install and Drive Class
  • Feedforward Tuning
  • Localization and Validation
10 · Trajectories, Actions, and MeepMeep2/3
  • Action Builder and Trajectories
  • MeepMeep Preview
  • Full Road Runner Autonomous
11 · Git, Debugging, and Competition Readiness
  • Git Workflow for FTC Teams
  • Telemetry-First Debugging
  • Competition Readiness Checklist
12 · Driver Control
  • Driver Control
13 · Autonomous Build
  • Simple Autonomous
14 · Debugging
  • Debugging with Telemetry

10 / Trajectories, Actions, and MeepMeep

MeepMeep Preview

Use MeepMeep to reason about path shape before running on the robot.

60 minRoad RunnerTrajectories, Actions, and MeepMeep

You will

  1. 01Preview planned field motion outside the robot.
  2. 02Use simulation to discuss path risk.
  3. 03Keep simulation and robot constants aligned enough to be useful.

Why MeepMeep Preview matters

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.

Starting point

Simulation is for thinking, not proof

MeepMeep helps students visualize path shape, field collisions, and sequence timing. It does not prove the robot is tuned or localized correctly.

Preview before field time

Field time is precious. A quick simulation review catches obvious path problems before the robot is on carpet and teammates are waiting.

Build path

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());

Debugging and failure modes

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.

Practice

Preview one autonomous path in MeepMeep and mark any field collisions or risky close passes in your notebook.

Checks

  • The displayed field side matches the intended alliance/start.
  • The robot footprint avoids field elements.
  • The team still validates the path slowly on the real robot.

Check your understanding

Module check

What is MeepMeep best used for?

0 of 1 answered

References

Road Runner 1.0 DocsRoad Runner 1.0 installation, tuning, actions, and trajectory reference.

Finished reading?

Mark this lesson complete.

You'll move on to “Full Road Runner Autonomous” next.

Action Builder and TrajectoriesFull Road Runner Autonomous