Robotics StackExchange | Archived questions

I cannot run gazebo 7 with ROS packages on Ubuntu 14. Is it not yet possible to do that?

I cannot run gazebo 7 with ROS packages on Ubuntu 14. Is it not yet possible to do that?

Asked by Rohit Dashrathi on 2016-02-09 21:02:07 UTC

Comments

Answers

I presume, as you're on Ubuntu 14, that you're using ROS Indigo. The Indigo version uses the Gazebo 2.x series, while Jade version (Ubuntu 15.04) uses Gazebo 5.x.

So I think it is not recommended to do that.

Asked by longforgotten on 2016-02-10 10:33:57 UTC

Comments

You can use gazebo6 with ros indigo and ros jade.

Asked by nkoenig on 2016-02-11 19:55:30 UTC

@nkoenig I didn't know that; glad to hear this notice :)

Asked by longforgotten on 2016-02-13 19:18:11 UTC

I faced the same problem. It asks to install Gazebo 2.2 when using with ROS Indigo. It seems that currently only Gazebo 2.x are supported for ROS indigo. Check the following link:

http://gazebosim.org/tutorials/?tut=ros_wrapper_versions

Asked by Rohit Dashrathi on 2016-02-11 11:36:26 UTC

Comments

You can install gazebo6 with ros indigo and ros jade. Instructions are in the link you refer to.

Asked by nkoenig on 2016-02-11 19:55:05 UTC

Hi, is it still true that Gazebo 6 is the most recent version that can be made to work with ros indigo?

Also, I have looked at the link above, but it I could still use a few more hints to make a non-2.2 version work with Indigo. For example, when it says "Use catkin workspaces to compile the rest of the software used from source," I'm not sure what is meant by "the rest of the software".

Asked by Colin on 2016-07-16 22:03:02 UTC

you can now use gazebo7. "rest of the software" refers to any packages that use simulation. For instance, you'll need to compile all turtlebot_simulator packages from source, and whatever robot you're using. You can't apt install them. You may also have to modify their source code because gazebo7 has many API changes from gazebo 2.

Asked by Peter Mitrano on 2016-07-17 15:11:30 UTC

Thanks Peter! While you can't speak to all robots, do you know if the turtlebot_simulator source code needs to be modified to accomodate gazebo7 or not? Do the odds improve for not having to modify source code if an earlier version of gazebo (e.g. 5 or 6) is used?

And are you referring to the process described here?:

http://wiki.ros.org/turtlebot/Tutorials/indigo/Turtlebot%20Installation#turtlebot.2BAC8-Tutorials.2BAC8-indigo.2BAC8-Source_Installation.Source_Installation

Asked by Colin on 2016-07-17 16:20:24 UTC

While I have your attention, maybe you could tell me which version of Gazebo I really want. The reason I want to move away from 2.2 is because there is no camera menu, or easy way to control where you're viewing from. In which version of Gazebo did the features related to that peak?

Asked by Colin on 2016-07-17 16:27:03 UTC

I can't imagine they've gotten worse... Gazebo 7 has the ability to view a model from any of the 6 faces. I'm not sure if 6 had that though. I'd go with 7, or build from source.

Asked by Peter Mitrano on 2016-07-19 16:03:47 UTC

I'm using the kobuki base, and I've got a branch for gazebo7 here. feel free to use it. https://github.com/PeterMitrano/kobuki_desktop

Asked by Peter Mitrano on 2016-07-19 16:07:35 UTC

Thanks so much for your replies!

I wasn't thinking of Gazebo getting worse, just higher odds of the API diverging from what turtlebot expects as versions increase. Do you think I could just install Gazebo 7, and then do the turtlebot installation described here?:

http://wiki.ros.org/turtlebot/Tutorials/indigo/Turtlebot%20Installation#turtlebot.2BAC8-Tutorials.2BAC8-indigo.2BAC8-Source_Installation.Source_Installation

Asked by Colin on 2016-07-20 20:15:40 UTC

And can one install multiple versions of Gazebo and easily switch back and forth between them?

Asked by Colin on 2016-07-20 20:16:21 UTC

I've never done anything with real turtlebot, but if you're unsure about something just build it from source so you can tweak if you need to. As for many gazebo versions--no. I feel like it should be possible with catkin workspaces or something, but I can't think of how that would work without having multiple copies of gazebo built from source... I'd pick a version and go with it.

Asked by Peter Mitrano on 2016-07-21 02:45:33 UTC

We are working on the ros packages that are compatible with gazebo7. They should be available soon.

Asked by nkoenig on 2016-02-11 19:55:55 UTC

Comments