Optimal Maze Storage & Safe Speed Runs in Micromouse Robotics

Added:

Problem Refresher
Map Storage
Exploration Logic
Unsafe Paths
Optimality Check
Dual-Maze Idea
Packing Data
Flooding Cost
Insights Q&A

Problem Refresher

0:06
Playing Section
  • 1

    Recaps the maze-solving problem and the need for safe, optimized paths for micromouse.

  • 2

    Highlights that current methods focus on finding paths but not ensuring they are safe at speed.

  • 3

    Stresses the importance of generating solutions quickly while the mouse is moving.

Fundamental pathfinding algorithms commonly used in grid navigation, such as Flood-Fill, Breadth-First Search (BFS), and Dijkstra's algorithm.
Concepts of bitwise operations (AND, OR, XOR, shift) and how bit-masking is used for memory-efficient data representation in embedded systems.
Basic understanding of Micromouse competition rules, including the physical maze layout (typically a 16x16 grid) and the operational phases of search runs versus speed runs.
Introduction to C/C++ programming for microcontrollers, focusing on arrays, structures, and low-level memory constraints.
Implementation of diagonal pathfinding algorithms (e.g., 45-degree and 135-degree turns) to further optimize the calculated path for speed runs.
Advanced velocity profiling and acceleration planning, translating the calculated path into precise motor acceleration and deceleration curves.
Integration of closed-loop control systems (like PID controllers and sensor fusion using gyroscopes and IR sensors) to ensure the robot safely executes high-speed turns.
Testing and validation techniques using virtual Micromouse simulators to dry-run pathfinding logic under various maze configurations before deploying to physical hardware.
584 views20likes42:34@ukmarsOriginal Release: 2021-07-05

This video presents a technique for micromouse robots to store maze information using two mazes (open and closed) within a single data structure, where the open maze represents optimistic paths through unexplored cells and the closed maze represents safe paths through confirmed gaps. By using bit masks to store both mazes in one byte per cell (lower 4 bits for open maze walls, upper 4 bits for closed maze gaps), the robot can determine when an optimal safe path has been found by comparing the costs in both mazes. When the costs match, the robot knows it has discovered the optimal route and can safely perform a speed run without crashing into unseen walls.