95
The example is basic one which simply hangs by saying "Connection timeout" if no connection
is possible. Check the network connectivity and restart the application if such thing happens.
The video window does not respond if no video is received from the drone. Close the console
window to close the application, or deport the SDL window management code from the video
processing thread to an independent thread.
12.5 Quick summary of problems solving
P. The application starts, but no video is displayed, or "Connection timeout" appears.
S. The client was to slow connecting to the drone, or could not connect. Restart the application,
or check your network configuration if the problem remains.
P. I can’t open any source file from the solution explorer
S. Make sure the ARDroneLibDir and Win32ClientDir macros are set in the Properties Man-
ager
P. I get the "Windows.h : no such file or directory" message when compiling.
S. Make sure the Windows SDK was correctly installed. A light version should be installed
along with VC Express.
P. I get the "Cannot open input file ’dxguid.lib’ message when compiling.
S. Make sure the DirectX SDK was correctly installed
P. I get the "Error spawning mt.exe" message when compiling.
S. There is a problem with the Windows SDK installation. Please reinstall.
13 Other platforms
13.1 Android example
Please refer to the <SDK>/Examples/Android/ardrone directory, and its two files INSTALL and
README to compile the Android example. It was successfully tested (controls and video
display) on a rooted Google/HTC Nexus One phone, using NDK r3.
97