Cannot launch RMF_Demos successfully (Rviz2 launches successfully, but Gazebo crashes in about 5 seconds) #557
-
I currently have Ubuntu version 22.04 and ROS2 Humble. I have managed to successfully install Open-RMF by following the Build from Source instructions. I can successfully colcon build it, however as mentioned in the title, I cannot launch RMF Demos successfully. Here is the link to the gists that I have attached regarding this issue: Please look at the following titles for the gists: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Glancing over the logs it looks you're trying to bounce between many different combinations of package versions. Sometimes I see gz, other times I see ign. I see Specifically what instructions are you following to build up your workspace and how are you deciding on what versions of various packages to use? For the smoothest possible experience in getting Open-RMF working, I suggest using Ubuntu 24.04 and the jazzy distro of ROS. That will allow all Open-RMF packages to work from their |
Beta Was this translation helpful? Give feedback.
The instructions from the multirobotbook are for Ubuntu 20.04 while the instructions for the README are for Ubuntu 22.04, so if you try to mix those together then it's not surprising if you run into errors.
Instead of setting up Gazebo based on the old instructions in the multirobot book, you should follow the instructions in the README very precisely, and the correct version of Gazebo will be automatically installed by rosdep.
If you are using Ubuntu 22.04 then I recommend purging all apt-installed packages related to gazebo and Open-RMF, remove all gazebo packages from your colcon workspace (if you were trying to build gazebo from source), and then follow the README instructions very ca…