Road Runner 1.0 Install and Drive Class
Set up the drive class without old 0.5 assumptions.
Set up the drive class without old 0.5 assumptions.
In this lesson, you will:
Road Runner 1.0 centers autonomous around drive classes and actions. The first goal is not a full auto; it is a correctly configured drive class that can estimate pose and run a tiny action.
The drive class is infrastructure. It owns drivetrain motors, localizer, pose estimate, and path-following behavior. Mechanisms should be separate actions or subsystems.
Open the correct drive class, match motor names, set IMU orientation, choose localizer, and run the direction debugger before any path test.
RRStart.javaJava
MecanumDrive drive = new MecanumDrive(hardwareMap, new Pose2d(0, 0, 0)); Action test = drive.actionBuilder(new Pose2d(0, 0, 0)).lineToX(12).build(); Actions.runBlocking(test);
If a short action fails, inspect hardware names, motor directions, encoder signs, and start pose. Do not debug a full spline before basic setup works.
Check your understanding before moving on.
Which result best demonstrates completion of “Road Runner 1.0 Install and Drive Class”?
Why record the test setup, prediction, and observed result?
0 of 2 answered
Mark this lesson complete — “Road Runner Feedforward Tuning” is up next.