Gazebo | Ignition | Community
Ask Your Question
0

Confusion Regarding Gazebo 4 and ROS Installation

asked 2014-10-21 12:11:47 -0600

K. Zeng gravatar image

updated 2014-10-21 12:14:20 -0600

I have been trying to install Gazebo 4 along with ROS Indigo in the following method:

    1. Install ros-indigo-desktop-full
    2. Run sudo apt-get remove gazebo-* (I realized that it also removes ROS)
    3. Following along the source installation instructions for Gazebo 4 on this page (http://gazebosim.org/tutorials?tut=install), which resulted in a problem related to this question (http://answers.gazebosim.org/question/7224/gazebo-4-installation-fails-on-make-j4/)

Is there something I'm doing wrong? An answer I got from a different question here (http://answers.gazebosim.org/question/7008/gazebo-4-installation-help/) yielded a different way to install Gazebo 4 along side ROS Indigo. Am I supposed to just do a desktop install and not a full install? Or would the Gazebo 4 packages automatically override the Gazebo 2 ones that came with Indigo?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-10-22 12:58:12 -0600

scpeters gravatar image

I recommend this tutorial, which describes how to use different combinations of ROS and Gazebo versions. Short answer: install ros-indigo-gazebo4-ros-pkgs to use gazebo4 with ROS.

edit flag offensive delete link more

Comments

Thank you, I'll try to follow along with it. Should I install the full desktop version of ROS (that includes Gazebo 2), then? Or should I go for the plain desktop version (with rqt, rviz, and robot-generic libraries and no Gazebo)?

K. Zeng gravatar imageK. Zeng ( 2014-10-22 14:23:56 -0600 )edit

Also, should I install ROS first or Gazebo first. I noticed that when I installed ros-indigo-gazebo4-ros-pkgs, ros-indigo-desktop-full was automatically removed.

K. Zeng gravatar imageK. Zeng ( 2014-10-22 15:10:04 -0600 )edit

You can install ros-indigo-desktop-full first and then ros-indigo-gazebo4-ros-pkgs and it will leave any packages that aren't in conflict

scpeters gravatar imagescpeters ( 2014-10-22 15:15:12 -0600 )edit

It works now! Thank you very much.

K. Zeng gravatar imageK. Zeng ( 2014-10-22 16:04:21 -0600 )edit

Question Tools

Stats

Asked: 2014-10-21 12:11:47 -0600

Seen: 396 times

Last updated: Oct 22 '14