How decagonatorftc-26/ftcrobotcontroller works
This is the FTC Android Robot Controller application and its team-facing examples, used to run a competition robot. The principal workflow is an operator launching the controller, configuring or selecting an OpMode, then running robot code that reads inputs and controls configured hardware. The README also documents Blocks, OnBot Java, and Android Studio as programming routes, and the samples cover teleop, autonomous, sensors, and vision. The sampled controller activity shows setup and registration touchpoints; several runtime subsystems are represented by their existing directories because their implementation was not excerpted.
Main entry points: FtcRobotControllerActivity.java Controller activity · internal OpMode runtime · FtcOpModeRegister.java OpMode registration · samples Telemetry and feedback
Components 16
Controller app
- Controller activity
FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/internal/FtcRobotControllerActivity.java - Permission gate
FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/internal/PermissionValidatorWrapper.java - Robot controller service
FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/internal - Robot configuration
FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/internal
Programming and modes
- Blocks programming
FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/internal - OnBot Java
FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/internal - Team OpModes
TeamCode/src/main/java/org/firstinspires/ftc/teamcode - OpMode registration
FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/internal/FtcOpModeRegister.java
Robot operation
- OpMode runtime
FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/internal - Robot hardware
FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/internal - Telemetry and feedback
FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/external/samples
Examples and utilities
- Sample OpModes
FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/external/samples - Hardware test utility
FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/external/utilities/UtilityTestHardware.java - Gamepad test utility
FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/external/utilities/UtilityTestGamepad.java
Other components
- Robot operator
- Driver Station
Connections 18
- Robot operator → Controller activity: launches
README.md - Controller activity → Permission gate: checks permissions
FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/internal/FtcRobotControllerActivity.java - Permission gate → Controller activity: starts after validation
FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/internal/PermissionValidatorWrapper.java - Controller activity → Robot controller service: binds service
FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/internal/FtcRobotControllerActivity.java - Controller activity → Robot configuration: loads active config
FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/internal/FtcRobotControllerActivity.java - Controller activity → OpMode registration: creates register
FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/internal/FtcRobotControllerActivity.java - Controller activity → Blocks programming: sets Blocks context
FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/internal/FtcRobotControllerActivity.java - Controller activity → OnBot Java: initializes helper
FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/internal/FtcRobotControllerActivity.java - Driver Station → Robot controller service: controls remotely
README.md - Team OpModes → OpMode registration: provides OpModes
- OpMode registration → OpMode runtime: registers modes
FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/internal/FtcRobotControllerActivity.java - OpMode runtime → Robot hardware: operates devices
README.md - OpMode runtime → Telemetry and feedback: reports status
- Sample OpModes → Robot hardware: demonstrates control
README.md - Hardware test utility → Robot hardware: tests devices
FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/external/utilities/UtilityTestHardware.java - Hardware test utility → Telemetry and feedback: reports readings
FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/external/utilities/UtilityTestHardware.java - Gamepad test utility → Telemetry and feedback: displays controls
FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/external/utilities/UtilityTestGamepad.java - Driver Station → Gamepad test utility: provides gamepads