WestlakeLEARN
FTC · Java

FIRST Tech Challenge

FTC · Java

  • Capstone: Reusable RobotHardware Template
  • Capstone: Profiled Arm Tuning Report
  • Capstone: Vision-Selected Road Runner Auto

Capstone: Reusable RobotHardware Template

Produce the team hardware foundation for the season.

Module 15: Season Robot CapstonesCapstone

In this lesson, you will:

  1. 01Map every current device.
  2. 02Document names and directions.
  3. 03Provide safe helpers.

Concept narrative

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.

Robot mental model

The robot should have one source of hardware truth. OpModes should not argue about motor names or directions.

Implementation walkthrough

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);
}

Common mistakes and debugging

If a future OpMode remaps hardware independently, the capstone has failed. If the class becomes a dumping ground for mechanism logic, split subsystems.

Practice

Create the season RobotHardware template and review it with electrical/build students.

Checkpoint

  • All devices are documented.
  • Drive stop helper works.
  • No duplicate hardware mapping remains.
  • The test record includes the setup, prediction, and observed result.
  • A teammate can repeat the check from the saved evidence without guessing.

Reflection check

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

References

FIRST FTC DocsOfficial SDK, Robot Controller, and programming reference.Learn Java for FTCFTC-focused Java book and exercises by Alan G. Smith.Game Manual 0FTC community reference for programming, controls, and robot design.

Finished reading?

Mark this lesson complete — “Capstone: Profiled Arm Tuning Report” is up next.

Competition Code Freeze and Recovery WorkflowCapstone: Profiled Arm Tuning Report