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

Add additional packages to catkin_ws?

asked 2013-05-05 11:48:16 -0500

TJump gravatar image

I've been working on getting ROS Groovy on a BeagleBone. Following the instructions on installing Groovy from source (http://www.ros.org/wiki/groovy/Installation/Source) (there are a few errors in this) I can build the catkin workspace with different variants just fine.

As I only need the BeagleBone for interfacing sensors remotely to my ROS PC I'm working mainly with the bare bones variant (ROS-Comm). I tried the Robot variant as it has the additional packages I need but there are erros with collada (and I don't need collada and several other packages that come with Robot so I'm starting with ROS-Comm).

Now my question: After the catkin workspace is built, how do you build new packages into the existing catkin ws?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-05-05 14:07:36 -0500

joq gravatar image

Add them to the src/ subdirectory and re-run catkin_make.

edit flag offensive delete link more

Comments

It appears these can be added after the variant and before rosdep, or after rosdep as well (but does rosdep need to be run again??).

TJump gravatar image TJump  ( 2013-05-06 07:34:37 -0500 )edit

@TJump if you have new packages then they might have new system dependencies, so yes you need to run rosdep... Otherwise their dependencies might not be met and their build might fail.

William gravatar image William  ( 2013-05-06 07:41:22 -0500 )edit

The other thing you can do is create another catkin workspace on top of the current workspace you have. This might be more efficient depending on your use case.

William gravatar image William  ( 2013-05-06 07:42:15 -0500 )edit

Question Tools

Stats

Asked: 2013-05-05 11:48:16 -0500

Seen: 707 times

Last updated: May 05 '13