ros / meta-ros

OpenEmbedded Layers for ROS 1 and ROS 2
MIT License
391 stars 255 forks source link

Use colcon with meta-ros #716

Open christian-nils opened 4 years ago

christian-nils commented 4 years ago

Hello,

Sorry for this naive question, but I cannot find a clear answer on internet. When using meta-ros in my Yocto project, is it possible to have the build tool colcon on the target? I cannot find any reference to that on the meta-ros repository, what repositories to add via IMAGE_INSTALL_append?

If this use case seems to not be correct to you, would you mind detailing a better practice to create a ROS package that will be used in a custom hardware using meta-ros for building the image?

Thank you in advance.

niederha commented 3 years ago

Hello @christian-nils !

I'm interested in this topic... would it be possible to know why it was closed? Is there an answer? Is it not a correct usecase? Is it not the correct place to ask this question?

windelbouwman commented 3 years ago

I created some recipes to build colcon, and include it in an SDK, or on target:

https://github.com/ros/meta-ros/pull/977

robwoolley commented 11 months ago

The code was merged, but we should document this functionality, how to use it, and how to test it.