LESSON 01 / 06
FTC programming and the SDK
Understand how Java code, the FTC SDK, and an OpMode work together.
Learning Objectives
- Describe the role of the FTC SDK
- Identify the lifecycle of an OpMode
- Separate configuration, hardware, and behavior
Explanation
FTC programming is the practice of turning a robot plan into repeatable instructions. The SDK provides Java classes that let an OpMode read sensors, command actuators, send telemetry, and respond to the driver station. Start by reading the official SDK and programming guides, then treat every OpMode as a small, testable experiment.
Example
// Conceptual structure
class TeleOpMode extends LinearOpMode {
public void runOpMode() {
// map hardware, wait for start, then loop
}
}Try It
Sketch the three phases of an OpMode—initialize, wait, and run—and list one question you would answer with telemetry in each phase.
