Skip to main content

Stage 2: Shared Robot Configuration

Your saved DECODE project now adds RobotConfig.java without changing CompetitionTeleOp.java. Use the earlier passing snapshot when you need a lifecycle refresher.

Your Task

Turn RobotConfig into the single source of truth for values later subsystems will share:

  1. Make the utility class final with a private constructor.
  2. Add static final String hardware names.
  3. Add double constants for mechanism power, joystick deadzone, and target flywheel velocity.
  4. Represent mechanism state with appropriate boolean and int values.
  5. Read at least one configuration value from CompetitionTeleOp so the constant is actually used.

Choose clear names and keep each value as a single source of truth.

Coding Challenge Simulator

Telemark Unit 3 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.