-
Notifications
You must be signed in to change notification settings - Fork 581
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DJICompletionCallback onResult "Error" for non-errors #35
Comments
Thanks for reporting this. We would rethink about the naming of the DJIError. |
Hey DJI, what is the status of this issue? Regards |
We have had a big revamp in Mission. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Some of the DJIErrors that are returned to DJIBaseComponent.DJICompletionCallback are not errors, they are messages. I expect an error returned to the onResult method to be an error, which indicates to me that the command didn't work.
For example, I paused a DJIHotPointMission and got the following error returned: "The homepoint is paused".
The drone paused the mission, and could resume the mission... no error occurred. This causes a bug in my code, since I believe the drone is still performing the hot point mission, when in fact it has paused correctly.
The text was updated successfully, but these errors were encountered: