seperate build and install target machines
Hi,
I am new to ROS community. I have dedicated build server for all ROS packages. Once a package is successfully build I want to transfer only package binaries to target machine. The target machine has ROS installed. Currently I am following approach.
- catkin_make -install -DCMAKE_INSTALL_PREFIX package_name
- compress the install directory
- transfer and decompress the ROS package
- Update ROS_PACKAGE_PATH on target and
- rosrun pacakge_name executable
However ROS is failing to locate the package. I am guessing I need to update the scripts setup scripts generated in build process. However, these scripts have hardcoded values of build project path so cannot directly copy paste. I even tried to replace catkin workspace directory path with installed path on target machine. Still rosrun cannot find the package.
Can anyone please guide me in this regard? I am using ROS 1.11.8 on Ubuntu 14.04
Were you able to figure something out?
Yes. I have wrote a script to provide this functionality. One requirement for my script to work is to provide install rule for each package and run catkin_make install to build packages. If you need I can upload it in separate GitHub repo and provide link here.