How terrarian10/override works
This repository is a VEX V5 robot-control project built on PROS, with a vendored LVGL library. The visible workflow is competition-mode entry into operator control, where a scheduler repeatedly runs controller-update and drive commands; mechanism state code reads motor position and sets motor output. The excerpts establish only part of the command wiring, and the README is empty. LVGL is substantial in the tree, but the sampled application code does not show it being used, so its nodes are shown as bundled framework capabilities without guessed application links.
Main entry points: main.cpp Robot entry points · lv_display.h Display abstraction · controller.hpp Controller commands · liftState.cpp Lift state
Components 24
Robot application
- Robot entry points
override-vex/src/main.cpp - Lift state
override-vex/src/states/liftState.cpp - State and mechanisms
override-vex/include/zamp/state.hpp - Robot motor wrapper
override-vex/include/zamp/motor.hpp - Air cylinder
override-vex/include/zamp/airCylinder.hpp
Control runtime
- Command scheduler
override-vex/include/ztransistor/main.hpp - Controller commands
override-vex/include/ztransistor/controller.hpp - Virtual controller
override-vex/include/zamp/virtualController.hpp - Controller adapter
override-vex/include/zamp/controller.hpp
PROS hardware
- PROS API
override-vex/include/api.h - Competition and controller API
override-vex/include/pros/misc.h - Motor groups
override-vex/include/pros/motor_group.hpp
LVGL core
- LVGL configuration
override-vex/include/liblvgl/lv_conf_internal.h - LVGL shared types
override-vex/include/liblvgl/misc/lv_types.h - Display abstraction
override-vex/include/liblvgl/display/lv_display.h - Input abstraction
override-vex/include/liblvgl/indev/lv_indev.h - Event API
override-vex/include/liblvgl/misc/lv_event.h - Geometry API
override-vex/include/liblvgl/misc/lv_area.h - Color API
override-vex/include/liblvgl/misc/lv_color.h
LVGL services
- Font services
override-vex/include/liblvgl/others/font_manager/lv_font_manager.h - FreeType integration
override-vex/include/liblvgl/libs/freetype/lv_freetype.h - SVG support
override-vex/include/liblvgl/libs/svg/lv_svg.h - ThorVG renderer
override-vex/include/liblvgl/libs/thorvg/tvgCommon.h
Other components
- Competition system
Connections 23
- Competition system → Robot entry points: starts mode
override-vex/src/main.cpp - Robot entry points → Command scheduler: ticks
override-vex/src/main.cpp - Robot entry points → Controller commands: enqueues
override-vex/src/main.cpp - Robot entry points → Virtual controller: updates
override-vex/src/main.cpp - Command scheduler → Controller commands: runs commands
override-vex/include/ztransistor/main.hpp - Controller commands → Virtual controller: sets inputs
override-vex/include/ztransistor/controller.hpp - Controller commands → Competition and controller API: reads controller
override-vex/include/ztransistor/controller.hpp - Controller adapter → Competition and controller API: reads controller
override-vex/include/zamp/controller.hpp - Robot entry points → Lift state: includes state
override-vex/src/main.cpp - Lift state → State and mechanisms: extends
override-vex/src/states/liftState.cpp - Lift state → Robot motor wrapper: reads and sets
override-vex/src/states/liftState.cpp - Robot motor wrapper → Motor groups: uses motor API
- Air cylinder → PROS API: uses ADI
override-vex/include/zamp/airCylinder.hpp - Robot entry points → PROS API: imports API
- LVGL shared types → LVGL configuration: configures types
override-vex/include/liblvgl/misc/lv_types.h - Display abstraction → LVGL shared types: uses types
override-vex/include/liblvgl/display/lv_display.h - Display abstraction → Event API: uses events
override-vex/include/liblvgl/display/lv_display.h - Display abstraction → Color API: uses colors
override-vex/include/liblvgl/display/lv_display.h - Display abstraction → Geometry API: uses geometry
- Input abstraction → Event API: uses events
override-vex/include/liblvgl/indev/lv_indev.h - Input abstraction → Geometry API: uses geometry
override-vex/include/liblvgl/indev/lv_indev.h - Font services → FreeType integration: uses integration
- SVG support → ThorVG renderer: renderer link