deploy ros packages on remote machine?

asked 2020-09-09 18:04:05 -0500

dinesh gravatar image

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?

edit retag flag offensive close merge delete

Comments

1

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

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.

gvdhoorn gravatar image gvdhoorn  ( 2020-09-09 23:22:12 -0500 )edit

but is using docker container for this purpose efficient?

dinesh gravatar image dinesh  ( 2020-09-10 01:26:40 -0500 )edit

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.

gvdhoorn gravatar image gvdhoorn  ( 2020-09-10 02:07:48 -0500 )edit