How hccc1203/runaccm2025 works
This is an EdgeBoard autonomous-course-driving application. A producer captures frames and fans them into line-following and AI work queues; the AI consumer detects course objects, while the main consumer runs tracking and scene handling, then sends steering and speed commands over UART. The README documents the line-processing, centerline, preview-control, and ordered course-element stages. Edges are grounded in the README or SOURCE INDEX; dashed links mark relationships whose exact calls were not shown in the excerpts.
Main entry points: standard.cpp Standard tracking · thread.cpp Control consumer · detection.hpp Object detection · thread.h Frame queues
Components 22
Runtime pipeline
- Frame producer
thread/thread.cpp - Frame queues
thread/thread.h - AI consumer
thread/thread.cpp - Detection results
thread/thread.cpp - Control consumer
thread/thread.cpp
Vision and tracking
- Object detection
include/detection.hpp - Standard tracking
track/standard/standard.cpp - Image processing
track/imgprocess/imgprocess.cpp - Tracking utilities
track/standard/general.h
Course scenarios
- Cross and ring
track/basic - Obstacle handling
track/special/obstacle.cpp - Burger handling
track/special/catering.cpp - Charging bays
track/special/charging.cpp - Bridge handling
track/special/bridge.cpp - Layby handling
track/special/layby.cpp - Crosswalk handling
track/special/crosswalk.cpp
Configuration and control
- Runtime configuration
param/param.hpp - UART control
include/uart.hpp
Other components
- Camera
- EdgeBoard NNA
- ONNX NMS
- Vehicle controller
Connections 22
- Camera → Frame producer: provides frames
readme.md - Frame producer → Frame queues: enqueues frames
readme.md - Frame producer → AI consumer: feeds AI queue
readme.md - AI consumer → Object detection: runs detection
readme.md - Object detection → EdgeBoard NNA: runs backbone
include/detection.hpp - Object detection → ONNX NMS: runs NMS
include/detection.hpp - AI consumer → Detection results: updates results
readme.md - Frame queues → Control consumer: provides frames
readme.md - Control consumer → Standard tracking: runs tracking
readme.md - Control consumer → Detection results: reads results
readme.md - Standard tracking → Image processing: processes images
- Standard tracking → Tracking utilities: uses utilities
- Standard tracking → Cross and ring: handles ordered elements
- Standard tracking → Obstacle handling: handles obstacles
- Standard tracking → Burger handling: handles burger
- Standard tracking → Charging bays: handles charging bays
- Standard tracking → Bridge handling: handles bridges
- Standard tracking → Layby handling: handles laybys
- Standard tracking → Crosswalk handling: handles crosswalks
- Runtime configuration → Standard tracking: configures tracking
readme.md - Control consumer → UART control: sends commands
readme.md - UART control → Vehicle controller: controls vehicle
readme.md