UNIT_13 // unit.overview
Unit 13: OOP & Inheritance
This unit teaches students to structure a competition robot codebase using object-oriented principles -- encapsulation, inheritance, method overriding, shared constants, and composition -- so that the project is maintainable, reusable, and resilient to last-minute hardware changes. Encapsulate mechanisms into classes, extend parent classes with inheritance, override behavior with @Override, manage shared constants, and architect a modular robot class with nested subsystems.
6Live Lessons
0Completed
Not StartedCurrent Status
Lesson Roadmap
13.1 · EncapsulationLesson 13.1: Encapsulating Component Logic into Mechanism ClassesOpen13.2 · InheritanceLesson 13.2: Extending Parent Classes for Modular Hardware SubsystemsOpen13.3 · @OverrideLesson 13.3: Overriding Behavior with @Override for Custom ImplementationsOpen13.4 · Static ConstantsLesson 13.4: Managing Shared Constants with the static KeywordOpen13.5 · Challenge: Robot ClassLesson 13.5: Challenge — Architecting a Modular Robot Class with Nested SubsystemsOpenUnit 13 · Mastery QuizUnit 13 Mastery Quiz: OOP & InheritanceOpen
What This Unit Covers
Encapsulate mechanism hardware and logic into private-member classes with clean public interfaces, eliminating duplicated code across OpModes.
Apply inheritance and @Override to build a family of specialized mechanisms from a shared parent, with the compiler enforcing correct implementation.
Architect a master robot class using composition so that every OpMode initializes and controls the entire robot through a single object.
Use this page to orient students quickly, resume the right lesson, or skip ahead without digging through the entire sidebar.
Need to skip ahead?
Sign in to mark every lesson in this unit complete, or continue to the next unit without saving.