Ask Your Question
1

add rosdep rule

asked 2013-02-20 22:23:54 -0500

updated 2013-02-22 00:46:21 -0500

Hi everyone, because of this question, I would like to add a rosdep rule for octomap_mapping -> ros-fuerte-octomap-mapping. I went to the rosdep page and read the instructions on how to do it. I created a github account, read the instructions there, forked the directory, added it to my local github sources, used google to find out how to use git to get a local checkout of a github repository and browsed through the rosdep/base.yaml and releases/fuerte.yaml.

Now I am stuck because I don't know how to add the rule. The existing octomap rules in releases/fuerte.yaml are cryptic to me and the rules in base.yaml never reference a ros-fuerte-xxx package. I am a bit frustrated about the time lost at the entry barrier. Any suggestions how to get it done quickly?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2013-03-20 06:57:42 -0500

tfoote gravatar image

If octomap is in releases/fuerte.yaml make sure you have the line:

gbpdistro https://github.com/ros/rosdistro/raw/master/releases/fuerte.yaml fuerte

in your rosdep sources

And make sure to set ROS_DISTRO=fuerte

Such that you will get the following:

$ ROS_DISTRO=fuerte rosdep resolve octomap
#apt
ros-fuerte-octomap
edit flag offensive delete link more
0

answered 2013-02-20 23:00:15 -0500

dornhege gravatar image

I'm not sure, where you are stuck. Is it the git/github part or the ROS/rosdep part?

As to git, maybe you did something too complicated. The biggest obstacle would probably be creating a github account and maybe learning some raw basics about git. The actual workflow should be quite simple:

  • Click the fork button on rosdistro
  • Within your fork in github, copy the repository URL from the top
  • git clone <paste>
  • Do stuff...
  • git commit
  • git push
  • Back on github: Click the Pull Request button at the top and proceed
edit flag offensive delete link more

Comments

Thanks, I'm stuck with "Do stuff", I'll clarify in the original post

Felix Endres gravatar image Felix Endres  ( 2013-02-22 00:44:36 -0500 )edit

I just realized that you want to add a rule for a release ROS package, not a system package (although raw octomap is). I think this is similar to my earlier question: http://answers.ros.org/question/48825/rosdep-rules-for-released-stacks/

dornhege gravatar image dornhege  ( 2013-02-22 02:27:24 -0500 )edit

There are some rules for a minor number of ROS packages, but I don't know where they come from...

dornhege gravatar image dornhege  ( 2013-02-22 02:28:03 -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

Stats

Asked: 2013-02-20 22:23:54 -0500

Seen: 298 times

Last updated: Mar 20 '13