How lukmanharahap/invicto-2024 works
INVICTO-2024 is an autonomous ball-collection and silo-targeting robot stack. Vision and two Arduino sensor controllers send measurements to the STM32F4, which acts as the real-time decision layer and controls robot behavior. The graph preserves the documented perception, sensing, control, and actuation stages, plus the STM32 motion-control internals. The README documents system-level data flows; sampled STM32 code also shows camera and Mega serial-buffer parsing. Detailed calls among control helpers are not established by the excerpts, so those links are omitted.
Main entry points: main.c STM32 Runtime · robot_control.c Robot State Logic · main.py YOLO Pipeline · main.cpp Nano IMU
Components 11
Vision Perception
- YOLO Pipeline
computer_vision/src/main.py
Sensor Controllers
- Nano IMU
arduino_nano/src/main.cpp - Mega Sensors
arduino_mega/src/main.cpp
STM32 Master
- STM32 Runtime
stm32/Core/Src/main.c - Robot State Logic
stm32/Library/Src/robot_control.c
Motion Control
- Odometry
stm32/Library/Src/odometry.c - PID Control
stm32/Library/Src/pid.c - Motor Driver
stm32/Library/Src/invicto_motor.c - LCD Interface
stm32/Library/Src/lcd_i2c.c
Other components
- Cameras
- Robot Hardware
Connections 9
- Cameras → YOLO Pipeline: capture frames
README.md - YOLO Pipeline → STM32 Runtime: sends detections
README.md - Nano IMU → STM32 Runtime: sends orientation
README.md - Mega Sensors → STM32 Runtime: sends sensor data
README.md - STM32 Runtime → Robot State Logic: runs task logic
README.md - STM32 Runtime → Robot Hardware: drives behavior
README.md - Robot State Logic → PID Control: uses PID
- Robot State Logic → Odometry: uses odometry
- Robot State Logic → Motor Driver: actuates