Ask Your Question

rosdep basic usage

asked 2017-04-27 13:40:00 -0500

updated 2017-04-27 14:06:22 -0500


I have a couple packages that depend on python libraries ( one depends on rtklib and the other on mxnet)

My first question is do these belong in my package.yml file




I'm trying to get the hang of rosdep by doing a simpler example with pygame. I included


in my package.yml and then ran rosdep install <my-package>

but I get the error:

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

I also tried python_pygame but that did not work either

Okay, I got my pygame example working by using python-pygame because I found out that rosdep is using the apt package manager. Now I'm stuck because neither rtklib or mxnet are able to be install via apt. How should these be installed?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-06-21 03:15:23 -0500

tfoote gravatar image

Rosdep resolves to local ROS packages, entries in an active rosdistro, or by using the rosdep rules set

python-pygame works because it's already in the rules:

If you package is not in that set you need to add a local rosdep rule source or submit one upstream.

You can contribute new rules following this procedure:

edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools



Asked: 2017-04-27 13:40:00 -0500

Seen: 358 times

Last updated: Jun 21 '17