Stage 10: Artifact Capacity and Interlocks
Finish ArtifactSensors.java, then use its state to coordinate Intake, Transfer, and Launcher. The robot may control at most three artifacts at once.
Your Task
- Map the storage sensors in
ArtifactSensors.init()and read them inupdate(). - Count sensor transitions rather than counting every loop where a sensor remains active.
- Clamp or guard the stored count from zero through three.
- Expose
hasCapacity()and a ready-artifact query. - Stop intake or transfer when storage is full, and launch only when an artifact is ready.
Coding Challenge Simulator
Telemark Unit 11 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.