Posted by @01fpcrd:
I have installed RMF on Ubuntu 22.04 and want to test an RMF demo.
When I execute the following command, both Gazebo and rviz2 are launched.(success)
=>ros2 launch rmf_demos_gz hotel.launch.xml
=>ros2 launch rmf_demos_gz office.launch.xml
However, I noticed that Gazebo consumes a lot of system resources, so I want to disable it while keeping rviz2 open to visualize the robot’s path.
How can I achieve this with the correct command?
I found some commands online, but they not only prevent Gazebo from launching but also fail to start rviz2.
=>ros2 launch rmf_demos_gz hotel.launch.xml headless:=true
I tried commenting out the contents of ./rmf_ws/install/rmf_demos_gz/share/rmf_demos_gz/office.launch.xml,
but it seems to cause unexpected errors, resulting in the AMR not being displayed.
The commented-out code:
<?xml version='1.0' ?>The error message that appeared:
Edited by @01fpcrd at 2025-03-12T09:47:03Z