DJI Onboard SDK in Python - dji-sdk

I am a user of DJI M600 drone. Recently, I have been able to successfully use Onboard DJI SDK to control the flight of my drone. I am using Raspberry Pi 3 (Ubuntu Mate 16) as the Onboard computer.
Currently, the Onboard SDK packages have only C++ wrappers. But, I am interested to program further in Python programming language (by using the existing C++ libraries). Has anybody been able to successfully do it? If so, could you guide me on how to do it?
Thanks in advance.

Related

SDK connection with Mavic 2 Enterprise

I'm building software to control a Mavic 2 enterprise through Android SDK in order to make the drone autonomous for a project but We would not like to use a cellphone to do it.
Is there any possibility to control this specific drone without using the remote controller?
Tks
Consider using the Onboard SDK with an onboard computer.
https://developer.dji.com/onboard-sdk/documentation/development-workflow/hardware-setup.html
The Android SDK may not provide autonomous control outside the range of the android phone.

DJI Windows SDK Sample - cannot view FPV mode

I've cloned Windows SDK repo, open the sample solution with latest visual studio, fixed the dll ref for Windows SDK x86,
build the solution on x86 and activated the sample app with my key.
I've turned on WiFi mode on my DJI Mavic Air and connected my laptop to its WiFi, but nothing get displayed on the FPV screen:
Looks weird, Could you help to check the following steps?
Make sure your DJI Windows SDK Sample is updated to the latest version.
Make sure your Mavic Air is updated to the newest firmware version.
Try restarting the Mavic Air after switching it to Wi-Fi mode.
You could select the 'Component Handle' page of the sample app and try to get the name of the aircraft by which you could know if the SDK could get data from the aircraft successfully.
Also, you can check this documentation of running the sample code: https://developer.dji.com/windows-sdk/documentation/quick-start/index.html
If you still cannot see the FPV live video feed using the sample, please contact dev#dji.com for help.

Kinect Development: Xbox 360 Kinect vs. Kinect for Windows

Quoted from Windows:
If you’re a software developer, you can use the Kinect for Xbox 360
together with your computer to test the software you’re working on.
However, to get the full Kinect for Windows experience, we recommend
you download the Kinect for Windows SDK and use it with the Kinect for
Windows.
Question 1: If I want to begin working with the Kinect SDK and Visual Studio development, will the Kinect for Xbox 360 work (as opposed to the newer Kinect 2 for Xbox One)? I understand it will lack some functionality that the Windows version has.
Question 2: In the above statement, when Windows states 'develop' with the Xbox 360 Kinect, what does develop mean? More specifically, can I completely develop my application, test it, and run it with the Xbox 360 Kinect and just not be able to publish it? Or, will I only have some functionality but not be able to run the Xbox 360 Kinect with my application and be forced to purchase the Windows version?
Sorry for the lengthy questions. I have been researching this project for the past week, and I feel the difference between the Kinects and the extent at which they can be utilized with development is very ambiguous. Also, much of the information is outdated pertaining to the Xbox One and Xbox 360 Kinects, along with the Kinect SDK.
After weeks of research and downloading all of the available SDK environments for both versions of the kinect, I have finally found an answer.
key:
Kinect v1 = XBOX 360 kinect/Windows v1 Kinect - Kinect SDK v1.8 -VS2012+lower
Kinect v2 = XBOX ONE kinect/Windows v2 Kinect - Kinect SDK v2.0 -VS2013
Answer 1: Yes, the XBOX360 version of the kinect will work for development purposes, but it is only compatible with the Kinect SDK v1.8. Version 2.0 SDK is specifically for the XBOX ONE kinect. Version 2 SDK has dropped all drivers for the v1 kinect and will not support it. Also, note that The v2 Kinect will only work in the microsoft VS2013 or higher versions, whereas the Kinect v1 will ONLY work with the VS2012 or lower versions. Be prepared to install both if necessary. I have both currently installed on my windows 8 machine.
Answer 2: Yes, you can completely develop applications using the Kinect XBOX ONE/360 versions, but you cannot publish them. Also, the gaming versions do lack a lot of needed functionality compared to the Windows versions.
I hope this post brings some clarity for Kinect developers. Good luck.
I do agree to what Aimforchris has mentioned above. But obviously the quality and functionality of XBOX ONE is much better which works only with SDK V2 than its predecessor, and is much better for developing proposes in terms of accuracy of visual inputs.
And as for the second question, I have used both the the above mentioned devices with UNITY 3D and also Visual Studio via the SDK's and unity plugins such as these to develop AR based hand gesture applications and deploy them as APKs.

Newbie, emulator is not working [duplicate]

This question already exists:
Windows phone emulator issue in windows 7 [closed]
Closed 9 years ago.
I am completely a newbie in Windows phone app development.
I followed this tutorial to develop my 1st Windows Phone app. When I am ready to run my 1st app, I selected Debug->Start debugging on the top toolbar of visual studio 2010, but I got the following dialog:
It complains that my working machine(Lenovo W510) does not have the graphics processing unit. What can I do for this if I would like to run my app on a emulator?
When clicking on "Yes", it should launch the emulator anyways but with limited functionality. (no extensive 3D, things like that)
If it does not succeed in launching the emulator then you will have to find a system with better graphics capabilities. However, considering the W510 runs an nVidia Quadro FX 880M, I'm pretty sure it should be able to run the emulator just fine. Have you checked your GPU driver yet?
I had the exact same issue with the SDK on an older machine. For XNA and otherwise smooth effects / transitions in Silverlight projects the emulator requires Windows Phone Emulator requires a DirectX 10 or above capable graphics card with a WDDM 1.1 driver.
The issue I had is that my graphics card (some integrated Intel) didn't have WDDM 1.1 drivers. In this case, if you are looking to develop XNA projects, the only two solutions are
upgrade your graphics card
or buy a real device on which you can test.

Setting WP7 Softwares on mac

I want to know can we install WP7 software on Mac machine.
I found that virtual machine is an option but Windows Phone emulator will not run from within a VM.
Another thing I found is Boot Camp software can be used to install window device drivers.
I want to know will this serve my purpose?
As you already mentioned, virtual machine is not an option.
You need to dual boot your Mac with bootcamp. Through which it is possible to develop for WP7.
You can actually use a virtual image to install Windows 7 and the Windows Phone Tools and SDK. If you are developing XNA app the emulator might not work. You need to make sure DirectX 10 is supported.
Hope this help.
Dani

Resources