How trymf/ros2_ws_competition_gr1 works
This ROS 2 multi-robot rescue challenge simulates two TurtleBot3s exploring a world, detecting numbered markers and reporting their positions for scoring. The operator launches a world, the scoring node, and the challenge nodes; robots explore while camera-based detection feeds a leader that submits marker reports and guides the robots toward the big fire. The graph also shows simulation assets, scoring interfaces, and the ArUco pose-processing layer. Some launch and marker-pose implementation details were not excerpted, so those connections are omitted or marked unverified.
Main entry points: aruco_node.py Marker detection · leader.py Marker and fire leader · scoring.py Challenge scoring · robot_handler.py Wall-following robots
Components 19
Simulation
- World launch
src/multi_robot_challenge_23/launch/rescue_robots_w1.launch.py - World assets
src/multi_robot_challenge_23/worlds - Robot spawning
src/multi_robot_challenge_23/launch/spawn_robot.launch.py - Robot model
src/multi_robot_challenge_23/urdf/turtlebot3_waffle_pi.urdf.xacro
Robot exploration
- Challenge launch
src/multi_robot_challenge_23/launch/rescue_nodes.launch.py - Wall-following robots
src/multi_robot_challenge_23/multi_robot_challenge_23/robot_handler.py
Marker vision
- ArUco launch
src/multi_robot_challenge_23/launch/aruco_recognition.launch.py - Marker detection
src/ros2_aruco/ros2_aruco/ros2_aruco/aruco_node.py - Pose visualization
src/ros2_aruco/ros2_aruco/ros2_aruco/aruco_pose_vis.py - Pose transforms
src/ros2_aruco/ros2_aruco/ros2_aruco/transformations.py - Marker map poses
src/multi_robot_challenge_23/multi_robot_challenge_23/marker_pose.py
Coordination and scoring
- Marker and fire leader
src/multi_robot_challenge_23/multi_robot_challenge_23/leader.py - Challenge scoring
src/multi_robot_scoring/scoring/scoring/scoring.py - Marker-position service
src/multi_robot_scoring/scoring_interfaces/srv/SetMarkerPosition.srv
Other components
- Operator
- Gazebo simulator
- TurtleBot3s
- Camera input
- Gazebo entity state
Connections 24
- Operator → World launch: launches world
README.md - Operator → Challenge scoring: starts scoring
README.md - Operator → Challenge launch: starts nodes
README.md - World launch → Gazebo simulator: starts simulation
- World assets → Gazebo simulator: provides worlds
- Robot spawning → Robot model: processes description
src/multi_robot_challenge_23/launch/spawn_robot.launch.py - Robot spawning → Gazebo simulator: spawns entity
src/multi_robot_challenge_23/launch/spawn_robot.launch.py - Gazebo simulator → TurtleBot3s: simulates
- Challenge launch → Wall-following robots: starts nodes
- Wall-following robots → TurtleBot3s: commands motion
src/multi_robot_challenge_23/multi_robot_challenge_23/robot_handler.py - TurtleBot3s → Wall-following robots: sends sensor data
src/multi_robot_challenge_23/multi_robot_challenge_23/robot_handler.py - ArUco launch → Marker detection: starts detector
- Camera input → Marker detection: sends images
src/ros2_aruco/ros2_aruco/ros2_aruco/aruco_node.py - Marker detection → Pose transforms: uses transforms
src/ros2_aruco/ros2_aruco/ros2_aruco/aruco_node.py - Pose visualization → Pose transforms: uses transforms
src/ros2_aruco/ros2_aruco/ros2_aruco/aruco_pose_vis.py - Marker detection → Marker map poses: provides detections
- Marker map poses → Marker and fire leader: publishes marker data
src/multi_robot_challenge_23/multi_robot_challenge_23/leader.py - TurtleBot3s → Marker and fire leader: reports odometry
src/multi_robot_challenge_23/multi_robot_challenge_23/leader.py - Marker and fire leader → Marker-position service: calls service
src/multi_robot_challenge_23/multi_robot_challenge_23/leader.py - Marker-position service → Challenge scoring: defines request
- Marker and fire leader → Wall-following robots: publishes fire target
src/multi_robot_challenge_23/multi_robot_challenge_23/robot_handler.py - Challenge scoring → TurtleBot3s: reads odometry
src/multi_robot_scoring/scoring/scoring/scoring.py - Challenge scoring → Gazebo entity state: requests entity state
src/multi_robot_scoring/scoring/scoring/scoring.py - Gazebo entity state → Gazebo simulator: queries models