# rgabriel26/robo_sistem_autonom architecture

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

- Interactive diagram: https://gitdiagram.com/rgabriel26/robo_sistem_autonom
- Repository: https://github.com/rgabriel26/robo_sistem_autonom

## Overview

This repository contains several ESP32/ESP8266 Arduino firmware sketches: station firmware, camera experiments, and a robot controller. The tree identifies the sketches and camera variants, but their source was not sampled and the README is empty, so their runtime workflow and connections cannot be established. The sampled controller headers implement motor movement, antenna/Wi-Fi scanning, and arm motion; the antenna header explicitly includes the motor header. Other edges are limited to relationships visible in sampled code.

Main entry points: [`esp_controler/antena_control.h`](https://github.com/rgabriel26/robo_sistem_autonom/blob/master/esp_controler/antena_control.h) (Antenna Control), [`esp_controler/motoare.h`](https://github.com/rgabriel26/robo_sistem_autonom/blob/master/esp_controler/motoare.h) (Motor Control)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_stations["Station Firmware"]
  node_station_a["Station A<br/>[statia_a.ino]"]
  node_station_bc["Stations B C<br/>[statia_b_c.ino]"]
end

subgraph group_camera["Camera Firmware"]
  node_camera_detect_v2["Camera Detection V2<br/>[esp32_camera.ino]"]
  node_camera_collect["Image Collection"]
  node_camera_test_detect["Camera Detection Test<br/>[esp32_camera.ino]"]
end

subgraph group_controller["Robot Controller"]
  node_controller_sketch["Controller Sketch<br/>[esp_controler.ino]"]
  node_antenna["Antenna Control<br/>[antena_control.h]"]
  node_motors["Motor Control<br/>[motoare.h]"]
  node_arm["Arm Control<br/>[brat_control.h]"]
end

node_wifi_network(("Wi-Fi Network"))

node_antenna -->|"imports"| node_motors
node_antenna -->|"connects to"| node_wifi_network

click node_station_a "https://github.com/rgabriel26/robo_sistem_autonom/blob/master/esp_8266_statii/Statia_A/statia_a/statia_a.ino"
click node_station_bc "https://github.com/rgabriel26/robo_sistem_autonom/blob/master/esp_8266_statii/Statia_B_C/statia_b_c/statia_b_c.ino"
click node_camera_detect_v2 "https://github.com/rgabriel26/robo_sistem_autonom/blob/master/esp_cam/detect_v2/esp32_camera/esp32_camera.ino"
click node_camera_collect "https://github.com/rgabriel26/robo_sistem_autonom/blob/master/esp_cam/test_colect_data/Collect_Images_for_EdgeImpulse/Collect_Images_for_EdgeImpulse.ino"
click node_camera_test_detect "https://github.com/rgabriel26/robo_sistem_autonom/blob/master/esp_cam/test_detect/esp32_camera/esp32_camera.ino"
click node_controller_sketch "https://github.com/rgabriel26/robo_sistem_autonom/blob/master/esp_controler/esp_controler.ino"
click node_antenna "https://github.com/rgabriel26/robo_sistem_autonom/blob/master/esp_controler/antena_control.h"
click node_motors "https://github.com/rgabriel26/robo_sistem_autonom/blob/master/esp_controler/motoare.h"
click node_arm "https://github.com/rgabriel26/robo_sistem_autonom/blob/master/esp_controler/brat_control.h"

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_station_a,node_station_bc toneBlue
class node_camera_detect_v2,node_camera_collect,node_camera_test_detect toneAmber
class node_controller_sketch,node_antenna,node_motors,node_arm toneMint
class node_wifi_network toneIndigo
```

## Components

### Station Firmware

- [Station A](https://github.com/rgabriel26/robo_sistem_autonom/blob/master/esp_8266_statii/Statia_A/statia_a/statia_a.ino): `esp_8266_statii/Statia_A/statia_a/statia_a.ino`
- [Stations B C](https://github.com/rgabriel26/robo_sistem_autonom/blob/master/esp_8266_statii/Statia_B_C/statia_b_c/statia_b_c.ino): `esp_8266_statii/Statia_B_C/statia_b_c/statia_b_c.ino`

### Camera Firmware

- [Camera Detection V2](https://github.com/rgabriel26/robo_sistem_autonom/blob/master/esp_cam/detect_v2/esp32_camera/esp32_camera.ino): `esp_cam/detect_v2/esp32_camera/esp32_camera.ino`
- [Image Collection](https://github.com/rgabriel26/robo_sistem_autonom/blob/master/esp_cam/test_colect_data/Collect_Images_for_EdgeImpulse/Collect_Images_for_EdgeImpulse.ino): `esp_cam/test_colect_data/Collect_Images_for_EdgeImpulse/Collect_Images_for_EdgeImpulse.ino`
- [Camera Detection Test](https://github.com/rgabriel26/robo_sistem_autonom/blob/master/esp_cam/test_detect/esp32_camera/esp32_camera.ino): `esp_cam/test_detect/esp32_camera/esp32_camera.ino`

### Robot Controller

- [Controller Sketch](https://github.com/rgabriel26/robo_sistem_autonom/blob/master/esp_controler/esp_controler.ino): `esp_controler/esp_controler.ino`
- [Antenna Control](https://github.com/rgabriel26/robo_sistem_autonom/blob/master/esp_controler/antena_control.h): `esp_controler/antena_control.h`
- [Motor Control](https://github.com/rgabriel26/robo_sistem_autonom/blob/master/esp_controler/motoare.h): `esp_controler/motoare.h`
- [Arm Control](https://github.com/rgabriel26/robo_sistem_autonom/blob/master/esp_controler/brat_control.h): `esp_controler/brat_control.h`

### Other components

- **Wi-Fi Network**

## Connections

- Antenna Control → Motor Control: imports (evidence: `esp_controler/antena_control.h`)
- Antenna Control → Wi-Fi Network: connects to (evidence: `esp_controler/antena_control.h`)
