getting started with the dji mobile sdk€¦ · open sample code directory in android studio change...
TRANSCRIPT
GETTING STARTED WITHTHE DJI MOBILE SDK
Godfrey Nolan
AGENDA
▪ Pre-Req’s
▪ Hello, World!
▪ SDK Ecosystem
▪ Now what
▪ Deploying
▪ Other DJI SDK’s
▪ Lessons Learned
2
SOME OF OUR DRONE APPS
▪ Agribotix (iOS)
▪ Counting Sheep and Cattle (Android)
▪ Roof Calculator (Android)
▪ Real Estate Appraisal (iOS - Parrot)
▪ Secure Drone Labs (Android -ArduPilot)
3
PRE-REQ’S
Register for DJI
Developer account
Need an App Key
from Developer
account
Mavic, Phantom,
Spark etc.
Android Studio or
XCode
4
PRE-REQ’S
5
BASIC PRO
Start developing apps today
Standard Support
Up to 20 mobile app activations
Everything from the Basic Tier
Unlimited mobile app activations
Unlimited Preferred Support
Access to Premium Support
Access to MiFi Applications
SDK Beta versions
Free $99/Year
Active
Started on 2018-10-11 09:00:16
Renews on 2019-10-11 09:00:16
6
HELLO, WORLD - ANDROID
7
HELLO, WORLD - ANDROID
▪ Git clone https://github.com/dji-sdk/Mobile-SDK-Android
▪ Open Sample Code directory in Android Studio
▪ Change the App Key in the AndroidManifest.xml
▪ Change the build.gradle file
▪ Connect phone to Spark WiFi (or other drone)
▪ Push APK to phone
8
HELLO, WORLD - ANDROID
9
HELLO, WORLD - ANDROID
10
HELLO, WORLD - ANDROID
11
HELLO, WORLD - ANDROID
12
HELLO, WORLD - ANDROID
Turn on the Spark Drone
1. Connect Mobile Device to the WiFinetwork created by the product.
2. Run Sample App on Mobile Device.
Phantom 4 etc.
1. Turn on the Remote Controller.
2. Turn on the Aircraft and wait until the Remote Controller has connected with the Aircraft.
3. Connect iOS/Android Mobile Device to the Remote Controller using a Lightning (iOS) or USB (Android) cable.
4. Run Sample App on the Mobile Device.
13
HELLO, WORLD - ANDROID
14
HELLO, WORLD ANDROID
15
16
DEFINE THE ECOSYSTEM
17
DEFINE THE ECOSYSTEM
18
DEFINE THE ECOSYSTEM
19
TESTING
20
TESTING
21
TESTING
22
NEXT STEPS
https://developer.dji.com/mobile-sdk/documentation/android-tutorials/FPVDemo.html
23
CAMERA APP
24
CAMERA APP
25
CAMERA APP
26
CAMERA APP
27
CAMERA APP
28
CAMERA APP
29
CAMERA APP
30
CAMERA APP
31
CAMERA APP
32
CAMERA APP
33
CAMERA APP
34
CAMERA APP
https://github.com/DJI-Mobile-SDK-Tutorials/Android-FPVDemo
35
CAMERA APP
36
CAMERA APP
37
CAMERA APP
38
CAMERA APP
39
CAMERA APP
40
CAMERA APP
41
CAMERA APP
42
CAMERA APP
43
DEPLOYING
44
SNAFU’S
45
RESOURCES
https://developer.dji.com
https://github.com/dji-sdk/Mobile-SDK-Android
https://stackoverflow.com/
questions/tagged/dji-sdk
46
Bonus Slides – Tello Node-Red
47
Bonus Slides – Parrot Anafi Ground SDK