Skip to main content

Unit 13: OOP & Inheritance

Structure competition code with encapsulation, inheritance, and composition so mechanisms can be reused and hardware changes stay contained.

Advanced
10Lessons
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.
Build Intake, Lift, RobotHardware, and CompetitionTeleOp as a reusable multi-file project for TeleOp and autonomous.
Review the sequence and goals here, then resume at your first incomplete lesson.

Already know this unit?

Complete the comprehensive coding challenge to prove every unit objective and jump directly to Unit 14: Computer Vision.

Take the Coding Challenge →

Stuck on this lesson?

Ask about anything on this page. It can see which lesson you have open and which part you are reading.