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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
23 views

Probing the target board failed - Nividia TX2

I am trying to flash the DJI Manifold 2G with the official DJI image. When I try to flash it using the command, sudo ./flash.sh jetson-tx2 mmcblk0p1 the error appears: ################################...
aerovague's user avatar
0 votes
0 answers
18 views

Unable to connect DJI RC N1 to Raspberry Pi 4 running Lineage OS

I'm trying to connect DJI RC N1 to RPI 4 (LineageOS 20/Android 13) for a project. I use GPIO to power RPI 4 to leave the usb c port open. But when I plugged dji rc to usb c port, the system cannot ...
jimmiez's user avatar
0 votes
0 answers
30 views

DJI SDK 5.1.7 RTMP streaming on primary channel crashes main app Android

I am having trouble with my main app crashing after a few minutes of streaming to my cloud RTMP server. The app crash is attached at bottom of this post. A little background - the code is for a dji ...
Lillian's user avatar
  • 87
1 vote
1 answer
32 views

java.lang.UnsatisfiedLinkError in DJI SDK

I'm getting java.lang.UnsatisfiedLinkError: No implementation found for void causing an app crash when calling a DJI SDK library function. In my case I'm calling FlyZoneManager.getInstance()....
Marsroverr's user avatar
0 votes
0 answers
25 views

Im Taking Request_handler_not_found

I am currently experiencing an issue with a "Request Handler Not Found" message while working on a waypoint mission. I am trying to initiate a waypoint mission using the DJI SDK, but I keep ...
Rafael Prado's user avatar
0 votes
0 answers
36 views

Retrieving GPS Information from DJI Windows SDK for Mavic Air

Hello Stack Overflow community, I'm currently working on a project where I need to retrieve GPS data from my DJI Mavic Air drone. I've been exploring the DJI Windows SDK, but I'm unsure about its ...
Dori Fourer's user avatar
0 votes
0 answers
31 views

Coverting jpgs with exif to tiff files

I have jpgs from a drone flight with exif data. I need to convert them to tiff files including the geolocation data. These images are all separate, not an orthomosaic. Pix4D does not seem to work, as ...
Esteban Rodofili's user avatar
1 vote
1 answer
169 views

Unable to integrate YOLOv8 with DJI Tello

I am trying to make object following Python program for DJI Tello using YOLOv8 as my beginner level object detection and dji tello program. And I am unable to fix the errors. Code: import cv2 import ...
Abeer Ilyas's user avatar
1 vote
0 answers
95 views

Tello EDU Drone AI with Python

I am currently working on my Bachelor's thesis, which involves AI-controlled drones utilizing image recognition to navigate through a designated course. However, I am a beginner with programming in ...
CruiseCrews's user avatar
0 votes
0 answers
48 views

Getting live drone flight data to the computer

Is there a way to stream the drone flight data to a computer without having to develop an app using mobile sdk? I want to skip the part of the mobile app to get the data to the computer. Developing an ...
Shay Lavi's user avatar
0 votes
0 answers
79 views

how to get telemetry in dji msdk v5 android kotlin

I am unable to get the real-time location of aircraft, I didn't find any helpful documents I want to get real-time location using remote-Id or Flight Control System, https://github.com/dji-sdk/Mobile-...
Tauseef Ahmad's user avatar
1 vote
0 answers
50 views

How to solve 'Value of type 'DJIVideoFeed' has no member 'remoteCamera'' error when trying to do real-time object detection with DJI Drone?

I am trying to do real time object detection with DJI Drone. I want to combine the AVCaptureVideo command and the DJISDK video process and show the image and object detection frames on a single layer ...
Faruk Cansız's user avatar
0 votes
0 answers
68 views

Customize Onboard-SDK of a DJI drone

Starting from the DJI website I went on the Quick start section to understand how it is possible to customize and control the movements of the drone writing code. I ended up in the Github repository ...
Fabio C.'s user avatar
0 votes
0 answers
84 views

DJI Ronin RS 2: Obtain angle information faster than 5 Hz

Working with the DJI Ronin RS 2, I would like to ask the gimbal for its angles as quickly as possible. Therefore I use the "Handheld Gimbal Information Obtaining" command from the DJI-SDK (...
Timm's user avatar
  • 11
1 vote
1 answer
97 views

how to get battery level of the dji remote controller in android app (built using android studio - java)?

with the code below i am able to retrieve serial number of the dji drone remote controller. however, I cannot get battery level. is there anyway I can retrieve battery level? please advise. the code ...
Shareef's user avatar
  • 53
1 vote
0 answers
107 views

DJI Mavic 2 pro data are not changing on Windows SDK

I am trying to access DJI Mavic 2 Pro data through DJI WSDK. I was able to setup the code as per DJI tutorial When I print appActivationState, I get the status as ACTIVATED. When I print ...
Abdurrahman's user avatar
0 votes
0 answers
68 views

Cannot get video feed from Mavic 2 Enterprise Dual in Mobile SDK

I'm trying and failing to get a camera-feed on the Mavic Enterprise 2 dual, using the Mobile SDK. I am connected to the drone, and my app runs fine and displays the video with both the Mini2 and Air ...
Peter's user avatar
  • 12.5k
0 votes
0 answers
40 views

DJI-WSDK Developing

I'm trying to connect to DJI mavic 2 via visual studio 2022, but I got the following error. can you help me? 'DJI_Interface_App.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Program Files\WindowsApps\...
Hasan Temir's user avatar
0 votes
1 answer
103 views

Android Studio 2021.3.1 preview issues with Dji Widgets

A couple of months ago with Android Studio update the preview stops rendering of xml code if there is any dji widget inside. <dji.ux.beta.core.panel.topbar.TopBarPanelWidget <dji.ux.panel....
Ivan Beskorovayniy's user avatar
0 votes
1 answer
67 views

Is it possible to create a popup window in Android that displays a live video feed via a texture view?

I am currently building out our application to display a live video feed from the DJI SDK mobile on the android application. However, I am having a hard time figuring out how to display the popup with ...
Dylan's user avatar
  • 11
1 vote
0 answers
208 views

Image stitch of DJI Mavic mini 2 panoramas programmatically

I used dji fly app to create panoroma image taken by dji mini 2 drone. My aim is to automate this process either server side or create an app to make panoroma. I tried to write code for creating ...
user9191581's user avatar
0 votes
1 answer
586 views

Is it possible to access DJI Mavic's camera video and process it realtime on the external device?

I want to realtime process video that captures DJI Mavic using onboard NVidia Jetson module. Is it possible to use video data in external device? How to access it?
Robotex's user avatar
  • 1,074
0 votes
1 answer
196 views

DJI-SDK retrieve x,y Coordinates accurately. GPS is too inaccurate

I am trying to create an application with AR that will display objects hovering right on top of the drone to help the user flying experience (e.g. show an arrow or gimbals on your AR-goggles that ...
Rodrigo C's user avatar
1 vote
1 answer
1k views

How to stream RTMP direct from an android divice to a windows pc in the fild without any Network

i would like to stream Dron video from the controler (Dji mavic air 2 with a RC-N1 controler) via RTMP direktly from the controler/my Phone to my PC wihl i am in the fields without having any internet ...
Liam's user avatar
  • 11
1 vote
0 answers
101 views

how to set the speed of a drone with dji sdk mobile?

I am currently trying to create an app' that would set the speed of a drone at 1.8m/s so I wouldn't have to gauge the remote controler while the drone is flying (wether on a remote controler or on an ...
StagStudioFly's user avatar
0 votes
1 answer
227 views

How can I obtain Absolute Altitude Value (ASL) using DJI MSDK and M300 drone

I am trying to get the drone absolute altitude value (ASL) in real time (before taking off) I have 2 drones, Mavic 2 enterprise advanced & M300. When using the below code in mavic2, I was able to ...
mrdyrden's user avatar
0 votes
0 answers
80 views

UWP SDK and .net framework

I am working on a program where I need to be able to interface with both a DJI drone and a RIGOL spectrum analyzer. The DJI drone uses a UWP SDK while the spectrum analyzer I believe only uses the ...
Emre's user avatar
  • 1
0 votes
1 answer
142 views

DJI Gimbal - how to get callbacks from hardware buttons when pressed

I'm working on a camera app using Android Camera2 SDK which has button for start/stop recording, and a zoom functionality. I've integrated the DJI mobile SDK and I did the registration with the API ...
Walid's user avatar
  • 710
1 vote
0 answers
119 views

Unintentional DJI Gimbal Yaw rotation during missions

The problem is that during waypoint missions the drone (Mavic 2 Pro) rotates its gimbal yaw 90 degrees to the left. The issue itself does not seem to be specifically related to our application, I ...
Sirwan Afifi's user avatar
  • 10.7k
1 vote
1 answer
2k views

How to make Google Photos recognise 360 photos (e.g. from DJI Mini 2)

Google photos provides a really nice way of viewing 360 photos from a mobile device, where you can look around the photo by moving the phone. For example, here is a 360 photos from my Parrot ANAFI ...
Peter's user avatar
  • 12.5k
0 votes
1 answer
295 views

Update PointAnnotation location android java

I'm trying to show the location of a DJI Drone on the Mapbox map and constantly update it's location. This is what I'm doing. private void addDroneMarker(double latitude, double longitude){ ...
RicardoDV's user avatar
3 votes
2 answers
580 views

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, ...
Peter's user avatar
  • 12.5k
0 votes
1 answer
192 views

DJI SDK - Fly drone in circular orbit, set the radius (in meters/feet) and Hot Point Mission for Air 2S

I m trying to fly the drone in circular orbit around the car standing still on the ground. The drone is flying around the car in circular direction (clockwise) if it is initially placed perpendicular ...
SML's user avatar
  • 2,182
0 votes
1 answer
154 views

'No command land 'P' error message after takeoff using djitellopy

I have written this very simple code: from djitellopy import Tello import time tello=Tello tello.takeoff() # works just fine! time.sleep(2) tello.land() # returns error! If there is any help I would ...
Filippos Papalos's user avatar
1 vote
0 answers
80 views

The compiled sample code app cannot be connected to the remote control when installed on the mobile phone

I once installed the app compiled from the sample code on Android studio on my mobile phone, which can be connected to the remote control of Dajiang UAV, but I updated the code. The recompiled app can'...
ITgong's user avatar
  • 11
1 vote
1 answer
133 views

DJI Android-VideoStreamDecodingSample Save YUV To JPEG

I am trying to convert the YUV frames to JPEG for Mavic 2 Pro. This is done using the newSaveYuvDataToJPEG420P or newSaveYuvDataToJPEG functions in repo. However, I observe that the incoming data is ...
Himanshu1310's user avatar
0 votes
1 answer
80 views

Failed to use the interval image capture mode in DJI SDK

This is the code I'm using but it only takes a single photo private fun captureAction() { val camera: Camera = getCameraInstance() ?: return val photoMode = ShootPhotoMode.INTERVAL ...
Benaiah Navarro's user avatar
0 votes
0 answers
239 views

incomplete type `std::string' when building OSDK on Raspberry Pi 4

I am trying to build the DJI Onboard-SDK on a Raspberry Pi 4, and have had errors with different libraries missing that I have managed to resolve by installing those libraries. I've now gotten an ...
jcoutie's user avatar
1 vote
1 answer
501 views

Invalid CFBundleSupportedPlatforms value iPhoneSimulator in (DJIWidget) FFmpeg.framework

I cannot upload my app which contains the DJI-SDK, DJIWidget(which contains FFMpeg) to Testflight after updating to Xcode 13. When I try I get: Invalid CFBundleSupportedPlatforms value. The ...
Brien Crean's user avatar
  • 2,629
0 votes
1 answer
271 views

DJI Thermal SDK can't open xt2 camera thermal image

I have downloaded the official windows DJI Thermal SDK, and I can successfully use the exe on sample image. But failed to open my DJI XT2 camera's thermal rjpeg output. D:\test\dji_thermal_sdk_v1....
Tianyun Ling's user avatar
  • 1,057
2 votes
0 answers
104 views

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: DJISDKManager.getInstance()....
mrdyrden's user avatar
0 votes
1 answer
79 views

Zoom Slider DJI widget

I need to zoom in my app and it appears that in the DJIPilot app there is something that looks like a widget for a zoom, but I can't find it in the documentation, does anyone know what widget is this? ...
Ernesto Oliva's user avatar
0 votes
1 answer
220 views

Library not found for -lDJIWidget

I am attempting to run the sample developer dji application for the iOS platform via Xcode version 13.2.1. Upon building the application for the ObjectiveC and Swift sample code, I get an error ...
kevinjaypatel's user avatar
0 votes
1 answer
47 views

Detect DJI drone power down event while RC is still powered on

Is there a way to determine when the drone has been powered down (when the remote controller is still powered on)? For example a pilot may change the drone battery but does not power down the remote ...
Brien Crean's user avatar
  • 2,629
1 vote
2 answers
113 views

DJI Assistant 2 simulator will not run missions. DJI ERROR 5021 "TOTAL MISSION DISTANCE TOO LARGE"

So I have been writing an application to run custom missions, the missions run fine and everything works as intended, however when attempting to run on the simulator I receive this error. The missions ...
AR1412's user avatar
  • 11
1 vote
0 answers
64 views

dji drone set obstacles avoidance distance

we are working on an Android app using the dji sdk, we use a mavic 2 pro drone. We need to set the collision distance active between 0 and 75cm, we tried to use this method https://developer.dji.com/...
Luca Barioni's user avatar
1 vote
1 answer
5k views

ERROR: torch is not a supported wheel on this platform (Linux, non-Conda)

I understand there's a similar question asked but that was for a conda environment. I am running a non-conda environment for python 3.7.10, 3.8.9 i got the wheels file from https://download.pytorch....
fatbringer's user avatar
0 votes
1 answer
85 views

GPS Signal of the aircraft is weak-Using simulator and FollowMeMissionOperator

(Mobile SDK) I get 'Error- the GPS Signal of the aircraft is weak(216)' when I try to start a FollowMe mission while using the simulator i.e. on the line FollowMeMissionOp.startMission(...
Seer's user avatar
  • 3
1 vote
1 answer
247 views

import cv2 error affected by ROS kinetic cv2 installation [duplicate]

I encountered this error when attempting to run a python3 script with the line import cv2. Seems like it is affected by my ROS kinetic installation import cv2 ImportError: /opt/ros/kinetic/lib/...
fatbringer's user avatar
0 votes
1 answer
236 views

Trying to build an example from DJI PSDK (ERROR: Please confirm your platform.)

I'm trying to follow the DJI's documentation of the PayloadSDK to understand better the workflow. But when I type the line " cmake -DCMAKE_BUILD_TYPE=Release .. ", on (https://developer.dji....
Nicolas Granese's user avatar

1
2 3 4 5
15