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

Revision history [back]

The PR2's two machines share one common home partition over NFS. We do the same for our other robot. To use NFS, few constraints need to be met:

  • Your computers only communicate over Ethernet, not Wifi. Otherwise NFS might get too slow.
  • You have the same operating system on all of the computers (e.g. Ubuntu, same version, all either 64 bit or 32 bit). This is important because the binaries that are compiled on one machine need to be compatible with the binaries on all other machines.
  • Usernames/user ids and groups should be shared on all computers, e.g. via LDAP.

If NFS does work for you, I think the only way is to keep your source code in repositories which I guess is done anyway, and to update and compile the code on each machine separately. As Marti pointed out already, it shouldn't be too hard to write a script that uses ssh to compile everything on each machine.

The PR2's two machines share one common home partition over NFS. We do the same for our other robot. To use NFS, a few constraints need to should be met:

  • Your computers only communicate over Ethernet, not Wifi. Otherwise NFS might get too slow.
  • You have the same operating system on all of the computers (e.g. Ubuntu, same version, all either 64 bit or 32 bit). This is important because the binaries that are compiled on one machine need to be compatible with the binaries on all other machines.
  • Usernames/user ids and groups should be shared on all computers, e.g. via LDAP.

If NFS does work for you, I think the only way is to keep your source code in repositories which I guess is done anyway, and to update and compile the code on each machine separately. As Marti pointed out already, it shouldn't be too hard to write a script that uses ssh to compile everything on each machine.