# Maze Runner: Autonomous Maze Navigation with Line-Based Localization and Control Barrier Functions

Maze Runner: 선 기반 위치 추정과 제어 장벽 함수를 이용한 자율 미로 주행

Alvaro J. Gaona, Lucas Gómez-Velayos, Peter Pasuy-Quevedo · arXiv · 2026년 11월 6일

- **연구 문제** 미로처럼 벽 기하가 반복되고 좁은 환경에서는 위치추정, 경로 계획, 안전 제어를 함께 맞춰야 합니다. 이 논문은 라이다 선 추출 기반 EKF 위치추정과 온라인 계획, NMPC와 이산시간 CBF를 결합한 Maze Runner 스택으로 이 문제를 시뮬레이션에서 다룹니다.
- **연구 방법** 라이다 스캔에서 RANSAC과 total least squares로 벽 선을 추출하고, 알려진 벽 지도 기반 EKF 또는 온라인 EKF SLAM으로 자세를 추정합니다. 계획은 A\*와 줄 시야 단축 또는 Hybrid A\*로 수행하며, NMPC가 경로를 추종하면서 라이다 점에 대한 이산시간 CBF 제약을 유지합니다.
- **주요 결과** 시뮬레이션의 135 m 경로에서 알려진 지도 기반 위치추정의 RMSE는 1.0 cm였고, SLAM 모드는 루프 클로저 없이 24 cm RMSE를 보였습니다.

## 미로 주행의 어려움과 연구 범위

미로 자율주행은 희소하고 반복적인 기하 구조에서 위치를 추정해야 하고, 좁은 통로를 따라 계획해야 하며, 추정된 자세나 지도가 틀렸을 때에도 안전하게 제어해야 합니다. 이 논문은 이 세 요구를 하나의 ROS 2 자율주행 스택으로 묶어 시뮬레이션된 Husarion ROSbot XL에서 end to end로 다룹니다. 로봇은 2D LiDAR로 벽을 감지하며, 벽면을 선으로 추출해 위치를 추정하고, 온라인 격자 계획으로 경로를 만들며, NMPC가 그 경로를 추종합니다. 논문이 다루는 범위는 시뮬레이션 환경이며 실제 로봇에서의 검증은 포함하지 않습니다.

