Please select Into the mobile phone version | Continue to access the computer ver.
Return Correct Mission Error
77 2 1-27 16:49
Uploading and Loding Picture ...(0/1)
o(^-^)o
RDAeriosense
lvl.2

Canada
Offline

How can I retrieve correct error messages when uploading a mission?
Currently, we are using WaypointMissionOperator.uploadMission which uses a CompletionCallback with an onResult with DJI Error. However, DJIError won't return the appropriate error. How can I return a DJIMissionError in the CompletionCallback instead?

For example, if the auto flight speed for the mission is too high when attempting to upload a mission it will return an undefined error while I would like it to return the DJIMissionError AUTO_FLIGHT_SPEED_NOT_VALID.

Thanks
1-27 16:49
Use props
DJI-William
lvl.4

Hong Kong
Offline

These kind of error hasn't been defined, we are sorry about that. We will try to cover that later.
1-28 23:57
Use props
RDAeriosense
lvl.2

Canada
Offline

Does that mean that all of the DJIError sub classes are not usable? like DJIMissionError: https://developer.dji.com/api-re ... onManagerError.html

Can you let me know which of the classes which extend DJIError are defined please? and how to use them. I can't find any examples.

Thank you.
2-3 13:28
Use props
Advanced
You need to log in before you can reply Login | Register now

Credit Rules