meta-ros icon indicating copy to clipboard operation
meta-ros copied to clipboard

build ros2 sdk

Open yiyibst opened this issue 4 years ago • 3 comments

When building the sdk and adding the ros1-melodic component bb file, it generates the folder opt/ros/melodic under the sdk, which contains the ros1 environment and ros1 related stuff. But when the same ros2-foxy component bb file is added, why is there no opt/ros/foxy folder generated? If there is no opt/ros/foxy, what if I change the environment if soruce ros2-foxy?

yiyibst avatar Oct 26 '21 08:10 yiyibst

Because only ROS1 distributions are currently using ros_opt_prefix.bbclass.

shr-project avatar Oct 26 '21 08:10 shr-project

but how to find the ros2 environment in the sdk, and how to source ros2 environment

yiyibst avatar Oct 26 '21 08:10 yiyibst

@yiyibst did you find a solution? I managed to build ros2 foxy recipe inside yocto but cannot use the SDK for crosscompile on another machine.

SergeyFabric avatar Sep 11 '22 16:09 SergeyFabric