Maze Runner: Autonomous Maze Navigation with Line-Based Localization and Control Barrier Functions
Abstract
Maze navigation requires localization from sparse, repetitive geometry, planning through narrow corridors, and control that stays safe when the estimate or the map is wrong. We present Maze Runner, an open autonomy stack in C++ and ROS 2 that addresses these needs end to end on a simulated Husarion ROSbot XL with a 2D LiDAR in Gazebo. Perception extracts wall lines from each scan with RANSAC and total least squares, with per-line uncertainty. The same line front end feeds two estimators: an Extended Kalman Filter (EKF) that localizes against a line map built from the maze mesh, and an EKF SLAM variant that builds the line map online. Planning runs online on an inflated occupancy grid with A* plus line-of-sight shortcutting, or with a forward-only Hybrid A*. A nonlinear Model Predictive Controller (NMPC) tracks the plan while discrete-time Control Barrier Functions (CBFs) on world-frame LiDAR points keep the robot clear of walls and unmapped obstacles. The algorithms live in a ROS-free, unit-tested core library, and the whole stack builds and runs from a single reproducible environment. In simulation, the robot drives a 135 m route through the maze with 1.0 cm localization RMSE against the known map and 24 cm in SLAM mode, the planner returns a path in 6 ms, and the NMPC solves in 11.7 ms on average, never exceeding its 80 ms budget.
Create a lesson
Metadata
- Categories
- cs.RO, cs.SY, eess.SY
- Comments
- 10 pages, 8 figures, 1 table. Code: https://github.com/alvgaona/maze-runner
Related papers
Safety-Constrained Intelligent Control of a 2-DOF Robotic Manipulator Using Control Barrier Functions
Shared title terminologycs.ROGabriel da Silva Lima, Made Widhi Surya Atman, Wallace Moreira Bessa
Unified Overview of Safety Certificate Functions: Techniques from Hamilton--Jacobi Reachability and Control Barrier Functions
Shared title terminologycs.ROHao Wang, Max Cohen, Zeyuan Feng et al.
Integration of Vision-Language-Action Control for Autonomous Forklift Unloading with Limited Real-World Data
Shared title terminologycs.ROKoshi Oishi, Seigo Ito
Beyond the Benchmark: Localizing Released Autonomous Driving Models to Real Vehicles
Shared title terminologycs.ROMorui Zhu, Deyuan Qu, Qi Chen et al.
OASIS: Optimization-Aware Subgoal Inference with Safety Constraints for Autonomous Mobile Robot Navigation
Shared title terminologycs.ROArian Hajizadeh, Javad Pourrafi Arabani, Negar Shenavar et al.
BRACE: Belief-guided Residual Adaptive Control for Safe Navigation under Unknown Disturbances
Shared title terminologycs.ROJaeyoun Choi, Niklas Schmid, Oswin So et al.