Docs FTC Integration

FTC Integration

SafeOpMode, HardwareActions, SafeDevice, SafeHardwareMap, GamepadAdaptor.

FTC Integration

These are the types you touch in every OpMode. They are the glue between the FTC SDK lifecycle and the orchestrator.

  • SafeOpMode — the base class. Creates the orchestrator, gives you five lifecycle hooks, and enforces the hardware-thread rule on every loop().
  • HardwareActions — the facade over the hardware thread: run, call, callAsync, bulkRead.
  • SafeDevice — a typed wrapper that routes one device’s calls through the hardware thread. Also covers SafeHardwareMap.
  • GamepadAdaptor — publishes every gamepad button and axis onto topics at 60 Hz.