Integrated meta-ros with custom yocto image but building ros1 melodic throwing multiple errors

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Integrated meta-ros with custom yocto image but building ros1 melodic throwing multiple errors

1,667 Views
vsuneja63
Contributor III

Hi,

Thanks!

I have a custom yocto image L5.4 & integrated meta-ros with that for i.MX8MQ platform. For building ros1 melodic, added path in bblayers.conf as below:
# ROS
BBLAYERS =+ " \
${METADIR}/external/meta-ros/meta-ros1 \
${METADIR}/external/meta-ros/meta-ros1-melodic \
${METADIR}/external/meta-ros/meta-ros-common \
${METADIR}/external/meta-ros/meta-ros-backports-gatesgarth \
${METADIR}/external/meta-ros/meta-ros-backports-hardknott \
${METADIR}/external/meta-ros/meta-ros-python2 \
${METADIR}/external/meta-qt5 \
"

& added recipes cores in local.conf as below:

"IMAGE_INSTALL_append += "\
python3-pyqt5 \
packagegroup-ros1-comm \
packagegroup-ros-world-melodic \
"

While building image with these it's throwing multiple errors. Attached error log file, any input on this will be highly appreciated.

Host Machine : Ubuntu 16.04

Labels (1)
0 Kudos
2 Replies

1,646 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello vsuneja63,

You are migrating from meta-ros not compiling for ARM64, you just change this in your env variable before migrate, Also attached is how add a new layer in yocto:

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/How-to-add-a-new-layer-and-a-new-recipe-...

 

Regards

0 Kudos

1,641 Views
vsuneja63
Contributor III

Hi,

Thanks for the response,

I am gone through the shared link & followed the same steps while integrating meta-ros with Yocto Dunfell source. Added the relevant recipes in local.conf as well as tried to build "ros-image-world" but still the errors are there

ERROR: Nothing RPROVIDES 'ROS_UNRESOLVED_DEP-python-rospkg-modules' 

Can you please give more details on which env variable has to be change here?

0 Kudos