diux-dev / rosettadrone

Android-based mavlink wrapper for DJI drones
BSD 3-Clause "New" or "Revised" License
113 stars 51 forks source link

Feature Request Mavic 2 Pro / Zoom #27

Open ricklentz opened 5 years ago

ricklentz commented 5 years ago

Any interest in adding support for the latest round of products?

sdowhy commented 5 years ago

It's in the pipeline. If you want you can update to the 4.7 SDK on your end by changing the gradle build file. The only change you need to make for compilation is the setForwardLEDsEnabled method in DroneModel. That said, video won't work from what I can tell.

Most likely will have an updated version pushed to the repo within a week or two barring any more time constraints.

sdowhy commented 5 years ago

dji-sdk/Mobile-SDK-Android#352

The Mavic 2 video issue seems to be related to the implementation within the DJI SDK. I haven't been able to get it to work with the Mavic 2. I'll get back to this issue when I have more bandiwdth.

ricklentz commented 5 years ago

It seems odd to have to use a workaround to get the DJI SDK API callback to work as advertised... but will @raphael-pix4d's approach help get this feature working? https://github.com/dji-sdk/Mobile-SDK-Android/issues/352#issuecomment-444892468