Skip to main content

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

  1. Give Drivetrain, Intake, Transfer, Launcher, and ArtifactSensors an init(HardwareMap) method.
  2. Map each device inside its owning subsystem with names from RobotConfig.
  3. Keep the launcher flywheel private.
  4. Track artifact storage state inside ArtifactSensors.
  5. Initialize the subsystem objects from CompetitionTeleOp.init() and delegate driver commands from loop().
  6. Remove all hardwareMap.get() calls from CompetitionTeleOp.

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.