micro-ROS / docker

Docker-related material to setup, configure and develop with micro-ROS hardware.
https://micro-ros.github.io
Apache License 2.0
52 stars 29 forks source link

Docker Image works in a Desktop but not in a RPI #35

Open pfs-db opened 5 years ago

pfs-db commented 5 years ago

Hello, I'm trying to face the tutorial from this repository (https://github.com/micro-ROS/micro-ROS-bridge_RPI), i was thinking if i could use some images that are already good to use, i have used the docker-base in my desktop amd64 and works fine, but when i try to compile in RPI

I run the docker image ros-base as a conteiner and the output is: standard_init_linux.go:211: exec user process caused "exec format error"

What can i do to improve the understanding of my question? Great work!!

jfm92 commented 5 years ago

Hi Pablo,

You can't use the docker base inside of the RPI for two reasons:

So, to use the agent inside of the RPI, you need to cross-compile on your host PC and then copy to the RPI. On the readme file of the bridge you can see the instructions of how to set-up it.

I hope this answer your question.

pfs-db commented 5 years ago

Hello again, The problem is that in was trying to use this repository as a solution for not to use the cross-compiling RPI repository (https://github.com/micro-ROS/micro-ROS-bridge_RPI), because i find some trouble there, I saw that you worked there too, so can you cleared for me that this repository cannot be used as a second option for the cross-compiling? Not even if i export the container from my desktop to the RPI?

I'm trying to perform a hello world exemple between the RPI and the dektop. Thanks for the answer.

FranFin commented 4 years ago

@PabloFreitasUfsc Hi! Thank you for your interest in micro-ROS. Notice that we’ll discuss the recent contributions and developments in the next Embedded WG meeting. You’re invited to bring your micro-ROS related issue to this platform. We’ll be very happy to have you join us and discuss your questions with the community.