docker ros development with the RPI
Hello,
I managed to follow the tutorial, and I can deploy docker images on a rpi4, running hypriot os.
I am planning to completely dockerize my workflow, and I even managed to mount a local catkin_ws to my docker instance, which works out quite cool.
How can I catkin_make on my laptop (being x64 architecture) and then run this code on the docker instance on a Rasppberry PI, (RPI being arm architecture)
Thank you
-C.A.
Asked by wintermute on 2019-11-26 18:25:27 UTC
Comments
Quick suggestion: look into cross-compilation with Docker containers.
Asked by gvdhoorn on 2019-11-27 02:59:11 UTC
yes, this is what I have been doing but could not really find a comprehensive tutorial. I am new to docker. right now I am mounting /data/catkin_ws/src to the docker host and catkin_making there.
I noticed there are two ways:
I found 2. is easier.
I am having very good time in terms of ros development with hypriotos.
Asked by wintermute on 2019-11-27 15:31:38 UTC
For ros1, #2 has been my approach, given its story for cross compilation was never quite there. But things are looking better for ros2 in terms of #1, though still using docker to simplify tool chain setup: https://github.com/ros-tooling/cross_compile
Asked by ruffsl on 2019-12-03 23:45:18 UTC