deploy ros packages on remote machine?
What is the best way to deploy the ros packages i built in my local pc running ubuntu 20.04 to another machine eg. raspberry pi 4B running same OS i.e ubuntu 20.04 server image along with 3rd party libraries required to run this packages?
Asked by dinesh on 2020-09-09 18:04:05 UTC
Comments
just an observation: unless you used cross-compilation, or your local pc also happens to be based on the ARM cpu architecture, you cannot copy any binaries or libraries from your PC to your RPi.
They will not be usable on the Pi, as the cpu architectures won't match.
Asked by gvdhoorn on 2020-09-09 23:22:12 UTC
but is using docker container for this purpose efficient?
Asked by dinesh on 2020-09-10 01:26:40 UTC
No. No container technology will change the fact the cpu architectures are different :)
You'll need to look into cross-compilation if you want to build binaries for another cpu architecture.
Asked by gvdhoorn on 2020-09-10 02:07:48 UTC