Skip to content
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

Closed
GitPlz opened this issue Jul 6, 2016 · 3 comments
Closed

DJICompletionCallback onResult "Error" for non-errors #35

GitPlz opened this issue Jul 6, 2016 · 3 comments

Comments

@GitPlz
Copy link

GitPlz commented Jul 6, 2016

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.

@SilverChangjian
Copy link

Thanks for reporting this. We would rethink about the naming of the DJIError.

@xxmaestroxx
Copy link

Hey DJI,

what is the status of this issue?

Regards
Maestro

@talobin
Copy link
Contributor

talobin commented Oct 17, 2017

We have had a big revamp in Mission.
Please check out the class MissionControl.
Will go ahead and close this issue since it has been a long time.
@edancain Please help to create a separate issue if you still have problem with current version SDK 4.3.2
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants