Comments (10)
Agent comment from yating.liao in Zendesk ticket #105256:
Some models can get time and distance. You can refer to this article;https://sdk-forum.dji.net/hc/en-us/articles/7753552666649-How-to-get-the-flight-distance-flight-times-and-total-flight-time
The data obtained from this interface may differ from the data displayed on the official app.
°°°
from mobile-sdk-android.
@dji-dev thank you so much
from mobile-sdk-android.
Agent comment from yating.liao in Zendesk ticket #105256:
I am glad to help you.
°°°
from mobile-sdk-android.
@dji-dev I have a question
Have a function to support getting activated days?
from mobile-sdk-android.
val flightDistanceKey: DJIKey =
FlightControllerKey.createFlightAssistantKey(FlightControllerKey.AIRCRAFT_TOTAL_FLIGHT_DISTANCE)
val value = KeyManager.getInstance().getValue(flightDistanceKey)
Sorry @dji-dev I used this code but the value returned to null. Can you help me?
from mobile-sdk-android.
Agent comment from yating.liao in Zendesk ticket #105256:
We currently do not have an interface to retrieve the activation days.
You need to replace "createFlightAssistantKey" with "create" to create FlightControllerKey.AIRCRAFT_TOTAL_FLIGHT_DISTANCE.
°°°
from mobile-sdk-android.
@dji-dev thanks
I try to call it on Main and IO thread but the result is still null.
from mobile-sdk-android.
Agent comment from yating.liao in Zendesk ticket #105256:
Could you confirm if the model you are using supports obtaining AIRCRAFT_TOTAL_FLIGHT_DISTANCE? We mentioned in our previous communication that this key only works on the M300 and Mavic 2 Enterprise Advanced.
Thank you.
°°°
from mobile-sdk-android.
@dji-dev I got it, thank you so much.
from mobile-sdk-android.
Agent comment from yating.liao in Zendesk ticket #105256:
I am glad that I could help you.
°°°
from mobile-sdk-android.
Related Issues (20)
- Pipeline or setOnboardSDKDeviceDataCallback HOT 5
- Distance between drone and home point HOT 3
- Spotlight / object selection support HOT 1
- WaypointMissionOperatorView on DJI Mini 2 (Automatic trajectory) HOT 3
- Gimbal mode HOT 7
- Gimbal HOT 1
- Unit type HOT 3
- Camera Image in Bytes or ImageProxy format HOT 5
- Battery Voltage HOT 3
- Aspect ratio can’t be change HOT 5
- [Help] ActiveTrackOperator.startTracking() HOT 7
- Delete media file HOT 3
- Safety assistance mode HOT 5
- [Help] State FetchMediaTaskScheduler is UNKNOWN HOT 1
- FPVWidget issue HOT 1
- DJISampleApplication.getAircraftInstance().getFlightController().getState().setAircraftLocation HOT 3
- Find my drone HOT 7
- Dji Drone Gimbal Rotation HOT 19
- [Help] Restricted Zone HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mobile-sdk-android.