Posted by @pranavk-2003:
Recently installed openrmf on ROS2 Jazzy and was facing issue while colcon build but solved it by replacing ign by gazebo in Cmakelist
COMMAND ros2 run rmf_building_map_tools building_map_generator gazebo {map_path} {ign_output_world_path} ${ign_output_model_dir}
I am trying to launch the hotel.launch.xml. rviz launches with the map i get this error .
pranav@pranav-vivobok:~/rmf_ws$ ros2 launch rmf_demos_gz hotel.launch.xml
[INFO] [launch]: All log files can be found below /home/pranav/.ros/log/2025-03-27-18-18-39-566281-pranav-vivobok-55804
[INFO] [launch]: Default logging verbosity is set to INFO
[ERROR] [ign-22]: exception occurred while executing process:
Traceback (most recent call last):
File “/opt/ros/jazzy/lib/python3.12/site-packages/launch/actions/execute_local.py”, line 569, in __execute_process
transport, self._subprocess_protocol = await async_execute_process(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/opt/ros/jazzy/lib/python3.12/site-packages/osrf_pycommon/process_utils/async_execute_process_asyncio/impl.py”, line 139, in async_execute_process
transport, protocol = await _async_execute_process_nopty(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/opt/ros/jazzy/lib/python3.12/site-packages/osrf_pycommon/process_utils/async_execute_process_asyncio/impl.py”, line 45, in _async_execute_process_nopty
transport, protocol = await loop.subprocess_exec(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3.12/asyncio/base_events.py”, line 1744, in subprocess_exec
transport = await self._make_subprocess_transport(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3.12/asyncio/unix_events.py”, line 211, in _make_subprocess_transport
transp = _UnixSubprocessTransport(self, protocol, args, shell,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3.12/asyncio/base_subprocess.py”, line 36, in init
self._start(args=args, shell=shell, stdin=stdin, stdout=stdout,
File “/usr/lib/python3.12/asyncio/unix_events.py”, line 820, in _start
self._proc = subprocess.Popen(
^^^^^^^^^^^^^^^^^
File “/usr/lib/python3.12/subprocess.py”, line 1026, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File “/usr/lib/python3.12/subprocess.py”, line 1955, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: ‘ign’
[ERROR] [launch]: Caught exception in launch (see debug for traceback): “package ‘ros_ign_bridge’ not found, searching: [‘/home/pranav/rmf_ws/install/rmf_demos_gz_classic’, ‘/home/pranav/rmf_ws/install/rmf_demos_gz’, ‘/home/pranav/rmf_ws/install/rmf_demos’, ‘/home/pranav/rmf_ws/install/rmf_demos_tasks’, ‘/home/pranav/rmf_ws/install/rmf_demos_panel’, ‘/home/pranav/rmf_ws/install/rmf_demos_maps’, ‘/home/pranav/rmf_ws/install/rmf_demos_fleet_adapter’, ‘/home/pranav/rmf_ws/install/rmf_demos_dashboard_resources’, ‘/home/pranav/rmf_ws/install/rmf_demos_bridges’, ‘/home/pranav/rmf_ws/install/rmf_demos_assets’, ‘/opt/ros/jazzy’]”
surely i am missing something.