Concept Flow - goto() command for navigation
Start
Call goto(x, y, z)
Calculate path to (x, y, z)
Move drone step-by-step
Check if reached (x, y, z)?
No→Continue moving
Yes
Stop movement
End
The drone receives a goto(x, y, z) command, calculates the path, moves step-by-step, checks if it reached the target, and stops when it arrives.