How fappsde/leoneers_qdi works
Leoneers_QDi documents an autonomous WRO robot car, not a standalone software product. Its principal workflow is onboard sensing and camera-based perception, environment mapping, then Raspberry Pi-to-ESP32 control of steering and drive. The README also describes a second Raspberry Pi and third camera, an IMU, LiDAR experiments, and a second ESP32 for optional accessories. The source excerpts show mapping, sensor, and vision responsibilities, but do not expose the main-loop calls or full control protocol; those links are therefore documented at a high level or left unverified.
Main entry points: mainQDIloop.cxx Autonomy loop · esp1critical_struct_driver-v0.1.ino Critical ESP32 · ddpmapper.cpp Occupancy mapper · QDicamii.hpp Camera perception
Components 17
Sensing and perception
- Camera array
- Camera perception
Programmcode/Raspberry Pis/QDicamii.hpp - LiDAR scanner
Programmcode/Raspberry Pis/DDlidarscanner.cpp - Motion sensor
Programmcode/Raspberry Pis/poscamthrd.py - IMU orientation
Programmcode/Raspberry Pis/IMUG2.cpp - MPU6050 driver
Raspicode/MPU6050-C-CPP-Library-for-Raspberry-Pi/MPU6050G2.cpp
World model
- Occupancy mapper
Programmcode/Raspberry Pis/ddpmapper.cpp - Mapper copy
Raspicode/ddpmapper.cpp
Vehicle control
- Autonomy loop
Programmcode/Raspberry Pis/mainQDIloop.cxx
Robot hardware
- Raspberry Pi computers
- Critical ESP32
Programmcode/Arduino/esp1critical_struct_driver-v0.1.ino - Optional ESP32
Programmcode/Arduino/esp2optional_struct_driver-v0.1.ino.ino - Dual-axle steering
- Drive motor
- Optional accessories
- Mechanical designs
Technische Zeichnungen/STL-Dateien/README.md
Other components
- Course and obstacles
Connections 16
- Course and obstacles → Camera array: provides imagery
README.md - Course and obstacles → LiDAR scanner: provides range data
- Camera array → Camera perception: feeds images
README.md - Camera perception → Occupancy mapper: supports mapping
- LiDAR scanner → Occupancy mapper: adds ranges
- Motion sensor → Autonomy loop: provides motion
- MPU6050 driver → IMU orientation: reads sensor
- IMU orientation → Autonomy loop: provides orientation
- Occupancy mapper → Autonomy loop: provides map
- Mapper copy → Autonomy loop: alternate mapping
- Autonomy loop → Raspberry Pi computers: runs on
- Raspberry Pi computers → Critical ESP32: sends control
- Critical ESP32 → Dual-axle steering: actuates
README.md - Critical ESP32 → Drive motor: actuates
README.md - Raspberry Pi computers → Optional ESP32: sends accessory commands
- Optional ESP32 → Optional accessories: controls
README.md