ROS build single package
I am developing on a BeagleBone Black, running Debian Wheezy, using ROS Indigo. All the packages I need to use need to be compiled, which is no big deal.
But, right now when I need to compile a single package, all the packages are re-built. Currently I'm up to about 78 packages that I am building every time I add a new one, and that takes about 2 hours.
The steps I am using to build are (these are steps listed here http://wiki.ros.org/indigo/Installati... section 3) :
rosinstall_generator ros_comm ros_control joystick_drivers --rosdistro indigo --deps --wet-only --exclude roslisp --tar > indigo-custom_ros.rosinstall
(add my new package to the list above step)
wstool merge -t src indigo-custom_ros.rosinstall
wstool update -t src
rosdep install --from-paths src --ignore-src --rosdistro indigo -y -r --os=debian:wheezy
sudo ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --install-space /opt/ros/indigo
in the last step, can I add the --pkg <name>
command somewhere in there so I can only compile that one package? Like this?
sudo ./src/catkin/bin/catkin_make_isolated ***--pkg name*** --install -DCMAKE_BUILD_TYPE=Release --install-space /opt/ros/indigo
Is there another way? Is anything going to break if I do this?
Thanks!
Are you saying that all packages get rebuilt (so compiler, linker, etc), even if nothing has changed to those already built? Or just that
catkin
iterates over all pkgs in your workspace, and that takes a long time?