Hi,
I’m currently working with the ground SDK to control an Anafi (inside Sphinx).
I’ve been able to take off using the ManualCopterPilotingItf, I’m now trying to move the drone using move() function with the GuidedPilotingItf. When I run the code below (when a button is clicked), the drone starts moving but immediately stops.
The FinishedFlightInfo’s wasSuccessful() method return false but I don’t know what is the problem and how to solve it …
GuidedPilotingItf guidedPilotingItf = drone.getPilotingItf(GuidedPilotingItf.class);
if (guidedPilotingItf != null) {
GuidedPilotingItf.RelativeMoveDirective relativeMoveDirective = new GuidedPilotingItf.RelativeMoveDirective(5, 0, 0, 0, null);
guidedPilotingItf.move(relativeMoveDirective); // Drone starts moving but immediatly stops
}
Do you know what can be the reasons for a move() call to be aborted ?
Thanks!