ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

How to install ROS2 foxy in a custom arm64 Linux based in Yocto? (Petalinux)

asked 2021-10-27 18:54:14 -0600

jg_spitfire gravatar image

updated 2021-10-27 18:55:52 -0600

Hi, I am working in a custom Linux project based on Petalinux, which is a Xilinx Linux distro built from Yocto (which uses OpenEmbedded), I could install ubuntu 20.04 LTS arm64 in this custom project but now I would like to install ROS2 foxy

As I have ubuntu 20.04 my first attempt was this:

but it failed, when tried with ros-foxy-desktop or ros-foxy-ros-base the packages was not found, when I tried this in my Linux pc with ubuntu 20.04 everything was ok, so I found this: where you explain that for an OpenEmbedded Linux I must use the sources to install ros2 foxy

second attempt: building from sources

but also failed, when building the project I have an error with this package: mimick_vendor, the package could not be installed and then I got a lot of errors

but then inside the previous link I saw this:

Oher Linux platforms with varying support levels include:

Arch Linux, see alternate instructions

Fedora Linux, see alternate instructions

OpenEmbedded / webOS OSE, see alternate instructions

so, those are the instructions I should follow?

or as I have Ubuntu 20.04 I should try to resolve the error in my second attempt?

And, could be this a way to avoid the installation of ros2 in my target board? as I understand with this option I could deploy and test my ros2 app in my pc and then build it to use it in my embedded Linux, but I don´t know if this is the correct case to use this tool


edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2021-11-09 16:52:32 -0600

jg_spitfire gravatar image

My fault, I was using a 32 bits ubuntu distro instead a 64 bits

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2021-10-27 18:54:14 -0600

Seen: 112 times

Last updated: Nov 09 '21