Mon 08 April 2013

Installing gazebo with your ros groovy install on Fedora 18

Posted by ankur in Tech (235 words, approximately a 1 minute read)

I need to use the PR2-simulator package on my groovy installation. One must first set up gazebo for this.

Installing gazebo is pretty straight forward as described in this post.

If you used the instructions from the ros wiki, you'd have a ros workspace set up.

A few devel packages are required though. I think the following list covers it. Look out for any build errors. If there are any more packages to be installed, the error messages will tell you:

sudo yum install freeimage-devel player-devel libtool-ltdl-devel cegui-devel libtar-devel protobuf-devel libXaw-devel ois-devel

cd ros_ws #your ros workspace

#common_rosdeps: required by ogre
rosws set common_rosdeps --hg
rosws update common_rosdeps
rosmake common_rosdeps

#vizualization_common. The fedora ogre package doesn't appear to cut it.
rosws set visualization_common --svn
rosws update visualization_common
rosmake visualization_common

rosws set simulator_gazebo --svn
rosws update simulator_gazebo
rosmake simulator_gazebo

It'll take a while to install. Took about 30 minutes on my system. That completes the install. I'm still trying to figure out how to use it though. Maybe I'll write another post when I get somewhere with that.

It's worth mentioning that Rich submitted gazebo for review already. It has a few build requires that need to be reviewed.

EDIT: While this appears to install gazebo properly, it doesn't run. It gives me an OGRE missing openGL error, but OGRE is indeed installed with openGL support.