You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
message("BUILDING WORLDFILE WITH COMMAND: ros2 run rmf_building_map_tools building_map_generator gazebo ${building_map_path}${output_world_path}${output_model_dir}")
200
+
if (NO_DOWNLOAD_MODELS)
201
+
add_custom_command(
202
+
DEPENDS${building_map_path}
203
+
COMMAND ros2 run rmf_building_map_tools building_map_generator gazebo ${building_map_path}${output_world_path}${output_model_dir}
204
+
OUTPUT${output_world_path}
205
+
)
206
+
else()
207
+
message("DOWNLOADING MODELS WITH COMMAND: ros2 run rmf_building_map_tools building_map_model_downloader ${building_map_path}")
208
+
add_custom_command(
209
+
DEPENDS${building_map_path}
210
+
COMMAND ros2 run rmf_building_map_tools building_map_generator gazebo ${building_map_path}${output_world_path}${output_model_dir}
211
+
COMMAND ros2 run rmf_building_map_tools building_map_model_downloader ${building_map_path} -e ~/.gazebo/models
0 commit comments