Git Product home page Git Product logo

Comments (20)

hrw avatar hrw commented on July 19, 2024 2

@JonasVautherin manylinux2014 will solve that problem. WIP.

from mavsdk-python.

JonasVautherin avatar JonasVautherin commented on July 19, 2024 2

We now provide it on pypi: https://files.pythonhosted.org/packages/46/24/8a71b6147111d4819750e453321430d93d8b3ba5bacd79dd68f618f6df3d/mavsdk-0.15.0-py3-none-manylinux2014_aarch64.whl

from mavsdk-python.

JonasVautherin avatar JonasVautherin commented on July 19, 2024 1

Yes, through dockcross. I started looking into that last week, hopefully I can spend some more time on it soon!

from mavsdk-python.

JonasVautherin avatar JonasVautherin commented on July 19, 2024 1

@hrw: working on it, I got dockcross-manylinux2014-x64 to work on my machine (was pretty easy actually). Next is aarch64! See dockcross/dockcross#358!

BTW, do you know if there is a plan in supporting 32 bits arm architectures in manylinux as well (e.g. armv7)?

from mavsdk-python.

hrw avatar hrw commented on July 19, 2024 1

PEP599 lists armv7l but I do not track how it goes.

from mavsdk-python.

hrw avatar hrw commented on July 19, 2024 1

Travis CI does not support 32bit arm could be one of reasons.

from mavsdk-python.

julianoes avatar julianoes commented on July 19, 2024 1

@SasoPavlic I assume that's a grpcio problem. See grpc/grpc#21283.

from mavsdk-python.

julianoes avatar julianoes commented on July 19, 2024

This would indeed be nice.

The instructions to build for arm64 would be something along the lines of:

docker run --rm dockcross/linux-arm64 > ./dockcross-linux-arm64
chmod +x dockcross-linux-arm64
./dockcross-linux-arm64 cmake -Bbuild -S. -DBUILD_BACKEND=ON
./dockcross-linux-arm64 cmake --build build

And then we just need to figure out how to get the artefacts released and into PyPi.

from mavsdk-python.

JonasVautherin avatar JonasVautherin commented on July 19, 2024

Is there an equivalent to manylinux-x86_64 on arm? At least I found some discussions about it... Not sure 🤔.

Also I'm curious about whether we could have pip build mavsdk_server from sources, but I've never done that so I don't know if we can tell pip to git clone and then run cmake and cmake --build. Ideas?

from mavsdk-python.

julianoes avatar julianoes commented on July 19, 2024

@hrw thanks for the note.
https://www.python.org/dev/peps/pep-0599/

from mavsdk-python.

hrw avatar hrw commented on July 19, 2024

manylinux2014 is published already. Any plans to use it?

from mavsdk-python.

JonasVautherin avatar JonasVautherin commented on July 19, 2024

I think it should not be that. The point of the docker image is to cross-compile, so it doesn't have to run on an arm system... Good to know about PEP599, thanks for the information :-)

from mavsdk-python.

hrw avatar hrw commented on July 19, 2024

Maybe for you it is to cross-compile. I use them natively. Either on available machines or on CI systems.

from mavsdk-python.

JonasVautherin avatar JonasVautherin commented on July 19, 2024

Oh, I see. Thanks for the explanation 😊. Well, we'll see if that happens at some point. Right now I have issues running the aarch64 docker image 😕. But at least the x64 seems to be working!

from mavsdk-python.

hrw avatar hrw commented on July 19, 2024

Any update @JonasVautherin?

from mavsdk-python.

JonasVautherin avatar JonasVautherin commented on July 19, 2024

I haven't had time to move forward on that, but I did some research on how to do it in dockcross. I hope I'll find some time to continue it soon!

from mavsdk-python.

SasoPavlic avatar SasoPavlic commented on July 19, 2024

We tested a new wheel on Navq companion computer (aarch64v8) and is still installing forever (stops on grpcio package).
Command used: pip install wheel_file.whl

from mavsdk-python.

nihanaltaytass avatar nihanaltaytass commented on July 19, 2024

I have pixhawk4 with px4 software and I would like to send MAVLINK signals to my pixhawk from jetson Nano which has arm64 system. Is it possible or is there any update

from mavsdk-python.

cryptik avatar cryptik commented on July 19, 2024

@nihanaltaytass, MAVSDK and mavsdk_server work fine on Jetson. I have it running on a Jetson Xavier and Orin (both aarch64 systems). You can install both with just a pip install mavsdk. The version I am running is v1.4.0 on python 3.8.10. The the only thing is you may have to create a symlink from where mavsdk_server is installed and the ./local/bin folder.. or you can put it in your python_path. But in any case, it works great on linux arm.

from mavsdk-python.

Pragadesh-45 avatar Pragadesh-45 commented on July 19, 2024

@nihanaltaytass Hi. I'm currently working on the exact setup. Any updates???

If possible: https://github.com/thien94/vision_to_mavros/blob/master/scripts/d4xx_to_mavlink.py provide me any alternative to this.

from mavsdk-python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.