Gazebo | Ignition | Community
Ask Your Question

gazebo binary version for ROS with self collision bug fixed

asked 2012-11-27 05:02:11 -0500

AndreiHaidu gravatar image


Does anybody knows when if there will be a binary version of Gazebo with the self collision bug fixed for ROS users?

Or some tips how to install gazebo from source under ROS.

Thanks, Andrei

edit retag flag offensive close merge delete

3 Answers

Sort by » oldest newest most voted

answered 2013-01-11 18:33:48 -0500

nkoenig gravatar image

The solution to your problem is to remove all versions of Gazebo and ROS, and start with a fresh install using the binary versions of Gazebo and ROS only.

It seems that your system has many different versions installed which are cause conflicts.

edit flag offensive delete link more

answered 2012-11-27 11:16:55 -0500

nkoenig gravatar image

Here are instructions for installing the binary or source version of gazebo for use with ROS.

edit flag offensive delete link more


Hi, I got the chance to test the instructions, sadly they did not work. I have ubuntu 12.04 with ROS fuerte installed on my PC. When installing the Pre-compiled binaries it does not come with the new gazebo.

AndreiHaidu gravatar imageAndreiHaidu ( 2012-11-29 05:56:14 -0500 )edit

@nkoenig, I think AndreiHaidu will be unable to mark his own answer as correct because of low karma. Can you do that for him? I'm thinking if a few people get enough karma to vote, the questions will be filtered better, and we'll get better participation.

asomerville gravatar imageasomerville ( 2012-11-29 13:34:30 -0500 )edit

answered 2012-11-29 06:21:31 -0500

AndreiHaidu gravatar image


I will answer here because in the comment I did not have enough space.

1) After installing the pre-compiled binaries I still have the old 1.0.2 version of Gazebo.

2) When trying to start the drc simulation with roslaunch drc_robot_utils drc_robot.launch it just waits at: process[drc_robot_controller_spawner-7]: started with pid [23870] and draws dots ...........

3) I installed then gazebo from source by downloading gazebo-1.2.6.tar.bz2 and building it. It worked without problems. But after adding it to the $ROS PACKAGE PATH, $ roscd gazebo still finds the old binary version from fuerte.

$echo ROS PACKAGE PATH yielding: /home/haidu/rosjava_ws:/home/haidu/ros/tumros-internal/simulation:/home/haidu/ros/sandbox:/home/haidu/ros/packages:/home/haidu/ros/simulator_gazebo-1.2.6:/opt/ros/fuerte/share:/opt/ros/fuerte/stacks

4) When trying to build drcsim (even though I do not need it) at step

. /usr/local/share/gazebo-1.2.0/ I only have 'gazebo-1.0.2' in that folder or 'gazebo-1.2' here: . /usr/share/gazebo-1.2/ (and I used this one)

then at step 'make' I get the following error

haidu@atbeetz4precise:~/ros/packages/drcsim/build$ make [ 7%] Building CXX object plugins/CMakeFiles/DRCBuildingPlugin.dir/ /home/haidu/ros/packages/drcsim/plugins/ In member function ‘virtual void gazebo::DRCBuildingPlugin::Load(gazebo::physics::ModelPtr, sdf::ElementPtr)’: /home/haidu/ros/packages/drcsim/plugins/ error: ‘class gazebo::physics::World’ has no member named ‘EnablePhysicsEngine’ /home/haidu/ros/packages/drcsim/plugins/ In member function ‘void gazebo::DRCBuildingPlugin::UpdateStates()’: /home/haidu/ros/packages/drcsim/plugins/ error: ‘class gazebo::math::Angle’ has no member named ‘Radian’ /home/haidu/ros/packages/drcsim/plugins/ error: ‘class gazebo::math::Angle’ has no member named ‘Radian’ make[2]: * [plugins/CMakeFiles/DRCBuildingPlugin.dir/] Error 1 make[1]: [plugins/CMakeFiles/DRCBuildingPlugin.dir/all] Error 2 make: ** [all] Error 2

Thanks, Andrei

edit flag offensive delete link more


@Andrei the best way to add info to a question is to use the edit link which should be the first link at the bottom right of your post, and slightly above the "post comment" line.

asomerville gravatar imageasomerville ( 2012-11-30 20:07:48 -0500 )edit

Question Tools


Asked: 2012-11-27 05:02:11 -0500

Seen: 1,354 times

Last updated: Jan 11 '13