dji-sdk / Windows-SDK

DJI Windows SDK: http://developer.dji.com/windows-sdk/
Other
170 stars 117 forks source link

Support for Enterprise Dual? #32

Open benjaminheyerdahl opened 5 years ago

benjaminheyerdahl commented 5 years ago

Hey Team,

Currently trying to create applications utilizing the Mavic Enterprise Dual via Windows SDK, and cannot get any video feed via the two sample applications provided or through other attempts to configure and obtain the feed.

The SDK states that it supports the Mavic Dual, but through some forum information from other members and the difficulties we have had, its seeming like that is not the case.

I've only found bits and pieces of those developing for the dual, none of which were success stories.

Could the dev team or others confirm if the M2ED is supported in the Windows SDK, or any help/direction in obtaining the feed in the sample applications or custom applications?

Thanks!

dji-dev commented 4 years ago

Public comment from Hummels Lei in Zendesk ticket #28725:

Hi, M2ED is supported by windows SDK from version 0.3.0. Please check: 1 You are using the latest version of the Windows SDK(0.3.2). 2 The remote control you are using is not Smart Controller(https://www.dji.com/smart-controller?site=brandsite&from=insite_search). 3 You have already installed the driver follow the instructions on https://developer.dji.com/windows-sdk/documentation/connection/Mavic2.html.

benjaminheyerdahl commented 4 years ago

Thanks for your quick response.

We have confirmed all 3 things in your list, and have had success accessing the drones features such as auto take off, x-y-z movements, and drone information but no luck obtaining the camera feed after trying the sample applications and modifying them in attempt to configure/initialize/access the FPV feed of the camera.

Could you possibly provide any insight into why that might be, or what sort of options we have to get a live feed to an application via the Windows SDK? We can see certain camera functions related to the Zoom, Pro, PVP4, and "other", but nothing that seems to coincide withe the M2ED camera.

As said before, we can access some functions of the Windows SDK to control/monitor parts of the drone, but are at a roadblock when it comes to obtaining picture data.

Thanks again in advance.

benjaminheyerdahl commented 4 years ago

I have also noticed that in both projects, the referenced dll files are present, but cannot be referenced. Would this cause the lack of ability to obtain video? I have attempted a couple ways to solve this warning to no avail.

(avcodec-56, avutil-54, avformat-56, libcrypto-1_1, pthread_dll, swscale-3.dll)

dji-dev commented 4 years ago

Public comment from Hummels Lei in Zendesk ticket #28725:

Hi, can you take a screenshot of the referenced files and the device manager? I want to know if the driver is installed correctly.

benjaminheyerdahl commented 4 years ago

devicemanager dllerrors

These are the referenced dll files that I cannot get to load/find within the project.

Ive tried uninstalling/reinstalling the device and associated drivers a couple times but cannot get any DJI related device to show in the device manager, just a normal COM that is associated as the remote on plugging in, and the libusb device. The remote is recognized in DJI Assistant 2 and can access features in the demo such as get telemetry and get/set name of the aircraft through one of your sample applications. I've also tried a fresh install of Assistant 2 with no changes afterwards.

dji-dev commented 4 years ago

Public comment from Hummels Lei in Zendesk ticket #28725:

Hi it looks like that you didn't install the driver correctly. Please delete the driver in the picture below and re-install the driver following https://developer.dji.com/windows-sdk/documentation/connection/Mavic2.html.
inline476547379.png
inline-758123611.png

hcghanta commented 4 years ago

I had the same issue and re-installing the driver did the trick! Thank you Hummels Lei

tchennwpu commented 4 years ago

Public comment from Hummels Lei in Zendesk ticket #28725:

Hi, M2ED is supported by windows SDK from version 0.3.0. Please check: 1 You are using the latest version of the Windows SDK(0.3.2). 2 The remote control you are using is not Smart Controller(https://www.dji.com/smart-controller?site=brandsite&from=insite_search). 3 You have already installed the driver follow the instructions on https://developer.dji.com/windows-sdk/documentation/connection/Mavic2.html.

hello, which Controller should I use?

dave-simoncharlie commented 2 years ago

Above it's mentioned that the smart controller isn't supported on Windows SDK. I have Mavic 2 Enterprise Advanced, with smart controller. What controller should I use?