Stage 6: Subsystem Hardware Mapping
The project adds Launcher.java and ArtifactSensors.java. This is also the point where every device lookup moves out of the OpMode and into the class that owns that hardware.
Your Task
- Give Drivetrain, Intake, Transfer, Launcher, and ArtifactSensors an
init(HardwareMap)method. - Map each device inside its owning subsystem with names from
RobotConfig. - Keep the launcher flywheel private.
- Track artifact storage state inside ArtifactSensors.
- Initialize the subsystem objects from
CompetitionTeleOp.init()and delegate driver commands fromloop(). - Remove all
hardwareMap.get()calls fromCompetitionTeleOp.
The OpMode should coordinate the mechanism, not repeat its mapping details.
Coding Challenge Simulator
Telemark Unit 7 Comprehensive Coding Challenge
The editor opens your saved cumulative DECODE project and adds only the files introduced by this stage.
Use Init and Start to check every unit objective. Passing every check demonstrates full unit mastery.
Complete the stage across its file tabs. The requirement panel checks the compiled project, and a passing stage saves a read-only snapshot.
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.