From 02ecbb5bf31e28ecfa83f8956fe37fc2b4519d89 Mon Sep 17 00:00:00 2001 From: Breelyn Styler Date: Thu, 10 Sep 2026 19:24:03 -0400 Subject: [PATCH 1/2] feat(hangar_sim): add Build Map objective Epic #16487 promised operators could build maps through the MoveIt Pro Desktop App. What shipped instead was a single checked-in map a developer generated once through a CLI, and localization_launch.py pointed readers at slam:=True with no Objective to drive it from. Teleoperate to explore while slam_toolbox builds the grid, then save it on the operator's confirmation. Teleop mode 1 (JOINT_JOG) is what drives the base here, and the response timeout accounts for slam_toolbox shelling out to map_saver_cli. Refs #18066 Co-Authored-By: Claude Opus 5 (1M context) --- src/hangar_sim/objectives/build_map.xml | 39 +++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 src/hangar_sim/objectives/build_map.xml diff --git a/src/hangar_sim/objectives/build_map.xml b/src/hangar_sim/objectives/build_map.xml new file mode 100644 index 000000000..a16818b3a --- /dev/null +++ b/src/hangar_sim/objectives/build_map.xml @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + From bc2404d8c754f9d8732262105cfe6923a802307d Mon Sep 17 00:00:00 2001 From: Breelyn Styler Date: Thu, 10 Sep 2026 19:59:57 -0400 Subject: [PATCH 2/2] feat(hangar_sim): load the SLAM Behaviors package for Build Map CallSaveMapService ships in moveit_pro_slam_behavior rather than in the shared Behavior library, so a configuration has to opt in. Only configurations that build maps then depend on slam_toolbox. Refs #18066 Co-Authored-By: Claude Opus 5 (1M context) --- src/hangar_sim/config/config.yaml | 3 +++ src/hangar_sim/package.xml | 1 + 2 files changed, 4 insertions(+) diff --git a/src/hangar_sim/config/config.yaml b/src/hangar_sim/config/config.yaml index ec7de13d0..30d71cddb 100644 --- a/src/hangar_sim/config/config.yaml +++ b/src/hangar_sim/config/config.yaml @@ -70,6 +70,9 @@ objectives: - "moveit_pro::behaviors::VisionBehaviorsLoader" - "moveit_pro::behaviors::ConverterBehaviorsLoader" - "moveit_pro::behaviors::MujocoBehaviorsLoader" + # SLAM Behaviors live in their own package so that only configurations + # which build maps depend on slam_toolbox. + - "moveit_pro::behaviors::SlamBehaviorsLoader" # Specify source folder for objectives # [Required] objective_library_paths: diff --git a/src/hangar_sim/package.xml b/src/hangar_sim/package.xml index 938fb2590..7d63c5ccc 100644 --- a/src/hangar_sim/package.xml +++ b/src/hangar_sim/package.xml @@ -23,6 +23,7 @@ beluga_amcl dual_laser_merger laser_filters + moveit_pro_slam_behavior nav2_bringup picknik_accessories picknik_mujoco_ros