TobiasBales / PlayuavOSD

A Graphical OSD for FPV
http://en.playuav.com
GNU General Public License v3.0
22 stars 15 forks source link

Add support for PX4 flight modes #13

Closed thedevleon closed 7 years ago

thedevleon commented 8 years ago

Running the PlayUAVOSD with a PX4 I do mostly get correct data to be displayed, but sadly the flight mode display just says "Unknown". Could you add PX4 flight modes please :)?

Bascially, PX4 sends it's flight mode in a custom data format px4_custom_mode via the custom_mode variable in the mavlink heartbeat message.

For more info, see how it's sent and how it's encoded.

TobiasBales commented 8 years ago

I will take a look if it is easy to integrate using the current mavlink library, will report back (if I don't forget ;))

thedevleon commented 8 years ago

Did you take a look? I would implement it myself, but I fried my osd :(

thedevleon commented 8 years ago

@TobiasBales Just got my replacement OSD and managed to test everything and confirm it works. See my PR #18

TobiasBales commented 8 years ago

Thanks for that, will look into it later today!

StewLG commented 7 years ago

Since we've merged the relevant changes in PR #18, and thedevleon seems happy with them, I'm closing this issue.