UKMARSBOT Mazerunner Core: Micromouse Software Architecture Guide

Added:

Hardware-Optimized Monolithic Architecture

While the UKMARSBOT Mazerunner Core emphasizes portability, modularity, and educational accessibility, high-performance Micromouse development often favors bare-metal, hardware-specific monolithic architectures. Critics of generalized frameworks argue that software abstraction layers introduce execution overhead and latency that can compromise real-time control. In elite-level competitions, where robots navigate mazes at speeds exceeding three meters per second, control loop timing is critical. A tightly coupled, monolithic design allows developers to bypass portable abstractions to write code optimized for a specific microcontroller's hardware features, such as direct memory access (DMA), specialized interrupts, and hardware timers. By sacrificing portability, developers achieve tighter control loops, lower latency, and more efficient memory utilization. For competitive, edge-case performance, the overhead of a portable, modular framework is often rejected in favor of raw, hardware-level optimization.

Basic understanding of Micromouse robotics, including sensors, DC motors, and the core maze-solving objective.
Fundamentals of embedded C/C++ programming, specifically modular programming, structures, and hardware abstraction layers (HAL).
Elementary maze-solving algorithms, such as the Wall Follower and basic Flood Fill algorithms.
Core concepts of control systems, particularly proportional-integral-derivative (PID) control for robot motion and wall alignment.
Implementing advanced path-planning algorithms, such as diagonal pathfinding, speed-run optimization, and acceleration profiling.
Porting the Mazerunner Core framework to alternative, high-performance microcontroller architectures (e.g., STM32 or ESP32) to leverage increased processing power.
Advanced sensor fusion and calibration techniques, incorporating gyroscopes, encoders, and distance sensors for precise odometry.
Designing complex finite state machines (FSM) within the framework to handle robot states like search runs, speed runs, and error recovery.
2K views76likes21:22@MicroMouseOriginal Release: 2023-09-09

This video presents Maze Runner Core, a simplified and extensible software framework for UKMARSBOT micromice that implements a layered architecture separating hardware abstraction, configuration management, and behavioral logic to enable easy portability across different hardware platforms and facilitate collaborative development while providing a solid foundation for beginners to build upon.