![Figure 1: Architecture of the navigation stack. Each layer is a ROS 2 node that wraps a ROS-free core library. Solid arrows are topics and dashed arrows TF tra…](https://refivu.com/papers/cbf2ea63-56ec-4c73-b583-028435947e11/figures/figure-5aeefb658eac05d9028b3d06feacf879.png?thumb=512)

**Fig. 1** . Architecture of the navigation stack. Each layer is a ROS 2 node that wraps a ROS-free core library. Solid arrows are topics and dashed arrows TF transforms (the EKF publishesmap→odom, the drive controller odom→base\_footprint); the line map and the occupancy grid are both built from the world file at startup.

[원문](https://arxiv.org/abs/2611.12949v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Alvaro J. Gaona, Lucas Gómez-Velayos, Peter Pasuy-Quevedo · Maze Runner: Autonomous Maze Navigation with Line-Based Localization and Control Barrier Functions · 원문 그림 인용 · 원본 PDF 2쪽에서 그림 영역을 추출했습니다.

## 선 추출과 EKF 위치추정

각 LiDAR 스캔에서 RANSAC으로 후보 직선을 찾고, 인라이어 집합을 total least squares로 정제합니다. 이때 직선의 법선은 인라이어 산포 행렬의 최소 고유값에 대응하는 고유벡터로 정해지며, 잔차의 표준편차와 선분 길이로 선 관측의 불확실성을 만듭니다. 위치추정 필터는 바퀴 오도메트리로 평면 자세를 예측하고, 메시에서 유도된 선 지도와 매칭되는 라인 관측으로 상태를 보정합니다. 선 지도는 벽면을 Hesse 법선 표기로 나타낸 무한 직선의 집합이며, 실행 시에는 예측 자세에서 벽 쪽을 향하도록 방향이 정해집니다. 데이터 연관은 각도와 거리의 가중 점수로 최적 후보를 고르고, 마할라노비스 거리에 대한 카이제곱 검정으로 이상치를 거부합니다.

이 방식은 벽 자체를 랜드마크로 쓰므로 비콘 설치가 필요하지 않습니다.

![Figure 2: Line map of the maze: the 47 infinite lines (blue) extracted from the vertical faces of the maze mesh (gray). Short end faces are skipped, and collin…](https://refivu.com/papers/cbf2ea63-56ec-4c73-b583-028435947e11/figures/figure-d8e7308b0be5389572c7a68c464a9af1.png?thumb=512)

**Fig. 2** . Line map of the maze: the 47 infinite lines (blue) extracted from the vertical faces of the maze mesh (gray). Short end faces are skipped, and collinear faces of different walls share one line. One line (orange) is shown with its Hesse parameters: the normal angleαand the distancedfrom the world originO.

[원문](https://arxiv.org/abs/2611.12949v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Alvaro J. Gaona, Lucas Gómez-Velayos, Peter Pasuy-Quevedo · Maze Runner: Autonomous Maze Navigation with Line-Based Localization and Control Barrier Functions · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.

## EKF SLAM의 라인 랜드마크 확장

SLAM 모드에서는 같은 선 전단부를 사용하되, 상태 벡터에 자세와 함께 지금까지 관측한 선들의 파라미터를 추가합니다. 지도는 정적이므로 예측 단계에서는 자세 블록만 전파되며, 이로써 전체 공분산을 다루는 비용을 줄입니다. 새 선은 관측을 역으로 변환하여 초기화되고, 마할라노비스 거리가 임계값보다 작으면 기존 랜드마크로 갱신하며, 중간 구간의 애매한 관측은 버립니다. 평행한 벽을 구별하기 위해 각 랜드마크는 관측된 선분 범위를 함께 저장합니다. 새로운 벽 후보는 바로 상태에 넣지 않고 여러 번 재관측된 뒤에만 승격되어, 잘못된 한 번의 선 적합이 공분산 상관을 남기지 않도록 합니다.

## 격자 계획과 Hybrid A\* 대안

기본 계획기는 벽을 팽창시킨 점유 격자 위에서 8방향 A\*를 실행하며, 휴리스틱으로 octile distance를 사용합니다. 격자 방향을 따른 경로는 줄 시야 단축 알고리즘으로 후처리되어 가시적인 자유 셀을 통해 더 짧고 곧은 경로가 됩니다. 대안인 Hybrid A\*는 연속 자세에서 최소 회전 반경을 지키는 다섯 호 단위로 전진만 확장하며, 같은 격자 셀과 방향 구간의 상태를 병합합니다. 장애물을 고려한 휴리스틱은 목표까지의 격자 경로 길이를 Dijkstra 탐색으로 미리 계산한 값입니다.

## NMPC와 이산시간 CBF 안전 제약

제어기는 유니사이클 모델을 전진 오일러로 이산화하고 N=20 단계 예측에서 참조 경로를 추종합니다. 목적함수는 상태 오차, 명령 크기, 명령 변화율 및 여유 변수에 대한 벌점을 포함하며, 각 장애물 점 o\_i에 대해 h\_i(x)=‖\[x,y\]−o\_i‖²−d\_safe²로 정의된 장벽 함수가 예측 상태마다 h\_i(x\_{k+1})−(1−γ)h\_i(x\_k)+s\_{i,k}≥0을 만족하도록 둡니다. 이 조건은 장벽 값이 한 단계에 최대 γ 비율만큼만 감소하도록 제한하며, 여유 변수 s는 제약이 불가능할 때 문제를 풀리게 합니다. 라이다 점은 맵 좌표계로 변환된 뒤 3 m 이내와 ±120° 시야에서 선택되고, 16개 섹터마다 가장 가까운 점 하나가 장애물 제약이 됩니다.

문제는 CasADi로 한 번 구성되어 IPOPT로 풀리며, 해가 실패하면 이전 계획을 최대 5 단계까지 이동해 사용합니다.

## 기준 지도 위치추정 결과

알려진 지도 기준 위치추정 실험은 같은 경로에서 EKF 위치 오차의 RMSE가 1.0 cm이고 최대 2.8 cm임을 보고합니다. 이 값은 필터의 ±3σ 경계 안에 있으며, 바퀴 오도메트리만 쓰면 같은 출발점에서 최종 위치가 실제 위치에서 42.8 m 떨어진다고 보고됩니다. 이 결과는 시뮬레이션에서 미리 만든 메시 기반 지도를 사용한 조건에서 얻은 것입니다.

## EKF SLAM 결과와 해석

SLAM 모드는 같은 경로와 같은 출발점에서 미리 만든 선 지도 없이 실행되었으며, 계획기는 여전히 알려진 벽을 사용했습니다. 이 조건에서 위치 오차의 RMSE는 24 cm이고 최대 56 cm입니다. 오차는 처음 136 s 동안 10 cm 아래에 머물다가 커졌으며, 루프 클로저가 없어 새 복도를 지도화하는 동안 누적된 오차를 되돌릴 수 없었습니다. 그럼에도 오차는 필터의 ±3σ 경계 안에 있었고, 로봇은 자체 추정상 목표에 도달했지만 실제로는 0.52 m 떨어진 곳에서 멈췄습니다. 지도는 벽 47개에 대해 58개의 선을 가졌으며, 매핑된 선은 참값 벽과 10° 이내로 일치했습니다.

## 계획 비교와 NMPC 실시간성

표 I의 계획 비교에서 A\*는 중앙값 6.0 ms에 74개 확장으로 경로 길이 136.5 m를 얻었지만 회전 합계는 2790°였습니다. 줄 시야 단축을 추가하면 계획 시간은 6.1 ms로 거의 같고 경로 길이는 133.8 m, 회전 합계는 958°로 줄었습니다. Hybrid A\*는 같은 항로에서 242.7 ms가 걸렸으며 경로 길이는 134.0 m였습니다. 이 Hybrid A\* 결과는 장애물 인식 휴리스틱을 쓴 조건이며, 유클리드 휴리스틱만 쓴 조건에서는 경로를 찾지 못했습니다. 한 번의 풀이는 수렴하지 않아 이전 계획을 따랐습니다.

![Figure 7: NMPC solve times over a full run](https://refivu.com/papers/cbf2ea63-56ec-4c73-b583-028435947e11/figures/figure-3ea37f9ac71e5259814bce1769787468.png?thumb=512)

**Fig. 7** . NMPC solve times over a full run.

[원문](https://arxiv.org/abs/2611.12949v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Alvaro J. Gaona, Lucas Gómez-Velayos, Peter Pasuy-Quevedo · Maze Runner: Autonomous Maze Navigation with Line-Based Localization and Control Barrier Functions · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.

## 지도에 없는 장애물 회피

지도와 계획기 격자에 없는 반지름 0.15 m 기둥을 경로 중앙에 두었을 때 로봇은 기둥 표면에서 0.52 m 떨어진 위치에서 멈췄습니다. 경로 쪽 여유가 있는 측면을 허용하지 않는 비용 설정 때문에 정지가 비용 최소 해가 되었다고 저자들은 해석합니다. 기둥을 경로 옆 0.4 m로 옮기면 로봇은 최대 0.33 m 벗어나 최소 0.57 m 여유로 기둥을 통과하고 경로로 복귀했으며, 전체 경로 시간은 1 s 늘었습니다. 이 실험은 CBF가 안전을 보장하는 설정에서 확인했을 뿐, 진행을 보장한다는 주장은 아닙니다.

![Figure 8: Passing a pillar that is not in the map (dark disk), 0.4 m off the planned path. The triangle marks the robot 1.5 m before the pillar, with its 0.5 m…](https://refivu.com/papers/cbf2ea63-56ec-4c73-b583-028435947e11/figures/figure-22bc4bf6c9005f47c914fcafad344e3b.png?thumb=512)

**Fig. 8** . Passing a pillar that is not in the map (dark disk), 0.4 m off the planned path. The triangle marks the robot 1.5 m before the pillar, with its 0.5 m safety radius (dotted); the orange points are the LiDAR points selected as CBF constraints at that instant, two of them on the pillar.

[원문](https://arxiv.org/abs/2611.12949v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Alvaro J. Gaona, Lucas Gómez-Velayos, Peter Pasuy-Quevedo · Maze Runner: Autonomous Maze Navigation with Line-Based Localization and Control Barrier Functions · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.

## 적용 범위와 남은 과제

이 결과들은 시뮬레이션된 Gazebo 환경에서 나온 것입니다. SLAM 모드는 루프 클로저가 없어 긴 탐사에서 오차가 누적될 수 있으며, 계획기는 아직 SLAM 지도를 사용하지 않아 알려진 미로가 필요합니다. 또한 지도에 없는 장애물이 경로 중앙이나 통로를 막으면 로봇은 안전하게 멈추지만 계속 진행하지 못합니다. 전체 자유 공간의 커버리지 계획도 현재 스택에는 포함되지 않았습니다. 실제 ROSbot XL 검증은 아직 수행되지 않았습니다.

## 논문 정보

- **저자**: Alvaro J. Gaona, Lucas Gómez-Velayos, Peter Pasuy-Quevedo
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2026년 11월 6일
- **등록일**: 2026년 11월 11일
- **수정일**: 2026년 11월 6일
- **버전**: v1
- **arXiv**: 2611.12949
- **분류**: cs.RO · eess.SY
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2611.12949v1) · [원문 PDF ↗](https://arxiv.org/pdf/2611.12949v1)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

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.

## 원문 인용

Alvaro J. Gaona, Lucas Gómez-Velayos, Peter Pasuy-Quevedo (2026). Maze Runner: Autonomous Maze Navigation with Line-Based Localization and Control Barrier Functions. arXiv:2611.12949v1. https://arxiv.org/abs/2611.12949v1

**BibTeX**

```
@misc{gaona2026maze,
  title = {{Maze Runner: Autonomous Maze Navigation with Line-Based Localization and Control Barrier Functions}},
  author = {Alvaro J. Gaona and Lucas Gómez-Velayos and Peter Pasuy-Quevedo},
  year = {2026},
  eprint = {2611.12949},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.12949v1}
}
```

## 이 논문의 용어

- [RMSE](https://refivu.com/terms/ad2579cf164a-rmse)
- [RANSAC](https://refivu.com/terms/c1e8b2a1b044-ransac)
- [Mahalanobis distance](https://refivu.com/terms/56d44d3d60ed-mahalanobis-distance)
- [Gazebo](https://refivu.com/terms/a1a321a35506-gazebo)
- [control barrier functions](https://refivu.com/terms/2a4aa28cca43-control-barrier-functions)
- [extended Kalman filter](https://refivu.com/terms/e57af663a023-extended-kalman-filter)
- [occupancy grid](https://refivu.com/terms/83adfe13628f-occupancy-grid)
- [NMPC](https://refivu.com/terms/899a09e4af52-nmpc)
- [Simultaneous Localization and Mapping](https://refivu.com/terms/c046a8664f7b-simultaneous-localization-and-mapping)

## 다른 논문 해설

- [Learn-To-Propagate: Distributionally Robust Motion Planning for Nonlinear Uncertain Systems](https://refivu.com/papers/c756a787-e39a-4600-a6f1-15b712d6709f-learn-to-propagate-distributionally-robust-motion-planning.md)
- [Camera equalisation of an 11.5x drop in environmental illuminance: four imitation-learning policies on an SO-101 arm](https://refivu.com/papers/624f585a-f042-4009-bd10-76b400c0a03d-camera-equalisation-of-an-11-5x-drop-in.md)
- [Discrete Model-Based Diffusion for Combinatorial Optimization in Multi-Robot Task Allocation](https://refivu.com/papers/a1ec382a-8589-45d0-91fb-e5e73a2fbe22-discrete-model-based-diffusion-for-combinatorial.md)
- [How Much of Your VLA Is kNN](https://refivu.com/papers/f1a4a8bd-ed46-45bc-a242-753548c3e76e-how-much-of-your-vla-is-knn.md)
- [Embodied First Exam](https://refivu.com/papers/8e8fb912-4f5c-4fcb-bc3f-1609eb0e3597-embodied-first-exam.md)
- [PAIR: Proprioception-Aligned Image-Ray Representations for Viewpoint-Robust Manipulation](https://refivu.com/papers/19c3b2d7-dac3-4a74-99f8-8dab2581ebb1-pair-proprioception-aligned-image-ray-representations-for.md)
- [Explanation-Aware Fairness Beyond Output Parity: Joint Output-Attribution Regularization for Medical Image Classification](https://refivu.com/papers/28689396-85eb-481f-b57c-b63e3705d854-explanation-aware-fairness-beyond-output-parity-joint-output.md)
- [Multi-Future Drafting: Mixture Block Drafters for Tree-Verified Speculative Decoding](https://refivu.com/papers/a2c0126f-0ce8-4765-9c42-d293dabde238-multi-future-drafting-mixture-block-drafters-for-tree.md)
- [MADSNet: A Multi-Scale Axial-Attentive Dense Spiking Network for Spike Camera Image Reconstruction](https://refivu.com/papers/6c70199d-51bf-4c40-b422-64a07ce1c286-madsnet-a-multi-scale-axial-attentive-dense-spiking.md)
- [Linear Probes to Bayesian Manifolds: Geometry of Arithmetic in Large Language Models](https://refivu.com/papers/3a9ec079-bad6-4e92-972e-4cfe8b21529a-linear-probes-to-bayesian-manifolds-geometry-of-arithmetic.md)
- [One Table, Many Queries: Benchmarking Generalist Tabular Models Across Generation, Imputation, and Prediction](https://refivu.com/papers/a5a34682-8e82-4f78-bd1a-b0fbac9cfbf1-one-table-many-queries-benchmarking-generalist-tabular.md)
- [An Open Implementation Flow for the Xilinx Spartan-3E and Spartan-6 that Runs in the Browser, Checked Byte for Byte Against ISE](https://refivu.com/papers/5ac731a8-e673-440c-80f2-006646cc9c6a-an-open-implementation-flow-for-the-xilinx-spartan.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/cbf2ea63-56ec-4c73-b583-028435947e11-maze-runner-autonomous-maze-navigation-with-line-based)
