# eno2010123/vex60172v-26-27-override architecture

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

- Interactive diagram: https://gitdiagram.com/eno2010123/vex60172v-26-27-override
- Repository: https://github.com/eno2010123/vex60172v-26-27-override

## Overview

This is a PROS-based VEX robotics project with LeMLib chassis control, alongside bundled PROS and LVGL APIs. The intended user-to-result path is competition lifecycle code configuring and controlling a robot through the chassis and device APIs. The source excerpts do not show the bodies of the application callbacks, so runtime calls among those components cannot be confirmed; the graph keeps those links unverified rather than presenting a guessed control sequence.

Main entry points: [`include/lemlib/chassis/chassis.hpp`](https://github.com/eno2010123/vex60172v-26-27-override/blob/main/include/lemlib/chassis/chassis.hpp) (Chassis control), [`include/api.h`](https://github.com/eno2010123/vex60172v-26-27-override/blob/main/include/api.h) (PROS API), [`src/main.cpp`](https://github.com/eno2010123/vex60172v-26-27-override/blob/main/src/main.cpp) (Robot callbacks), [`src/main2/main2.cpp`](https://github.com/eno2010123/vex60172v-26-27-override/blob/main/src/main2/main2.cpp) (Alternate callbacks)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_application["Robot application"]
  node_competition["Competition lifecycle<br/>[main.h]"]
  node_main["Robot callbacks<br/>[main.cpp]"]
  node_main2["Alternate callbacks<br/>[main2.cpp]"]
end

subgraph group_lemlib["Motion control"]
  node_chassis["Chassis control<br/>[chassis.hpp]"]
  node_tracking["Tracking wheels<br/>[trackingWheel.hpp]"]
  node_pose["Robot pose<br/>[pose.hpp]"]
  node_motion_helpers["Motion helpers"]
end

subgraph group_pros["PROS runtime"]
  node_pros_api["PROS API<br/>[api.h]"]
  node_motors["Motors<br/>[motors.hpp]"]
  node_motor_groups["Motor groups<br/>[motor_group.hpp]"]
  node_sensors["Sensors and ADI"]
  node_rtos["Tasks and synchronization<br/>[rtos.hpp]"]
  node_formatting["Formatting library<br/>[format.h]"]
end

subgraph group_lvgl["LVGL interface"]
  node_lvgl_core["UI and rendering"]
end

node_programmer(("Robot programmer"))

node_programmer -.->|"implements"| node_main
node_programmer -.->|"implements"| node_main2
node_main -.->|"uses declarations"| node_competition
node_main2 -.->|"uses declarations"| node_competition
node_main -.->|"may use"| node_chassis
node_main2 -.->|"may use"| node_chassis
node_pros_api -->|"includes"| node_motors
node_pros_api -->|"includes"| node_motor_groups
node_pros_api -->|"includes"| node_sensors
node_pros_api -->|"includes"| node_rtos
node_chassis -->|"includes"| node_tracking
node_chassis -->|"includes"| node_pose
node_chassis -->|"includes helpers"| node_motion_helpers
node_chassis -->|"includes"| node_rtos
node_chassis -.->|"uses sensor types"| node_sensors
node_formatting -.->|"supports logging"| node_chassis

click node_competition "https://github.com/eno2010123/vex60172v-26-27-override/blob/main/include/main.h"
click node_main "https://github.com/eno2010123/vex60172v-26-27-override/blob/main/src/main.cpp"
click node_main2 "https://github.com/eno2010123/vex60172v-26-27-override/blob/main/src/main2/main2.cpp"
click node_chassis "https://github.com/eno2010123/vex60172v-26-27-override/blob/main/include/lemlib/chassis/chassis.hpp"
click node_tracking "https://github.com/eno2010123/vex60172v-26-27-override/blob/main/include/lemlib/chassis/trackingWheel.hpp"
click node_pose "https://github.com/eno2010123/vex60172v-26-27-override/blob/main/include/lemlib/pose.hpp"
click node_motion_helpers "https://github.com/eno2010123/vex60172v-26-27-override/tree/main/include/lemlib"
click node_pros_api "https://github.com/eno2010123/vex60172v-26-27-override/blob/main/include/api.h"
click node_motors "https://github.com/eno2010123/vex60172v-26-27-override/blob/main/include/pros/motors.hpp"
click node_motor_groups "https://github.com/eno2010123/vex60172v-26-27-override/blob/main/include/pros/motor_group.hpp"
click node_sensors "https://github.com/eno2010123/vex60172v-26-27-override/tree/main/include/pros"
click node_rtos "https://github.com/eno2010123/vex60172v-26-27-override/blob/main/include/pros/rtos.hpp"
click node_lvgl_core "https://github.com/eno2010123/vex60172v-26-27-override/tree/main/include/liblvgl"
click node_formatting "https://github.com/eno2010123/vex60172v-26-27-override/blob/main/include/fmt/format.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_competition,node_main,node_main2 toneBlue
class node_chassis,node_tracking,node_pose,node_motion_helpers toneAmber
class node_pros_api,node_motors,node_motor_groups,node_sensors,node_rtos,node_formatting toneMint
class node_lvgl_core toneRose
class node_programmer toneIndigo
```

## Components

### Robot application

- [Competition lifecycle](https://github.com/eno2010123/vex60172v-26-27-override/blob/main/include/main.h): `include/main.h`
- [Robot callbacks](https://github.com/eno2010123/vex60172v-26-27-override/blob/main/src/main.cpp): `src/main.cpp`
- [Alternate callbacks](https://github.com/eno2010123/vex60172v-26-27-override/blob/main/src/main2/main2.cpp): `src/main2/main2.cpp`

### Motion control

- [Chassis control](https://github.com/eno2010123/vex60172v-26-27-override/blob/main/include/lemlib/chassis/chassis.hpp): `include/lemlib/chassis/chassis.hpp`
- [Tracking wheels](https://github.com/eno2010123/vex60172v-26-27-override/blob/main/include/lemlib/chassis/trackingWheel.hpp): `include/lemlib/chassis/trackingWheel.hpp`
- [Robot pose](https://github.com/eno2010123/vex60172v-26-27-override/blob/main/include/lemlib/pose.hpp): `include/lemlib/pose.hpp`
- [Motion helpers](https://github.com/eno2010123/vex60172v-26-27-override/tree/main/include/lemlib): `include/lemlib`

### PROS runtime

- [PROS API](https://github.com/eno2010123/vex60172v-26-27-override/blob/main/include/api.h): `include/api.h`
- [Motors](https://github.com/eno2010123/vex60172v-26-27-override/blob/main/include/pros/motors.hpp): `include/pros/motors.hpp`
- [Motor groups](https://github.com/eno2010123/vex60172v-26-27-override/blob/main/include/pros/motor_group.hpp): `include/pros/motor_group.hpp`
- [Sensors and ADI](https://github.com/eno2010123/vex60172v-26-27-override/tree/main/include/pros): `include/pros`
- [Tasks and synchronization](https://github.com/eno2010123/vex60172v-26-27-override/blob/main/include/pros/rtos.hpp): `include/pros/rtos.hpp`
- [Formatting library](https://github.com/eno2010123/vex60172v-26-27-override/blob/main/include/fmt/format.h): `include/fmt/format.h`

### LVGL interface

- [UI and rendering](https://github.com/eno2010123/vex60172v-26-27-override/tree/main/include/liblvgl): `include/liblvgl`

### Other components

- **Robot programmer**

## Connections

- Robot programmer → Robot callbacks: implements
- Robot programmer → Alternate callbacks: implements
- Robot callbacks → Competition lifecycle: uses declarations (evidence: `src/main.cpp`)
- Alternate callbacks → Competition lifecycle: uses declarations (evidence: `src/main2/main2.cpp`)
- Robot callbacks → Chassis control: may use (evidence: `src/main.cpp`)
- Alternate callbacks → Chassis control: may use (evidence: `src/main2/main2.cpp`)
- PROS API → Motors: includes (evidence: `include/api.h`)
- PROS API → Motor groups: includes (evidence: `include/api.h`)
- PROS API → Sensors and ADI: includes (evidence: `include/api.h`)
- PROS API → Tasks and synchronization: includes (evidence: `include/api.h`)
- Chassis control → Tracking wheels: includes (evidence: `include/lemlib/chassis/chassis.hpp`)
- Chassis control → Robot pose: includes (evidence: `include/lemlib/chassis/chassis.hpp`)
- Chassis control → Motion helpers: includes helpers (evidence: `include/lemlib/chassis/chassis.hpp`)
- Chassis control → Tasks and synchronization: includes (evidence: `include/lemlib/chassis/chassis.hpp`)
- Chassis control → Sensors and ADI: uses sensor types (evidence: `include/lemlib/chassis/chassis.hpp`)
- Formatting library → Chassis control: supports logging
