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

Best way to download and build a package dependency?

asked 2011-02-24 02:32:07 -0600

Murph gravatar image

updated 2011-02-24 02:36:18 -0600

Lets say I want my new project to depend on 'freenect'. What would the best way to download and install that package be? Is there an automated tool that works?

I tried this:

$ rosdep install freenect

Warning: could not identify ['freenect'] as a package

rosdep: error: No Valid Packages listed

And this:

$ rosmake freenect --rosdep-install

[ rosmake ] WARNING: The following args could not be parsed as stacks or packages: ['freenect']

And lastly this:

/src/robos/ros-workspace$ rosinstall . https://github.com/ros-pkg-git/kinect...

ERROR: No 'ros' stack detected. The 'ros' stack is required in all rosinstall directories. Please add a definition of the 'ros' stack either manually in .rosinstall and then call 'rosinstall .' in the directory. Or add one on the command line 'rosinstall . http://www.ros.org/rosinstalls/boxtur... . Or reference an existing install like in /opt/ros/boxturtle with 'rosinstall . /opt/ros/boxturtle'. Note: the above suggestions assume you are using boxturtle, if you are using latest or another distro please change the urls.

edit retag flag offensive close merge delete

Comments

Obviously, I could follow the hint in the rosinstall output, but I'm not sure if i'm barking up the wrong tree with it - I didn't see any mention of rosinstall in the tutorial and I just stumbled on it's existence.
Murph gravatar image Murph  ( 2011-02-24 02:33:15 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2011-02-24 04:24:50 -0600

tfoote gravatar image

updated 2011-02-24 04:27:00 -0600

There are instructions for installing the Kinect on the wiki at http://www.ros.org/wiki/kinect

In general you will need to either have a fully encompassing rosinstall file which includes all dependencies or you need to overlay it on top of an existing ros installation. If you install the dependencies from debian packages for cturtle you would call:

rosinstall . /opt/ros/cturtle kinect.rosinstall
edit flag offensive delete link more

Comments

Alright :) seems that rosinstall is the way to go. I think I was just confused a bit by having three 'install' options.
Murph gravatar image Murph  ( 2011-02-24 04:41:57 -0600 )edit

Question Tools

Stats

Asked: 2011-02-24 02:32:07 -0600

Seen: 1,410 times

Last updated: Feb 24 '11