iRobotEducation / create3-docker

Dockerfile for Running Create3 applications
BSD 3-Clause "New" or "Revised" License
6 stars 3 forks source link

issue with: ros_entrypoint.sh: exec format error #6

Open pli6508 opened 6 months ago

pli6508 commented 6 months ago

Hi there,

I am seeking help with running the docker on Jetson Nano to control the iRobot create3. Currently, I am using Jetson nano running on ubuntu 18.04 with ROS1 Melodic. I am thinking of use the docker image to run humble in order to control the iRobot. I've tried to pull the official docker (irobotedu/create3-humble), and self-built the image, but both method gives me error:

exec /ros_entrypoint.sh: exec format error

Could you please help with this issue and suggest if my approach to run docker image on 18.04 Ubuntu is doable?

thank you

alsora commented 6 months ago

The irobotedu/create3-humble docker image is available both for arm64 and x86_64. Your error indicates that you are trying to use the x86_64 image on the Jetson Nano (which is an arm64 platform).

You could remove the image and try to pull it again with

docker rmi irobotedu/create3-humble:latest
docker pull --platform linux/arm64 irobotedu/create3-humble:latest

HOWEVER these docker images are meant to be used on desktop, not on embedded platforms like Jetson nano Rather than trying to get this image working, you should follow the Jetson Nano setup instructions https://iroboteducation.github.io/create3_docs/setup/jetson/

pli6508 commented 6 months ago

Hello alsora,

Thank you so much for your quick response, I really appreciate. I've tried the arm64 image as you posted, and I was actually build one myself specified with arm64 architecture, the issue still exist.

The reason why I am hoping this docker to work is because I've installed couple sensors (lidar and camera) already on the current 18.04 + ROS combination. I am looking for a way to use my current setup and be able to control the create3 as a moving platform.

I am wondering if you could please suggest a way to try to make this works, maybe add a ros_entrypoint.sh file?

thank you

pli6508 commented 6 months ago

Hello Alberto,

I am be able to run ROS2 on Jetson nano and control the create3 now by downloading a docker container provide by Nvidia docker container repo, thanks again for your time and help.

Best