Questions tagged [dji-sdk]

Questions on communicating with / controlling DJI drones. Any Issues related to DJI's Mobile SDK, Windows SDK, Onboard SDK, UX SDK and Payload SDK.

Questions in this tag should relate to controlling DJI devices using of DJI's SDKs (UXSDK, MobileSDK, WindowsSDK, OnboardSDK, PayloadSDK). Find out more at https://developer.dji.com/.

708 questions
3
votes
1 answer

Deep Learning DJI Mavic Pro and Guidance SDK Programming Language

I would like to do some Deep Learning tests on the DJI Mavic Pro Drone, but before purchasing it I want to know which programming languages the Guidance SDK uses to develop this scripts and Is it possible to edit prewritten functions of this SDK? I…
Hamza Díaz
  • 175
  • 1
  • 3
  • 12
3
votes
0 answers

Problems with connecting Raspberry Pi successfully to M100 through serial port

Currently I am trying to mount a raspberry pi 3 as my onboard device onto my M100. I am connecting my pi by connecting the UART_CAN2 port to the GND, TXD, and RXD pins of my pi with the provided UART serial cable. I am using the 3.1 branch of the…
AWATHIEU
  • 97
  • 7
3
votes
4 answers

Unable to use Virtual stick and Remote controller simultaneoulsy

When i enable virtual stick control and tries to update the control values using Virtual stick control it updates values but remote controller get disabled (Unable to send data without Virtual stick mode enabled ).Both virtual stick and remote…
3
votes
1 answer

Running two Android DJI apps over USB at the same time?

Has anyone had success running a custom DJI Mobile SDK application alongside the DJI Go application on Android? It appears as though only one application at a time can connect to the controller over USB. I am creating an app with the Mobile SDK for…
Seibar
  • 68,705
  • 38
  • 88
  • 99
3
votes
4 answers

Does a non-mobile DJI Drone SDK exist?

I can see that DJI has a drone SDK for mobile apps (iOS/Android), but I would like to pilot the device from client-side JavaScript or desktop C#. Preferably some type of REST api that can be addressed by any language. Does something like that…
AngryHacker
  • 59,598
  • 102
  • 325
  • 594
3
votes
3 answers

Sending images to OES (Intel NUC) on the DJI drone from iOS device

Our Hardware: Drone: Matrice 600, RC controller: DJI - GL 858A connected through LightBridge 2, Flight Controller: A3, OES: Intel NUC 5i5RYK running ROS, Mobile: iOS, Camera connected to Gimbal Problem: We are trying to move the images captured…
2
votes
2 answers

Is it possible to do USB-debugging on Android when Phone's USB port is already used?

Problem: I'd like to run an app on my Phone from my laptop, via USB, using Android Studio, while my phone is physically connected to another USB device (a remote controller for a drone). In this case, I have: My Laptop (MacBook running Android…
Peter
  • 12,274
  • 9
  • 71
  • 86
2
votes
0 answers

Why does camera set mode fails with time out?

What is the reason for the below function returning onResult with dji error (drone and remote are connected), usually it works but fails from time to time... calling:…
mrdyrden
  • 53
  • 5
2
votes
2 answers

DJI SDK waypoint Missions - swift, IOS

I want to program a system where co-ordinates can be passed to the drone as waypoints and the drone will carry out the actions. The DJI API is documented with OBJ-c and while the concepts will be the same im struggling to understand how a mission is…
OR9999
  • 23
  • 3
2
votes
1 answer

DJI SDK startListeningForChanges not working

I want to get the update of the Compass of my P4 RTK with my Mobile SDK for iOS, but I am not getting any output in the terminal. I am using SwiftUI on Xcode. This is the code I am using. if let locationKey = DJIFlightControllerKey(param:…
Simon
  • 21
  • 1
2
votes
0 answers

DJIGlobalService must extend android.app.Service

I got this error (Error:(58, 32) DJIGlobalService must extend android.app.Service) while compiling a Java Android app based on a DJI sample from https://github.com/DJI-Mobile-SDK-Tutorials/Android-UXSDKDemo/tree/master Basically it complains for…
Roderico
  • 31
  • 2
2
votes
0 answers

DJI: Getting exception on DJISDKManager registerApp method. Method addObserver must be called on the main thread

Can't figure out what's wrong with my code. I've integrated DJI Mobile SDK according to the guide and then even copied all the code from sample app(which works properly on my device), but in both cases I get the following exception when I call…
2
votes
1 answer

Accessing state information in swift - DJI Mobile SDK iOS

I can't get my head around how to get out simple status data, like the current gimbal pitch for example. I have not found a solid connection between the DJI SDK and what actually works in xcode. The SDK gives me hints and together with xcode…
2
votes
1 answer

DJI SDK - Navigation mode not open while running consecutive timeline missions

I am using DJI sample code to run a timeline mission. The first time I run the mission it runs fine. However the second time I get a DJIMissionControlTimelineEventStartError - Navigation mode not open when a GoToAction is executed. This element is…
Brien Crean
  • 2,599
  • 5
  • 21
  • 46
2
votes
0 answers

DJI UX SDK No Message about Register success or Not

I have successfully installed the UX SDK demo on my Android device from GitHub, but I don't get a message whether the registration was successful or not. I have added the appropriate app key to the packages. There are no bars in the app display…
Shucki
  • 31
  • 2
1 2
3
47 48