A Hardware-Partitioned micro-ROS Mini-Vehicle for Operator-Supervised Neural Driving
Organizations: Automation and Systems Engineering Department Federal University of Santa Catarina, Florianópolis, Brazil
Abstract
We present a low-cost miniature Ackermann vehicle for embedded neural-driving research, organized as a hardware-partitioned perceive-decide-act agent: an ESP32 camera node streams frames over Wi-Fi to a host computer, where neural inference and state estimation run, while an ESP32-S3 chassis controller executes safety-critical actuation in a 100 Hz per-wheel proportional-integral-derivative (PID) loop beneath a micro-ROS client. The partition isolates real-time control and safety on the vehicle while learning-based components run off-board, supervised by an operator from a gamepad. We characterize the complete pipeline during real closed-loop neural driving. Wireless sensing, rather than neural inference, dominates latency, with a 59.5 ms median capture-to-actuation delay; the platform absorbed wireless variability by holding the last safe command under a firmware watchdog, operating across twelve autonomous sessions with zero collisions or manual interventions; and encoder-inertial-measurement-unit (IMU) fusion cut odometry loop-closure error by 22%. These results indicate that carefully partitioned microcontroller-class vehicles support reproducible experiments in embedded AI, wireless control, and operator-supervised autonomous driving. The platform software is open source.
Figures & tables
| Component | approx. US$ |
| Ackermann aluminum chassis (incl. MD520 | |
| encoder motors and steering servo) † | |
| micro-ROS control board (ESP32-S3, IMU) | |
| ESP32 Wi-Fi camera module (OV2640) | |
| LiPo battery 3S † | |
| Vehicle total |
| Stage | Min | Median | p95 | Max |
|---|---|---|---|---|
| Camera link (capture host) | ||||
| JPEG decode | ||||
| Host queueing (decode inference) | ||||
| Policy inference | ||||
| Command transport (host chassis) | ||||
| Chassis (command motor PWM) |
| Finding | Evidence | Design implication |
|---|---|---|
| Wireless link dominates latency | camera link vs. inference | optimize transport before the network |
| End-to-end timing has heavy tails | p95 twice the median; gaps up to | timestamped processing; watchdog protection |
| Heading dominates odometry drift | EKF fusion cuts loop-closure error | gyroscope fusion pays even at this scale |
| Encoder quantization limits low-speed PID | sustained speed ripple | higher-resolution encoders for lower speeds |
Robotics
Robotics studies the design and control of machines that perceive, move, and act in physical environments.
See all 755 papers