Wormhole-Based Autonomous Navigation Across Multiple Rooms
This project demonstrates a novel approach to multi-map, multi-room autonomous navigation using wormhole-based transitions on the ANSCER AR100 Autonomous Mobile Robot (AMR). The system enables seamless navigation across different mapped environments by intelligently managing map switching and route planning through a custom wormhole database, making it ideal for large facilities with multiple distinct areas.
Traditional robot navigation systems typically operate within a single map, limiting their ability to navigate large, multi-room environments efficiently. This project addresses this limitation by implementing a "wormhole" concept—predefined transition points between maps that allow the robot to seamlessly move between different mapped areas. The system was developed and tested using the AR100 robot by Anscer Robotics in a custom multi-room simulation environment.
The system comprises three main components working together to enable multi-map navigation:
The SQLite database stores all wormhole connections, enabling the robot to find paths between different maps:
| from_map | to_map | from_x | from_y |
|---|---|---|---|
| map1 | map2 | -7.8 | 1.2 |
| map2 | map1 | -7.8 | 1.0 |
| map1 | map3 | 8.5 | 2.5 |
| map3 | map1 | 8.5 | 2.5 |
When the target is in an adjacent map with a direct wormhole connection:
When there's no direct wormhole, the system routes through an intermediate "hub" map:
A PyQT GUI was developed for easy goal specification, allowing users to input target coordinates and the destination map name:
# Goal
float64 target_x
float64 target_y
string target_map
---
# Result
bool success
string message
---
# Feedback
string feedback_msg
navigation_server.cpp — Handles navigation requests and manages map transitionsmap_switcher.cpp — Controls map_server for dynamic map loadingwormhole_manager.cpp — Loads wormhole data and determines optimal routesThis project provides a modular and scalable framework for multi-environment navigation using ROS and SQLite. The wormhole-based approach enables robots to seamlessly traverse large facilities with multiple distinct areas, making it ideal for applications in smart facilities, research environments, and warehouse automation. The system demonstrates the feasibility of extending single-map navigation to complex multi-room scenarios without requiring a single unified map.