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
|
|