14.01.2013 Views

A.R.Drone Developer Guide - Abstract

A.R.Drone Developer Guide - Abstract

A.R.Drone Developer Guide - Abstract

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

12 Building the Windows<br />

Example<br />

The AR.<strong>Drone</strong> SDK provides a client application example for Windows.<br />

This example called SDK Demo, shows the minimum software required to control an AR.<strong>Drone</strong><br />

with a gamepad or a keyboard. It should be used as a skeleton for all your Windows projects.<br />

In this section, we are going to show you how to build this example on a Windows Seven<br />

workstation. We will suppose you are familiar with C programming and you already have<br />

Visual Studio installed on your machine.<br />

12.1 Set up your development environment<br />

Get some development tools<br />

This demo was tested with Microsoft Visual C++ 2008 Express edition, on a Windows 7 64Bits<br />

Platform. It should work with any version of Windows XP, Vista, and Seven with minor<br />

changes if any.<br />

The required libraries are :<br />

• The Microsoft Windows SDK (available here), Windows Headers and Library.<br />

• The Microsoft DirectX SDK (available here), to use a Gamepad for drone control.<br />

• The SDL Library (available here) which is used in the example to display the video, but<br />

which can be easily replaced;<br />

• Only for Windows XP and earlier - The Pthread for Win32 library (available here)<br />

91

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!