Capstone: Reusable RobotHardware Template
Produce the team hardware foundation for the season.
Produce the team hardware foundation for the season.
In this lesson, you will:
This capstone turns hardware setup into a reusable team asset. The output should be a clean RobotHardware class plus a configuration table that future students can trust.
The robot should have one source of hardware truth. OpModes should not argue about motor names or directions.
Audit the robot configuration, create fields, initialize devices, set directions/modes, add hub caching, and provide stop/safe helpers.
RobotHardwareCapstone.javaJava
public void stopDrive() {
frontLeft.setPower(0);
frontRight.setPower(0);
backLeft.setPower(0);
backRight.setPower(0);
}If a future OpMode remaps hardware independently, the capstone has failed. If the class becomes a dumping ground for mechanism logic, split subsystems.
Create the season RobotHardware template and review it with electrical/build students.
Check your understanding before moving on.
0 of 2 answered