ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Custom ROS Variant

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

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 ""
edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

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

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



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 -0600 )edit

Question Tools


Asked: 2012-11-26 14:09:39 -0600

Seen: 242 times

Last updated: Nov 26 '12