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

building from source: incremental package download and build

asked 2013-01-22 01:54:06 -0600

Claudio gravatar image

I'm attempting to build ROS-mobile on the Pandaboard.

Since I'm (obviously) facing errors, I find it would be best if I could incrementally download packages.

For example start with ros-base, build and install, then move to robot, then mobile. Each time elimination the unneeded sources so to speed up the process.

How would I do this?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
-1

answered 2013-01-23 13:03:20 -0600

kalectro gravatar image

Are you trying to install groovy? If yes, try the following:

clone the packages you want to install into the src folder. Try to build and install it and fix occurring errors. If catkin_make install worked on all the packages in the src folder, simply move all folders from the src folder to the base folder by typing

mkdir donotbuild
mv src/* donotbuild

now you can download the next package and try to build those.

edit flag offensive delete link more

Comments

Instead of moving the packages to a different location you should just create another workspace which builds on top of the first one (see http://ros.org/wiki/catkin/Tutorials/workspace_overlaying).

Dirk Thomas gravatar image Dirk Thomas  ( 2013-01-23 15:14:03 -0600 )edit

why? This is a lot harder! He will have to build up a chain of catkin workspaces which can become really confusing depending on how many iterations he is going for. If you read the tutorial, it becomes pretty clear, that you should not use it for a task like his. The tutorial states:

kalectro gravatar image kalectro  ( 2013-01-23 17:17:59 -0600 )edit

Other than that, novice users should have little reason to use this feature, and work with just one workspace to avoid confusion. Having a chain of workspaces also forces the user to call make in workspaces in the right order, and can cause failures if overlaying packages [...]

kalectro gravatar image kalectro  ( 2013-01-23 17:18:52 -0600 )edit

Question Tools

Stats

Asked: 2013-01-22 01:54:06 -0600

Seen: 267 times

Last updated: Jan 23 '13