Robotics StackExchange | Archived questions

How to update Gazebo 9.0.0 to latest after ROS Melodic Full Desktop Install?

I have ROS Melodic and Gazebo 9.0.0 installed by installing ros-kinetic-desktop-full, but I'd like to update to the latest (Gazebo 9.12). I can't update Gazebo from source because it's tied to ROS.

Asked by fergusonian on 2020-03-24 19:34:06 UTC

Comments

Just curious, why do you need to? I'm also running ros melodic and gazebo-9. Should i upgrade?

Asked by rrklutz on 2020-03-26 17:28:10 UTC

Gazebo 9.0.0 has some bugs that were affecting my use but were fixed in Gazebo 9.12.0

Asked by fergusonian on 2020-03-28 20:46:44 UTC

Answers

This tutorial should have all the info you need: http://gazebosim.org/tutorials?tut=ros_wrapper_versions

In summary, since Gazebo 9 is the official version for Melodic, you should be able to upgrade to the latest Gazebo 9 minor version by following these instructions and keep using the rest of ROS as usual.

Asked by chapulina on 2020-03-25 11:57:35 UTC

Comments

Meaning that melodic users shouldn't upgrade at all?

Asked by rrklutz on 2020-03-26 17:28:54 UTC

That's definitely not what the tutorial says. I updated the answer, hopefully that's clear now.

Asked by chapulina on 2020-03-26 18:45:34 UTC

Sorry, I meant upgrade past version 9.

Asked by rrklutz on 2020-03-26 19:33:13 UTC

The tutorial also explains how to do that. The caveat there is that anything you build on top of gazebo_ros_pkgs will need to be compiled from source.

Asked by chapulina on 2020-03-26 19:50:20 UTC

I was trying to avoid compiling from source because I wanted to keep the ROS linkage. Thanks for the help though I was able to figure it out

Asked by fergusonian on 2020-03-28 20:46:34 UTC

I was able to upgrade from Gazebo 9.0.0 to Gazebo 9.12.0 with a simple sudo apt-get upgrade

Asked by fergusonian on 2020-03-28 20:44:40 UTC

Comments

You can follow the official instructions in http://gazebosim.org/tutorials?cat=install&tut=install_ubuntu&ver=9.0 Be sure to choose the version in the up-right corner to version=9.0 or any other version you want to install.

Following the step-by-step instructions from updating the sources lists.

And you will upgrade to the latest version (9.13.0) in 2020/04/21.

Asked by floodshao on 2020-04-20 21:49:19 UTC

Comments