Is there a way to cancel moveToPositionAsync? #4868
Unanswered
bullseye2002
asked this question in
Support Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm working on a drone survey which is supposed stop when detecting something.
I can't find a way to make the drone stop while executing moveToPositionAsync ( I think since it is asynchronous) but I need to.
Are there solutions or workarounds for this?
The Pseudocode goes like this:
fly survey via MoveToPositionAsync
if (something detected during flight):
-hover aka stop flying
-save position
-do this and that
-return to saved position and continue survey
Beta Was this translation helpful? Give feedback.
All reactions