-
Notifications
You must be signed in to change notification settings - Fork 14
Description
After a while of flying, the ardrone library loses connection with the drone.
The thread who runs the ardrone library is still working (as he receives all commands from another thread), but there is no control command sent to the drone, neither the watchdog command.
I verified that with Wireshark. The last command was sent after about 51 seconds. For two more seconds, I received the navdata packages from the drone. Then the connection was lost. The drone then sent an ARP-request to figure out who has ip 192.168.1.3, which should not exist in this network.
Another thing I figured out is that after 0.3 seconds after sending the last command to the drone, the navdata changed bit on position 25 (Navdata thread ON : (0) thread OFF (1) thread ON) from 0 to 1. After this navdata package, i received some more for 1.7 seconds before the connection was lost.
Can you provide me any hint how to solve that problem? I use a Ubuntu VirtulBox, I've been thinking that this could be the problem. But when I don't let the drone fly, the connection is stable over the whole time (just sending some commands to let the LEDs blink or take pictures). Sometimes the library is able to reconnect (after about 10-30 seconds), if the drone didn't crashed into something.
Furthermore, can you tell me where to find the exact flags on the navdata package? In the developer documentation I can only find the partition of the navdata, but no additional informations.