Gazebo | Ignition | Community
Ask Your Question
0

remove gazebo2 and install gazebo7 for ros indigo

asked 2017-05-05 21:02:35 -0600

shawnysh gravatar image

I have installed Indigo: host gazebo version 2.x package before.

Now I want to change gazebo2 to gazebo7, do I need to remove the gazebo2 and all the gazebo2 package related first, and then follow the official install tutorial?

If so, how to remove them cleanly, correctly and safely?

By the way, I also wonder if gazebo7 and ros-gazebo7 package installed, will any code which run on ros-gazebo2 run well on ros-gazebo7 as well?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2017-05-06 05:50:29 -0600

winston gravatar image

updated 2017-05-06 19:12:42 -0600

Yew, you have to remove gazebo2 first. Use this command: $ sudo apt-get remove gazebo2*. And then you follow the official tutorial. The easiest way is using the official script, which I put in my own repository and you are free to download.

And then if you want to integrate ROS and Gazebo well, then you are recommended to install ros-gazebo package using the following command: $ sudo apt-get install ros-indigo-gazebo7-ros-pkgs. Since there are some API modifications, chances are that you have to modify some functions in order to be compatible with Gazebo 7 if it was used in Gazebo 2 initially.

edit flag offensive delete link more

Comments

Thanks, you are really helpful!

shawnysh gravatar imageshawnysh ( 2017-05-22 06:17:12 -0600 )edit

I encounter anther problem related to gazebo-ros, could u please give me a hint? Thanks. http://answers.gazebosim.org/question/16314/catkin-error-gazebo-ros-control-missing-on-indigo-plus-gazebo7/

shawnysh gravatar imageshawnysh ( 2017-05-30 00:50:26 -0600 )edit

When I try to remove gazebo*, apt-get ask me to remove ros-kinetic-desktop-full, which I want to keep. How do you change the flag that enforces that removal ?

Cyril_J gravatar imageCyril_J ( 2018-07-13 09:40:18 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2017-05-05 21:02:35 -0600

Seen: 15,250 times

Last updated: May 06 '17