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.
Related
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.
I want to see my work without using a simulator from Android Studio. Currently I have an Android Phone and it works when I connect my phone with Windows 10.
Can I do the same with an iPhone?
Flutter relies on Xcode and the iOS SDK to perform the underlying compilation and publishing of iOS apps. Unfortunately, it's not possible to do iOS development on Windows, a Mac is required.
Some googling reveals there are several online services, such as MacInCloud and MacStadium that provide a means to pay for a remotely accessible VM in the cloud if you'd prefer not to purchase a Mac, though not having used any, I can't personally vouch for any of them.
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.
I was having trouble using the Android emulator in Visual Studio Community 2017 and I decided to create a blank project to see if it will run. I get this error message when attempting to run it in the Live Xamarin Player:
Starting Android Emulator Android_Accelerated_x86_Nougat...
Failed to boot Android device emulator-5554...
Unable to deploy to Android_Accelerated_x86_Nougat, please ensure the Xamarin
Live Player app is open and the device is on the same network as Visual Studio.
Why would I have trouble running the emulator in a fresh blank project when I didn't even write a single line of code? Thanks for your help.
UPDATE: So I installed the latest Android SDK 8.0 along with they system image and tried to create a virtual device that uses it. But the Android Virtual Device Manager shows a, 'No system images installed' message when I selected the 8.0 framework. So I installed an earlier version of the SDK along with a system image (5) and was able to create a virtual device with it. So another question is why wouldn't the system images show up for the 8.0 framework?
The $(TargetFrameworkVersion) for Xamarin.Forms.Platform.Android.dll
(vv8.0) is greater than the $(TargetFrameworkVersion) for your project
(v7.1). You need to increase the $(TargetFrameworkVersion) for your
project
This means the Xamarin.Forms library is targeting Android 8.0 (API level 26) but your project is setup for Android 7.1 (API level 25). You can't change the Xamarin.Forms target version without downgrading, but you can change your project target version easily. You can learn more about these concepts from Xamarin. Be aware some of the details of that Xamarin blog post are already out of date!
There is another nice blog post from Xamarin which can walk you through the process of setting your system up for Android 8.0 API level 26. It's normally not this complicated, but Google changed their SDK tools internally between 25 and 26 in very major ways. They changed from GUI tools to command line tools.
You'll probably also want to get the (in preview) Xamarin Android Device Manager if you don't have a physical device to test with. This Xamarin Android Device Manager tool is the only way to create and configure API 26 and higher emulators without using the Google command line tools.
It seems as though Google has gotten rid of the GUI apps that manage the SDK and Virtual Devices in the latest version, so when you try to create a new virtual device with 8.0 it's not compatible with the GUI tools. Until Xamarin releases a GUI tool to replace them we can use the command-line to manage the SDK and virtual devices.
https://learn.microsoft.com/en-us/xamarin/android/troubleshooting/sdk-cli-tooling-changes
https://developer.android.com/studio/command-line/avdmanager.html
I understand that the local data mode is only available through the DJI Pilot app but will this option be made available through the Mobile SDK?
Mobile SDK 4.4 added the Local Data Mode capability.