How seongilheo/multi-robot-patrol-fleet works
This ROS 2 project simulates a three-robot fleet and coordinates patrol and other missions. The principal workflow is mission submission to the scheduler, robot selection and dispatch through the fleet manager, then per-robot patrol execution through Nav2. SLAM, map merging, readiness supervision, heartbeat aggregation, safety gating, and audit logging support that workflow. Relationships below are based on the README and shown source excerpts; several launch- and topic-level details are documented rather than verified in sampled source.
Main entry points: fleet_manager_node.cpp Fleet manager · robot_slam.launch.py Per-robot SLAM · system_readiness_supervisor.cpp Readiness supervisor · mission_scheduler_node.cpp Mission scheduler
Components 17
Fleet orchestration
- System bringup
src/bringup/launch/full_system.launch.py - Readiness supervisor
src/bringup/src/system_readiness_supervisor.cpp - Mission scheduler
src/scheduler/src/mission_scheduler_node.cpp - Fleet manager
src/fleet/src/fleet_manager_node.cpp - ROS interfaces
src/interfaces
Robot runtime
- Patrol manager
src/patrol/src/patrol_manager.cpp - Nav2 stack
src/navigation/launch/robot_navigation.launch.py - Safety gate
src/safety/src/safety_gate_node.cpp - Robot base
src/description
Mapping and localization
- Per-robot SLAM
src/mapping/launch/robot_slam.launch.py - Pose watchdog
src/mapping/src/pose_jump_watchdog.cpp - Map merger
src/merge_map/merge_map/merge_map.py
Simulation
- Gazebo fleet simulation
src/sim/launch/multi_robot_sim.launch.py
Fleet state and audit
- Robot heartbeat
src/fleet/src/robot_heartbeat_node.cpp - Mission store
src/fleet/src/mission_store.cpp
Other components
- Mission caller
- Gazebo / ROS caller
Connections 18
- Mission caller → Mission scheduler: queues mission
- Mission scheduler → Fleet manager: dispatches mission
- Fleet manager → Patrol manager: starts or stops
- Patrol manager → Nav2 stack: requests waypoints
- Nav2 stack → Safety gate: sends velocity
- Safety gate → Robot base: gates velocity
src/safety/src/safety_gate_node.cpp - Fleet manager → Safety gate: sets e-stop
- Readiness supervisor → Mission scheduler: gates dispatch
- Per-robot SLAM → Nav2 stack: provides map
- Per-robot SLAM → Map merger: provides occupancy maps
- Per-robot SLAM → Readiness supervisor: supplies readiness input
src/bringup/src/system_readiness_supervisor.cpp - Pose watchdog → Robot heartbeat: reports localization health
- Robot heartbeat → Fleet manager: reports robot state
- Fleet manager → Mission store: records events
src/fleet/src/fleet_manager_node.cpp - System bringup → Gazebo fleet simulation: starts simulation
- System bringup → Readiness supervisor: starts supervisor
- Gazebo fleet simulation → Robot base: spawns robots
src/sim/launch/multi_robot_sim.launch.py - Gazebo / ROS caller → Gazebo fleet simulation: provides world