-
I wish to run an ifm3d-ros2 Humble node from a container on the OVP800. I need to package Linux 22.04 for arm64, ifm3d, ROS2 Humble and ifm3d-ros2 in an image. If such an image already exists I'd be grateful to be directed to it. If not, I'd welcome hints and instructions for how to build it. I have searched both for an image and instructions but found little. There are some instructions on ifm3d.com site (https://ifm3d.com/ROS/ifm3d-ros2/doc/distributed_run.html) but they do not appear to be current. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Answering my own query, I see that the humble version of ifm3d-ros2 has a build script for docker images for both platforms amd64 and arm64. I will give that a try. The Dockerfile I'm referring to comes from v1.1.0 (unreleased). I have not found this file and the accompanying build_humble_amd64.sh in other releases. |
Beta Was this translation helpful? Give feedback.
-
Hi @KtGunn, Sorry for the delay. After some tinkering, I can build the container with the following Dockerfile:
I am still working on testing this and cleaning it up to integrate it with the upcoming official release. |
Beta Was this translation helpful? Give feedback.
Finally got back to this project. After sorting out install and configuration issues on my system the docker image builds and loads in the OVP. A bit volumous at 1.32GB but I'm too happy with the successful build to complain.
In case it might be of help to somebody, below are the commands I used to build the image. I am running Ubuntu 22.04, docker version 20.10.24 build 297e128:
$ docker buildx create --use --name multi-arch-builder
$ docker buildx build --platform=linux/arm64/v8 -f Docker.ros2 --no-cache --load --tag=ovp-ros2:0.1 .
Again, thank you for your help.