Cross compiling?

asked 2023-04-13 04:43:40 -0500

Nexus8 gravatar image

updated 2023-04-13 04:44:54 -0500

Hello friends,

I am working with Humble on a raspberry Pi. The system will be in charge of the low-level tasks of my robot, sensors and actuators. Therefore, once the sensors and actuators have been tested, their corresponding ros packages will not change much over time. I have been adding quite a few packages and they are working ok, but now my workspace is getting crowded and rebuilding takes a long time. I am aware of the --packages-select flag of colcon, but still, sometimes it is necessary to rebuilt all my workspace.

My question is:

What do you recommend me to do:

  1. Use cross compilation to build my workspace on my pc and then install it to my Rpi, or
  2. build my packages on the RPi and then move them to my underlay?

I don't know if the second option is possible. Is there a third better option? I don't know.

Can you please advise me and probably point me to one guide/tutorial on how to do this? Thank you

edit retag flag offensive close merge delete