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.
Check your understanding before moving on.
Which result best demonstrates completion of “Capstone: Reusable RobotHardware Template”?
Why record the test setup, prediction, and observed result?
0 of 2 answered
Mark this lesson complete — “Capstone: Profiled Arm Tuning Report” is up next.