Ask Your Question
0

How to build Gazebo packages with Indigo

asked 2015-04-25 22:54:17 -0500

Cerin gravatar image

I'm trying to follow this tutorial to build a myrobot_gazebo package for Indigo with Gazebo 5.

I create my package with:

catkin_create_pkg myrobot_gazebo gazebo5_msgs gazebo5_plugins gazebo5_ros gazebo5_ros_control myrobot_description

then, when I try to update my dependencies with:

rosdep update
rosdep install --from-paths . --ignore-src --rosdistro indigo

I get the error:

ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
myrobot_gazebo: Cannot locate rosdep definition for [gazebo5_ros]

How do I fix this?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2015-04-26 02:06:14 -0500

ahendrix gravatar image

The ROS packages names for the Gazebo 5 packages don't include the version number, even though the apt package names do.

For example, if you've installed ros-indigo-gazebo5-ros, your dependency should still be on gazebo_ros

edit flag offensive delete link more

Comments

Thanks. I can't believe I missed this. I actually ran catkin_create_pkg with the non-version numbers first, and received a different error from rosdep, so I changed it to the versioned names. After I installed the gazebo5 packages with apt-get, I forgot to rerun the catkin_create_pkg.

Cerin gravatar imageCerin ( 2015-04-26 10:07:59 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-04-25 22:54:17 -0500

Seen: 276 times

Last updated: Apr 26 '15