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

How can I run Dronekit-SITL on systems with "ARM" processors? #156

Closed
ghost opened this issue Apr 10, 2022 · 3 comments
Closed

How can I run Dronekit-SITL on systems with "ARM" processors? #156

ghost opened this issue Apr 10, 2022 · 3 comments

Comments

@ghost
Copy link

ghost commented Apr 10, 2022

I am using a MacBook with Apple M1 processor. I installed Ubuntu 20.04 ARM version on the virtual machine. I did all the installations correctly. But Dronekit-SITL is not working. I am sharing the error I got below.

Ekran Resmi 2022-04-10 19 12 16

How can I run Dronekit-SITL on ARM systems?
I read something called compiling from source in other issues. Can you help with this?

@hamishwillee
Copy link
Contributor

Yes, you have to build the source since prebuilt binaries for ARM are not provided. There is some information on this https://dronekit-python.readthedocs.io/en/latest/develop/sitl_setup.html

There is a note there that explains how, after building, you can then run the binaries from SITL

You can also use dronekit-sitl to start a SITL executable that you have built locally from source. To do this, put the file path of the target executable in the SITL_BINARY environment variable, or as the first argument when calling the tool.

@peterbarker
Copy link
Contributor

peterbarker commented Oct 11, 2022 via email

@hamishwillee
Copy link
Contributor

Thanks for the clarification @peterbarker - I'll remember this for next time. You could update the docs.

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