DJI SDK for Windows - dji-sdk

Where do I find the DJI SDK for Windows that was announced at Build 2018?
I'd like to play with my Mavic Air, but the sample UWP app requires the SDK.

The SDK is now downloadable (since end of Oktober, beginning of November 2018?) from https://developer.dji.com/windows-sdk/
Only needs a DJI account, I think.
(Also, the sample code that's downloadable from github basically includes the four SDK files - two DLLs, an XML and a winmd file - in the Windows-SDK-master\WSDK Libraries\SDK dll subfolder. I have not gotten anything around all this to work though..)

The WindowsSDK was given as an exclusivity to Build attendees. We will make it available on developer.dji.com soon.
At this point the best way to get it is to sign up on the website and wait for the email announcing it.

Related

How control the Mavic Air drone with the computer

right now, I’m on a study project for School. I'm french. I have the Mavic Air drone, and I do to control my drone with my computer. DJI Developer has some SDK for different plateforme, whose a Windows SDK. But it was in beta version and he don't support the fly mod.
I think, to take the OX SDK (Android Version in JAVA) and translate it into a Java App for a Windows version. OX SDK support drone control commands. You thinks it's a good ideas ? And some people can help to translate this app ?
Can you help me find a solution? Have you some command-line to give to me?
Thanks you all.
It's unclear from your question if you've actually tried to implement the Windows 10 SDK and ran into difficulties or if you saw something which stated flight is not supported by the SDK. According to the SDK documentation (https://developer.dji.com/windows-sdk/), high & low level flight control are supposed to be supported. For example, the ComponentManager.FlightControllerHandler has methods such as StartTakeoffAsync, StartGoHomeAsync, etc. Joystick control is available via the VirtualRemoteController.UpdateJoystickValue method. So far, I have only used these while my Mavic Air is in simulation mode (without propellers on!) and haven't encountered any issues. But I haven't seen any documentation that states the beta SDK doesn't support actual flight either. Before launching into a conversion effort (does DJI even provide the source? I haven't checked...), I'd stick with with Win10 SDK.

How can I check if a DJI aircraft is ready for takeoff?

I have an app running on IOS (Swift) using the DJI mobile SDK. At the moment, I still need to use the dJI GO app to determine if the aircraft is ready for takeoff (not in a no fly zone, compass is calibrated, etc.). Is there a way to see those issues from the SDK?
If you are using the iOS UXSDK this is already built in using class DUXPreflightChecklistManager and you can find sample code here: Mobile-UXSDK-iOS >DULPreflightChecklistManager. If you do not want to use the UX iOS SDK and want to build your app purely from the iOS SDK then you will need to find each api for the features included in a preflight and build your own logic to have them do a check and throw errors at the startup of the RC and aircraft. For example: class DJIBattery, flyZoneManager or isFirmwareVersion:newerThanVersion

Mavic Pro - Microsoft Build 2018 Windows SDK

I am looking for some purchasing assistance. I have tried registering on the DJI Forums as well as the DEV forums but I cannot seem to post anything anywhere. I have emailed DJI but I have not yet received any response from them.
I recently watched the Microsoft build conference 2018 vision Keynote. I was fascinated with the presentation about the Windows sdk and the Mavic air. So much so that I want to buy a drone. The video is available here: https://www.youtube.com/watch?v=EruH-4Fvecc (watch from around 3:30)
I want to buy myself a drone and I fell in love with the Mavic Pro. I would just love to get some info on one or two things.
The demo at the conference was done using a Mavic Air drone. Will I be able to do the same on a Mavic Pro using the new Windows SDK?
I am interested in the live video feed and processing of that feed as it was demonstrated. I believe this has something to do with IOT edge. Again, will I be able to do this on a Mavic Pro?
I don't see the sdk available on the dev site. I saw the guidance sdk but I believe this is something else and not the same sdk which DJI is currently working on with Microsoft. Any idea when this will officially launch?
I want to ensure I buy the correct drone to fit my needs. It would be a lot of money to spend only to find out later that I cannot do with it what I intend to. Information on this subject is very scarce online.
Yes. Mavic Pro will be covered in the final release of WindowsSDK.
Live video feed is a standard feature provided by the SDK. The IoT Edge stack consumes the feed and runs additional software (in the case of the demo, the AI stack that detects the damages)
The WindowsSDK is currently given as an exclusivity to Build attendees. It will later be released to the rest of DJI developer community (early June) through developer.dji.com. The final release is for the end of 2018.
Source: I run developer technologies at DJI.
The SDK is now downloadable (since end of Oktober, beginning of November 2018?) from https://developer.dji.com/windows-sdk/
Only needs a DJI account, I think, which you should have (and might need anyway) when you fly any DJI drone.

Can I create an app for Google Play Store in C++?

I need to know whether I can create an app for Google Play Store in C++, or whether I have to use Java.
I don't have a JDK, so if I can use C++, then that would make things easier and cheaper.
You can look at the Qt library at http://www.qt.io/
From the Tools and Versions page for the latest version (5.5) it states:
Android NDK r10c r10c r10c
Android SDK r24.0.2 r24.0.2 r24.0.2
And in the Play Store there are a few Qt example applications:
Introduction to Qt 5
Qt 5 Everywhere
You can download an open source version of Qt from here
There are also some steps on the Getting Started with Qt for Android documents page.
PS:
I have not attempted to use Qt for Mobile (Android, Win Phone, iPhone) development but I am planning to test this sometime this year.
Edit: I see you do need the Android SDK, NDK and Java JDK but at least you don't need to code in Java if that helps.
Thank you everyone for you quick replies!
Based on your answers, it looks like it's time to give me laptop new life so I can use pure Java.
Thanks again!

Do I need to develop on Vista to write to the wmdc (windows mobile device center) API?

Can I write and compile code for this on XP? We have utilities for our apps that use activesync and now will be adding Vista/WMDC - and I was hoping I don't have to have another development OS (Vista) to develop and compile on.
I have not seen much documentation for the API for WMDC - can someone point me to some useful references for it?
hummm... ActiveSync, so Windows Mobile am I right?
all you need is the SDK and Visual Studio (well, this last you don't need cause you can compile everything using the command line, but, very nice to have for such applications)
there are plenty of SDKs for what you need, for example PocketPC, Windows Mobile, etc...
the sdk contains everything you need to build, compile and deploy an application, works fine on windows XP (what I currently use) and with ActiveSync, you can even debug the application in the device ;)
added:
unfortunatelly there is no SDK for the WMDC. The only thing you have are the 4 libraries in the %WinDir%\Windows Mobile. It contains 4 libraries named as "Microsoft.WindowsMobile.*.dll". Additionally you don't get any documentation on the libraries themselves which makes it hard to use.
As you use the RAPI (I think by using the OpenNETCF library) most of the applications shall still run under WMDC as the included RAPI seems to be backward compatible. The included RAPI itself is in a new version.
taken from MSDN forum
I hope this helps for the moment.

Resources