Gazebo | Ignition | Community
Ask Your Question

Want to install gazebo5 but has ROS indigo installed.

asked 2015-03-04 09:49:50 -0600

winston gravatar image

I want to install Gazebo5. But I have already installed ROS indigo which provides Gazebo2 instead. I think this is because Gazebo2 works well with ROS indigo(am I right?).So if I want to install Gazebo5 I have to remove Gazebo2. Now the problem is I am not sure whether I can use Gazebo5 to communicate with ROS or not? Specifically, I want to use the ROS message mechanism in Gazebo5 as well, does ROS indigo support Gazebo 5?

Thanks for any suggestion.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2015-03-06 11:32:25 -0600

In order to have Gazebo5 with ROS Indigo you have to uninstall first the gazebo2 packages that ROS Indigo installed (ros-indigo-gazebo-*)

Then add the osrf repositories to your Linux package manager and follow the command provided by Jose Luis Rivero here

I'm using Gazebo5 with ROS and it works fine. When I installed it, I remember there was one of the ros-indigo-gazebo5-* packages that was not installed by default. Just check that all your ros-indigo-gazebo5-* packages are installed.

edit flag offensive delete link more

answered 2015-03-04 10:40:41 -0600

nkoenig gravatar image

Take a look at the gazebo/ros tutorials.

edit flag offensive delete link more


As I am new to gazebo and ROS I don't quite fully understand all the content. :( So can you verify my understanding? Is it better to use Gazebo2.0 in ROS indigo? Why is it better? Is it because I can only install other softwares(like turtlebotgazebo) from source using catkin workspace with the help of gazeboros_pkg if I don't use Gazebo2.0 with ROS indigo?

winston gravatar imagewinston ( 2015-03-04 17:16:54 -0600 )edit

You understood it right. It is not better or worse to use the different versions of Gazebo unless you need to use an specific new feature. The point of using gazebo2 with ROS/Indigo is that is fully compatible with ROS .deb packages.

Jose Luis Rivero gravatar imageJose Luis Rivero ( 2015-03-04 18:33:00 -0600 )edit

Could you elaborate? That tutorial explains very little, much less how to build anything from source. I have ros-indigo-gazebo5-ros-pkgs installed, but `rosdep install` fails, complaining it can't install `ros-indigo-gazebo-ros-control` because that requires gazebo2.

Cerin gravatar imageCerin ( 2015-04-25 22:29:52 -0600 )edit

Question Tools

1 follower


Asked: 2015-03-04 09:49:50 -0600

Seen: 2,821 times

Last updated: Mar 06 '15