# dolphindasher324/23476-firewall_forest architecture

> Architecture diagram of the GitHub repository dolphindasher324/23476-firewall_forest, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-01). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/dolphindasher324/23476-firewall_forest
- Repository: https://github.com/dolphindasher324/23476-firewall_forest

## Overview

This is the FTC CENTERSTAGE Android robot-control app and a team’s OpMode code. The main team workflow is selecting an autonomous OpMode, waiting for Driver Station start, using TensorFlow detections to choose a location, then executing robot actions. The repository also includes the FTC controller app, sample OpModes, and Blocks/OnBot Java programming support. Source excerpts show the controller’s permission and OpMode-registration setup and one autonomous-to-helper relationship; other runtime links are omitted where implementation was not shown.

Main entry points: [`FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/internal/FtcRobotControllerActivity.java`](https://github.com/dolphindasher324/23476-firewall_forest/blob/master/FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/internal/FtcRobotControllerActivity.java) (Controller activity), [`TeamCode/src/main/java/org/firstinspires/ftc/teamcode/utils/PlaceLinePixel.java`](https://github.com/dolphindasher324/23476-firewall_forest/blob/master/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/utils/PlaceLinePixel.java) (Pixel and movement logic), [`TeamCode/src/main/java/org/firstinspires/ftc/teamcode/autocode`](https://github.com/dolphindasher324/23476-firewall_forest/tree/master/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/autocode) (Autonomous routines), [`FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/external/samples`](https://github.com/dolphindasher324/23476-firewall_forest/tree/master/FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/external/samples) (Vision examples)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_controller["Robot Controller"]
  node_activity["Controller activity"]
  node_permissions["Permission validation"]
  node_registration["OpMode registration"]
end

subgraph group_team["Team OpModes"]
  node_autonomous["Autonomous routines"]
  node_pixelhelper["Pixel and movement logic"]
  node_drivemodes["Drive OpModes"]
  node_alexmodes["Alex OpModes"]
  node_othermodes["Other OpModes"]
end

subgraph group_vision["Vision and Sensors"]
  node_visionexamples["Vision examples"]
  node_detection["Object detection"]
  node_sensorexamples["Sensor examples"]
end

subgraph group_programming["Programming Tools"]
  node_blocks["Blocks programming"]
  node_onbot["OnBot Java"]
end

node_driver(("Driver Station user"))
node_robot["Robot hardware"]
node_camera["Camera and vision runtime"]

node_driver -.->|"operates"| node_activity
node_activity -->|"validates permissions"| node_permissions
node_activity -->|"creates register"| node_registration
node_driver -.->|"starts OpMode"| node_autonomous
node_autonomous -->|"inherits and calls"| node_pixelhelper
node_pixelhelper -->|"controls hardware"| node_robot
node_pixelhelper -.->|"initializes detection"| node_camera
node_visionexamples -.->|"uses vision"| node_camera
node_sensorexamples -.->|"reads sensors"| node_robot
node_driver -->|"programs with"| node_blocks
node_driver -->|"programs with"| node_onbot

click node_activity "https://github.com/dolphindasher324/23476-firewall_forest/blob/master/FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/internal/FtcRobotControllerActivity.java"
click node_permissions "https://github.com/dolphindasher324/23476-firewall_forest/blob/master/FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/internal/PermissionValidatorWrapper.java"
click node_registration "https://github.com/dolphindasher324/23476-firewall_forest/blob/master/FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/internal/FtcOpModeRegister.java"
click node_autonomous "https://github.com/dolphindasher324/23476-firewall_forest/tree/master/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/autocode"
click node_pixelhelper "https://github.com/dolphindasher324/23476-firewall_forest/blob/master/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/utils/PlaceLinePixel.java"
click node_drivemodes "https://github.com/dolphindasher324/23476-firewall_forest/tree/master/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/drivecode"
click node_alexmodes "https://github.com/dolphindasher324/23476-firewall_forest/tree/master/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/alex"
click node_othermodes "https://github.com/dolphindasher324/23476-firewall_forest/tree/master/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/other"
click node_visionexamples "https://github.com/dolphindasher324/23476-firewall_forest/tree/master/FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/external/samples"
click node_detection "https://github.com/dolphindasher324/23476-firewall_forest/blob/master/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/utils/ObjectDetection.java"
click node_sensorexamples "https://github.com/dolphindasher324/23476-firewall_forest/tree/master/FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/external/samples"
click node_blocks "https://github.com/dolphindasher324/23476-firewall_forest/tree/master/FtcRobotController"
click node_onbot "https://github.com/dolphindasher324/23476-firewall_forest/tree/master/FtcRobotController"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_activity,node_permissions,node_registration,node_driver toneBlue
class node_autonomous,node_pixelhelper,node_drivemodes,node_alexmodes,node_othermodes toneAmber
class node_visionexamples,node_detection,node_sensorexamples toneMint
class node_blocks,node_onbot toneRose
class node_robot,node_camera toneIndigo
```

## Components

### Robot Controller

- [Controller activity](https://github.com/dolphindasher324/23476-firewall_forest/blob/master/FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/internal/FtcRobotControllerActivity.java): `FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/internal/FtcRobotControllerActivity.java`
- [Permission validation](https://github.com/dolphindasher324/23476-firewall_forest/blob/master/FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/internal/PermissionValidatorWrapper.java): `FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/internal/PermissionValidatorWrapper.java`
- [OpMode registration](https://github.com/dolphindasher324/23476-firewall_forest/blob/master/FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/internal/FtcOpModeRegister.java): `FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/internal/FtcOpModeRegister.java`

### Team OpModes

- [Autonomous routines](https://github.com/dolphindasher324/23476-firewall_forest/tree/master/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/autocode): `TeamCode/src/main/java/org/firstinspires/ftc/teamcode/autocode`
- [Pixel and movement logic](https://github.com/dolphindasher324/23476-firewall_forest/blob/master/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/utils/PlaceLinePixel.java): `TeamCode/src/main/java/org/firstinspires/ftc/teamcode/utils/PlaceLinePixel.java`
- [Drive OpModes](https://github.com/dolphindasher324/23476-firewall_forest/tree/master/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/drivecode): `TeamCode/src/main/java/org/firstinspires/ftc/teamcode/drivecode`
- [Alex OpModes](https://github.com/dolphindasher324/23476-firewall_forest/tree/master/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/alex): `TeamCode/src/main/java/org/firstinspires/ftc/teamcode/alex`
- [Other OpModes](https://github.com/dolphindasher324/23476-firewall_forest/tree/master/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/other): `TeamCode/src/main/java/org/firstinspires/ftc/teamcode/other`

### Vision and Sensors

- [Vision examples](https://github.com/dolphindasher324/23476-firewall_forest/tree/master/FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/external/samples): `FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/external/samples`
- [Object detection](https://github.com/dolphindasher324/23476-firewall_forest/blob/master/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/utils/ObjectDetection.java): `TeamCode/src/main/java/org/firstinspires/ftc/teamcode/utils/ObjectDetection.java`
- [Sensor examples](https://github.com/dolphindasher324/23476-firewall_forest/tree/master/FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/external/samples): `FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/external/samples`

### Programming Tools

- [Blocks programming](https://github.com/dolphindasher324/23476-firewall_forest/tree/master/FtcRobotController): `FtcRobotController`
- [OnBot Java](https://github.com/dolphindasher324/23476-firewall_forest/tree/master/FtcRobotController): `FtcRobotController`

### Other components

- **Driver Station user**
- **Robot hardware**
- **Camera and vision runtime**

## Connections

- Driver Station user → Controller activity: operates (evidence: `README.md`)
- Controller activity → Permission validation: validates permissions (evidence: `FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/internal/FtcRobotControllerActivity.java`)
- Controller activity → OpMode registration: creates register (evidence: `FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/internal/FtcRobotControllerActivity.java`)
- Driver Station user → Autonomous routines: starts OpMode (evidence: `TeamCode/src/main/java/org/firstinspires/ftc/teamcode/autocode/RedAuto1.java`)
- Autonomous routines → Pixel and movement logic: inherits and calls (evidence: `TeamCode/src/main/java/org/firstinspires/ftc/teamcode/autocode/RedAuto1.java`)
- Pixel and movement logic → Robot hardware: controls hardware (evidence: `TeamCode/src/main/java/org/firstinspires/ftc/teamcode/utils/PlaceLinePixel.java`)
- Pixel and movement logic → Camera and vision runtime: initializes detection
- Vision examples → Camera and vision runtime: uses vision
- Sensor examples → Robot hardware: reads sensors
- Driver Station user → Blocks programming: programs with (evidence: `README.md`)
- Driver Station user → OnBot Java: programs with (evidence: `README.md`)
