Product: Bebop 2
Product version: [4.4.2]
SDK version: [3.13.1]
Use of libARController: YES
SDK platform: Unix
Reproductible with the official app: Not tried
I’m trying to use the command “Move to a location” (aRDrone3->sendPilotingMoveTo) on my Bebop 2.
The command is correctly sent and I catch the “Move to changed” event.
When using my Bebop 2, the status is always “ARCOMMANDS_ARDRONE3_PILOTINGSTATE_MOVETOCHANGED_STATUS_ERROR”.
When using the Sphinx simulator, the command succeed with status “ARCOMMANDS_ARDRONE3_PILOTINGSTATE_MOVETOCHANGED_STATUS_DONE”.
The code is exactly the same between my Bebop 2 and the simulator; the only difference is the GPS coordinates given as arguments to the command.
Also I’m waiting for the flying state to be “hovering” before sending the command.
In which cases the MoveTo command can fail? Should I wait for other states before sending it?