Ask Your Question
1

Custom ROS Variant

asked 2012-11-26 14:09:39 -0500

Kevin gravatar image

Can I declare my own variant in rosdistro/releases/groovy.yaml to install only the packages I want?

Why would I want to do this? Not everything historically works/compiles on OSX and I would like to select which packages I install instead of the historical "ROS-Full". I am also doing work with Debian on Raspberry Pi and would like to do something similar.

Example use case:

variants: ros-base: - actionlib - catkin - common_msgs - gencpp - genlisp … kevin-varient - actionlib - catkin - vision_opencv - tf ….

If "yes," then how can I do this? Is it something like:

  1. fork rosdistro
  2. make changes to rosdistro/releases/groovy.yaml similar to above
  3. edit /etc/ros/rosdep/sources.list.d/20-default.list to point to my fork on github
  4. rosinstall --catkin ~/ros "http://github.com/whatever/groovy.yaml"
edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
2

answered 2012-11-26 15:14:15 -0500

joq gravatar image

Variants are changing drastically in Groovy.

You should now be able to define a catkin metapackage containing only a package.xml file listing the desired dependencies.

edit flag offensive delete link more

Comments

1

For non catkin based things variants can only be setup in the ROSDISTRO.rosdistro file, aka groovy.rosdistro file. If you submit a custom variant as a ticket on the ros trac we can add it. Looking forward as @joq mentions a variant will simply be a released metapackage with the common toolchain.

tfoote gravatar image tfoote  ( 2012-12-03 22:28:28 -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: 2012-11-26 14:09:39 -0500

Seen: 140 times

Last updated: Nov 26 '12