Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
pli6508 opened this issue Mar 27, 2024 · 3 comments
Open

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

pli6508 opened this issue Mar 27, 2024 · 3 comments

Comments

@pli6508
Copy link

pli6508 commented Mar 27, 2024

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
Copy link
Contributor

alsora commented Mar 27, 2024

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
Copy link
Author

pli6508 commented Mar 27, 2024

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
Copy link
Author

pli6508 commented Mar 28, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants