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

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

Open
pfs-db opened this issue Oct 8, 2019 · 3 comments
Open

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

pfs-db opened this issue Oct 8, 2019 · 3 comments

Comments

@pfs-db
Copy link

pfs-db commented Oct 8, 2019

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

jfm92 commented Oct 8, 2019

Hi Pablo,

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

  • This docker compiles for X86/64 and you need to compile for arm64.
  • I will take hours to compile it on the RPI.

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

pfs-db commented Oct 10, 2019

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

FranFin commented Jul 20, 2020

@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.

Ar-Ray-code pushed a commit to Ar-Ray-code/docker-uros-risc_v that referenced this issue Aug 5, 2022
* Add Arduino Due support

* Add binary

* Add support

* Improve arduino_serial_platform_read

* Add working example

* Revert example

* Revert example

* New line

* Add CI

* Updates

Co-authored-by: Darko Lukic <[email protected]>
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

3 participants