712 questions
1
vote
1
answer
135
views
DJI Thermal SDK — Is it possible to extract radiometric thermal data from _T.MP4 videos recorded by DJI drones like the M30T?
I’m working on a project that analyzes thermal imagery captured by a DJI M30T drone. My current pipeline works perfectly for _T.JPG images: they contain embedded radiometric data, and I’m using the ...
0
votes
0
answers
28
views
build target failed - DJI OSDK ROS Compiling error - catkin_make not working
I am using DJI OSDK 4.1.0 and DJI OSDK ROS 4.1.0 as well, but when after installing DJI OSDK, when I compile the DJI OSDK ROS in separate workspace, it gives me error:
[ 76%] Generating Python code ...
2
votes
1
answer
378
views
Measure temperature of raw image in DJI SDK
I'm learning how to use the DJI SDK in Python scripts to analyse the content of thermographies (radiometric JPGs, R-JPG).
According to the docs, calling the SKD with the "measure" option ...
1
vote
0
answers
109
views
My DJI drone simulator can't switch into 'GUIDED' mode
I am running a simulator for my DJI drone so I can learn to use the drone before flying it in person. However, whenever I initialize the code the drone fails to enter GUIDED mode. This is my code:
...
1
vote
0
answers
74
views
How to ignore "multiple substitutions specified in non-positional format" error in Android?
I'm trying to integrate DJI Mobile SDK v5 on my Android project. I follwed the instruction from here text
While compiling I'm getiing the following error from value.xml files,
dji-sdk-v5-aircraft-5.8....
1
vote
1
answer
292
views
Robot that moves with putting in X,Y coordinates of a U shaped field
So i just started a project for an employer. One of the things they want is a robot that runs on Python and can be controlled from anywhere with a internet connection and a laptop. They hired another ...
0
votes
1
answer
67
views
Can't find files with a .txt extension with logs in FlightRecords (using DJI MSDK)
Can't find files with a .txt extension in FlightRecords. I use my own app to record flights and DJI MSDK.
I work on the Android App that uses DJI Mobile SDK. I came across an issue that I can't find ...
0
votes
1
answer
301
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 ...
1
vote
1
answer
472
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 ...
1
vote
1
answer
183
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 ...
0
votes
1
answer
134
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....
1
vote
0
answers
345
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 ...
0
votes
1
answer
305
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 ...
1
vote
0
answers
149
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 ...
0
votes
0
answers
96
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 ...
1
vote
0
answers
148
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
569
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
1
answer
250
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 ...
1
vote
0
answers
83
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'...
0
votes
1
answer
97
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
...
1
vote
1
answer
693
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
...
2
votes
0
answers
126
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
1
answer
305
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 ...
1
vote
2
answers
144
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 ...
1
vote
1
answer
6k
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....