Open yiyibst opened 2 years ago
Because only ROS1 distributions are currently using ros_opt_prefix.bbclass.
but how to find the ros2 environment in the sdk, and how to source ros2 environment
@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.
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?