Ask Your Question
0

rosdep basic usage

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

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

Hi,

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

  <build_depend>rtklib</build_depend>  
  <run_depend>rtklib</run_depend>

and

  <build_depend>mxnet</build_depend>  
  <run_depend>mxnet</run_depend>

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

 <run_depend>pygame</run_depend>

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

UPDATE:
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
0

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: https://github.com/ros/rosdistro/blob...

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: http://docs.ros.org/independent/api/r...

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

2 followers

Stats

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

Seen: 220 times

Last updated: Jun 21 '17