Stage 14: Full Sensor-Fused Autonomous
The project adds FullAutonomous.java and keeps every file built in the TeleOp stages. Earlier passing snapshots remain available for reference, copying, and export.
Opening this stage loads the same browser project automatically, appends FullAutonomous.java only when it is missing, and selects it as the runnable entry point. CompetitionTeleOp.java remains in the project unchanged, so autonomous integration never costs you the working driver-controlled program.
Your Task
- Map Limelight 3A as
"limelight", select its pipeline, and start it. - Create a Pedro Pathing
Followerand establish a startingPose. - Build a compound Pedro 3
Pathwith bothline()andcurve(). - Compose path and mechanism actions with an Ivy
Commandgroup. - Call
follower.update(),robot.update(), andScheduler.execute()on every active loop. - Validate each
LLResultbefore using it, then fuse a valid global pose back into the Follower. - Create and initialize one
RobotHardwareobject. Callrobot.update()every cycle and coordinate launcher, transfer, and intake through public subsystem methods. - Keep raw mechanism hardware access inside subsystem files.
- Report path, state, and vision status, then call
robot.stopAll(), close Vision, and stop the Limelight during cleanup.
No command may block the loop. Use Ivy's waitMs() or waitUntil() instead of sleep(). Vision loss and an active follower must both be handled as expected operating conditions.
Coding Challenge Simulator
Passed every challenge check?
Mark the unit mastered to record every lesson objective and continue directly to the next unit. Your progress will be saved in this browser.
Stuck on this lesson?
Ask about anything on this page. It can see which lesson you have open and which part you are reading.