Skip to lesson
Westlake RoboticsLearn
Vault

FIRST Tech Challenge

Loading progress…

  • Driver Control
  • Field-Centric Driving
  • Driver Ergonomics and Safe TeleOp
  • Write a Full Command-Based TeleOp

Driver Ergonomics and Safe TeleOp

Controls designed for real match pressure.

TeleOp and Driver ControlIntermediate

In this lesson, you will:

  • Use edge detection where appropriate.
  • Create slow modes and safe states.
  • Design around driver language.

Concept narrative

TeleOp is a human interface. Code quality is measured by whether drivers can repeat actions, recover from mistakes, and understand robot state under defense.

Robot mental model

A control map is a contract with the drive team. Buttons should match intent: hold for temporary behavior, tap for one-shot behavior, and reserve an obvious control for safe recovery.

Implementation walkthrough

Map controls with drivers present. Add edge detection for toggles, slow mode for precision, and a safe-state command that resets mechanisms to known positions.

TeleOpControls.javaJava

if (current.a && !previous.a) arm.goToDeposit();
if (current.touchpad_finger_1 && !previous.touchpad_finger_1) robot.safeState();
double scale = current.left_bumper ? 0.35 : 0.85;

Common mistakes and debugging

If drivers forget controls, the map is too clever. If holding a button restarts a command repeatedly, edge detection is missing. If safe state only works sometimes, it is not safe yet.

Practice

Run a mock match where one student calls out controls and another observes telemetry/state recovery.

Checkpoint

  • Driver can explain each control.
  • Safe state works from tested positions.
  • One-shot controls do not repeat while held.
  • 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 behavior belongs on a rising-edge control instead of a held control?
What makes a TeleOp safe-state control credible?

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.
Loading lesson progress
Previous lessonField-Centric DrivingNext lessonWrite a Full Command-Based TeleOp