Skip to main content
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.

Advanced
6Live Lessons
0Completed
Not StartedCurrent Status

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.

Skip Ahead