Create a TeleOp with a separate bindings file
create_teleopCreate a TeleOp OpMode with separate controller bindings file so drivers can remap buttons without modifying robot logic. Define drivetrain, subsystems, button actions with hold/press/toggle modes, and optional slow mode.
Instructions
Generate a TeleOp OpMode PLUS a separate Controls.java that holds only the controller bindings, so a driver can remap buttons without touching robot logic or an LLM. Describe the drivetrain, which subsystems to use, button actions (hold/press/toggle → subsystem calls), an optional slow mode, and named automations (multi-step or sensor-driven behaviors, which are scaffolded as stub methods to fill in).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| drive | No | Drivetrain wiring (default: mecanum). pedro* requires install_pedro. | |
| group | No | OpMode group / package group (default: Competition) | |
| dryRun | No | Validate and preview the TeleOp and bindings files without writing them | |
| actions | No | ||
| slowMode | No | ||
| className | Yes | TeleOp class name, e.g. CompTeleOp | |
| overwrite | No | ||
| opModeName | No | Driver Station display name (default: class name) | |
| subsystems | No | Subsystem class names to construct (must already exist) | |
| automations | No | ||
| packageName | No | ||
| projectPath | No | Path to the FtcRobotController SDK project. Defaults to $FTC_TOOLCHAIN_PROJECT_DIR, then the workspace clone made by create_project. |