Stage 7: Safe Motor Configuration
Continue in Drivetrain.java and apply the motor-safety techniques from this unit to the cumulative drivetrain, intake, transfer, and launcher. The standalone lift lessons remain available as examples, but DECODE does not add a lift subsystem.
Your Task
- Correct installed motor directions with
setDirection(). - Select
RUN_USING_ENCODERwhere velocity feedback is needed. - Select
BRAKEwhere a mechanism must resist coasting. - Make every subsystem's
stop()method explicitly command zero power.
No subsystem may retain an old nonzero command after Stop.
Coding Challenge Simulator
Telemark Unit 8 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.