Skip to content

Add FRC robot throughline story across lessons - #32

Open
tytremblay wants to merge 1 commit into
mainfrom
feat/robot-throughline-story
Open

tytremblay wants to merge 1 commit into
mainfrom
feat/robot-throughline-story

Conversation

@tytremblay

Copy link
Copy Markdown
Contributor

Summary

  • Adds a light-touch throughline across the curriculum following an FRC robot from first boot on the workbench through mechanisms, practice-field navigation, match state machines, and competition-ready code.
  • Replaces remaining non-robot examples with FRC robot and match examples without changing the core concepts or exercises taught in any lesson:
    • Lessons 5–11 (Python Fundamentals): robot strings, pre-match startup checklist, robot_name = "Red Hawk", FMS match_text, battery/coral/match-tier/motor-direction if/elif/else, control-loop ticks and autonomous countdown, and check_systems() / add_leave_bonus().
    • Lesson 15 (Sets): replaces "red"/"blue"/"green" alliances with FRC field zones ("loading_zone", "scoring_zone", "climb_zone").
    • Lessons 20–22 & statePresets.ts: replaces the traffic light demo (RED → GREEN → YELLOW, LightState) with FRC match modes (DISABLED → AUTO → TELEOP, MatchMode, plus ENDGAME in the exercise).
    • Lesson 31 (Lambdas): updates the exercise comparison hint to a battery voltage check.
  • Adds brief section-transition tie-ins in LessonIndex.tsx, lessons 1, 12, 26, 35, and algorithms.

Verification

  • Ran all 46 Python snippets across the 13 edited lessons under python3 -I (0 failures).
  • Ran npm run lint and npm run build in site/ (passed).

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant