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.
710
questions
0
votes
0
answers
7
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 ...
-4
votes
0
answers
19
views
Possible to make DJI Camera App that controls gimbal & can active track horses [closed]
Let me first say I'm not a developer or engineer. I just wanted to know if this is currently possible and allowed by DJI.
Through DJI's available SDKs, is it possible to make an AI camera app that can ...
0
votes
0
answers
14
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\...
0
votes
1
answer
33
views
Reload view after composite class change variable
I'm new in Swift and I'm trying to do my project more object oriented.
Im making app for using DJI SDK, and I'm trying to change some things in view when some variable changes in composite class.
So I ...
0
votes
0
answers
37
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....
0
votes
0
answers
18
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 ...
0
votes
0
answers
52
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 ...
-1
votes
1
answer
102
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?
0
votes
1
answer
97
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 ...
0
votes
0
answers
20
views
how to configure tripod mode for DJI M210 V2 on Cendence Remote controller with DJI SDK?
I want to lower the max speed of my drone DJI M210-V2 by adjusting the max speed of the aircraft to 1.8 m/s. To do so, I have noticed setTripodModeEnabled that drops the max to 1m/s and ...
1
vote
1
answer
245
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 ...
1
vote
0
answers
74
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 ...
1
vote
1
answer
108
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 ...
0
votes
0
answers
43
views
"Undefined error" message with MediaManger.deleteFIles() call on android, dji sdk
I am trying to provide an option to delete the mediafile from my android app. But sometimes I am receiving "Undefined Error" message, on calling mediaManager.deleteFiles(mediaFiles). Also ...
0
votes
0
answers
35
views
Android Studio: No error message appears during WIFI debugging
When debugging over wifi (Using the otherwise nice Android Studio Wifi Debugging Feature), I often get no error message popping up in console when the app crashes. The app just stops, and no message ...
0
votes
0
answers
65
views
Is DJI Windows SDK compatible with RC1B remote controller and Mavic 2 Pro?
I'm trying to run the FPV demo application of the DJI Windows SDK tutorials, as shown here, I'm able to launch it but it doesn't show the image of the mavic's camera, I'm using the mavic 2 pro with a ...
0
votes
0
answers
61
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 ...
0
votes
1
answer
80
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 ...
0
votes
0
answers
30
views
Precision of AircraftYawAction[dji-sdk]
I'm creating a database of the images of the lake for further processing using the DJI Mavic Air drone. After flying to the observation point, I'm then use the elements.add(new AircraftYawAction(-70f, ...
1
vote
0
answers
85
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 ...
0
votes
1
answer
733
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 ...
0
votes
1
answer
111
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){
...
0
votes
0
answers
94
views
Copy files from DJI Action 2 using Wi-Fi
I'd like to copy files off from my DJI Action 2 camera. I can connect to the camera using Wi-Fi using the password which the camera displays. I can also make http requests to the camera which has the ...
2
votes
2
answers
287
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, ...
0
votes
1
answer
97
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 ...
0
votes
1
answer
102
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 ...
0
votes
0
answers
40
views
WaypointMission curved dont work as expected
I currently have:
Aircraft: Matrice 300 RTK
Mobile SDK: 4.16
I have waypoints A, B and C for simplicity. I need the drone to go from A to B and then to C and without stopping, searching the internet I ...
1
vote
0
answers
69
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'...
1
vote
1
answer
65
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 ...
0
votes
1
answer
66
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
...
0
votes
0
answers
143
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 ...
1
vote
1
answer
340
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
...
0
votes
0
answers
58
views
When using matrice 300 rtk, why does set camera mode returns Not supported by current firmware?
I am using dji android sdk
Matrice 300 rtk
calling DJIHelper.getProductInstance()
.getCamera()
.setMode(SettingsDefinitions.CameraMode.MEDIA_DOWNLOAD
...
0
votes
1
answer
156
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....
2
votes
0
answers
80
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()....
0
votes
0
answers
84
views
Getting Error Only after using Build in Visual Studio?
Using DJI Mavic Air
https://developer.dji.com/windows-sdk/documentation/tutorials/index.html
Using this guide i am Integrating DJIVideoParsel, at the end,Build is successful but output is a failure ...
0
votes
1
answer
63
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? ...
0
votes
0
answers
26
views
Aspect ratio on mode photo H20
i am using a Matrice 300 RTK and a H20 camera, this camera have 5184×3888 resolution for phtos that is 4:3 ratio and the video have 16:9 ratio, so in my app i need to show the camera, in mode video ...
0
votes
0
answers
30
views
DJI SDK integrated with RVIZ and open manipulator x
I am creating a project based on the Open Manipulator X robotic arm in conjunction with the Matrice 210 V1 aircraft, I want to perform the edometry part in RVIZ, how could I integrate the telemetry to ...
0
votes
1
answer
139
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 ...
0
votes
1
answer
40
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 ...
1
vote
2
answers
84
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 ...
0
votes
0
answers
26
views
SdkError.SYSTEM_ERROR when setting CameraOrientation using DJI-Windows-SDK
I attemp to change the camera orientation of my Mavic Air Drone using DJI-Windows-SDK.
I keep getting a SdkError.SYSTEM_ERROR when executing using the following block of code:
CameraOrientation ...
0
votes
0
answers
20
views
Possibilities to get Information about concrete SdkError-Codes
I am just starting to develop applications using DJI SDKs. In my case I am starting with the Windows SDK which worked fine so far guided by the provided tutorials.
Now I want to do some small steps on ...
1
vote
0
answers
49
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/...
0
votes
1
answer
2k
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....
0
votes
1
answer
69
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(...
1
vote
1
answer
204
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/...
0
votes
1
answer
86
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....
0
votes
1
answer
692
views
nvidia-smi command not found on DJI Manifold 2G NVIDIA Jetson TX2
Upon running nvidia-smi through terminal, i am met with nvidia-smi command not found
However, i am aware that jetpack 3.3 (the nvidia drivers) have already been installed.
Has anyone encountered ...