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 to get wind speed or wind direction for IF (inspire flight drone) #186

Open
gongelosP opened this issue Oct 2, 2024 · 3 comments
Open

Comments

@gongelosP
Copy link

Currently working with latest version of this SDK for Android application, already work on the drone connection and getting some information from the telemetry module.
But i can't find a way to obtain the wind speed or wind direction from the telemetry pack, any idea how this is done?
I found in the MAVLINK documentation that there is some wind information https://mavlink.io/en/messages/common.html#WIND_COV

So the question would be how can i get that wind information with this Android SDK

Thanks

@julianoes
Copy link
Contributor

This message is currently not exposed. We either have to add it to telemetry by adding it to proto first, then C++, and eventually Java.

Also see: https://mavsdk.mavlink.io/main/en/cpp/contributing/autogen.html

In C++ it's possible to subscribe to any MAVLink message using MavlinkPassthrough, however, not in the language wrappers like Java, yet. I'm planning to add (runtime) passthrough for the language wrappers based on https://github.com/Auterion/libmav for v4.

@gongelosP
Copy link
Author

Thanks for the answer @julianoes! First question would be if have any date in mind when you think the MavlinkPassthrough would be available in Java.

In other hand do you know any other solution to get this wind data in the mean while? Working with Android application and IF drone

@julianoes
Copy link
Contributor

I can't promise any dates as I do this in my spare time, for free.

If you want to bump this up on my todo list, consider sponsoring me.

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