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

Revision history [back]

click to hide/show revision 1
initial version

answered 2016-02-15 12:03:06 -0600

joq gravatar image

I assume that both machines have the same instruction set architecture and run the same OS. Otherwise, it probably won't work.

  1. Most likely, you do need the same ROS distro installed on both machines, A and B.

  2. The simplest approach is using CMake to install your packages in a location that can be the same on each machine.

    • Define a CMAKE_INSTALL_PREFIX for some location like: /opt/your_ros_install.
    • Run sudo make install to allow installing there.
    • Copy the install directory from machine A to machine B, using scp or tar or some other technique.

To run your installed ROS packages on either machine: source /opt/your_ros_install/setup.bash.