Open-source micromouse · ESP32 · simulation first
A micromouse that designs its own turns, plans in seconds instead of cells, and proves every manoeuvre in a 10 kHz physics model running the exact firmware control law, before a single part is soldered.
Real trajectories from the simulator, played back in real time. Each robot runs the firmware's control law on a model with motor dynamics, tyre friction circles, encoder and PWM quantisation, a noisy gyro and ToF sensors. Colour is speed.
Every gain, threshold and turn has a derivation, a test and a number behind it.
Clothoid–arc–clothoid turns found by search over curvature and ramp shape; the 95×80 mm body is swept against posts and a worst-case wall on every edge it doesn't cross.
Dijkstra over 4,352 edge–heading states with integer costs, then a two-pass speed plan: the fastest profile every boundary constraint allows.
A triple-pole observer fuses walls into offset, heading and gyro bias per metre travelled, so it is correct at any speed and any sensor rate.
Pole placement on the DC-motor model, feedforward from the inverted plant, filtered derivative and gain-scheduled lateral control, all with stability margins checked.
Monte Carlo over manufacturing tolerances, friction, battery and sensor errors, with 95 % Wilson intervals on every reliability number.
FreeRTOS on two cores. The C++ planner reproduces the Python one bit for bit, verified on the PC by unit tests against simulator-exported vectors.
The simulator, planners, estimator and firmware are complete and tested. The firmware builds for the ESP32 with zero warnings. It has not driven a real maze yet: the next step is hardware, and that is where sponsorship comes in.
Read the roadmapThe studies say exactly what the next hardware buys: a compact PCB chassis raises the angular acceleration that caps every turn, 1 kHz IR sensors cut path error, a better IMU makes diagonals viable. Your support pays for the boards, parts and test maze, and everything that comes out of it stays open.