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:
- Make the utility class
finalwith a private constructor. - Add
static final Stringhardware names. - Add
doubleconstants for mechanism power, joystick deadzone, and target flywheel velocity. - Represent mechanism state with appropriate
booleanandintvalues. - Read at least one configuration value from
CompetitionTeleOpso 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.