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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

88<br />

Check the printed messages; it should say a gamepad was found and then initialize a bunch of<br />

things :<br />

Now press the button you chose as the select button. Press it several times to make the motors<br />

leds switch between red (emergency mode) and green(ready to fly mode).<br />

Clear the drone surroundings and press the button you chose as the start button. The drone<br />

should start flying.<br />

11.5 Compile the Navigation example<br />

First we must build the AR<strong>Drone</strong>LIB library (unless you already have for the SDK Demo example),<br />

by using the makefile provided :<br />

$ cd 〈SDK〉/AR<strong>Drone</strong>Lib/Soft/Build<br />

$ make<br />

Compilation is successful if the last executed action is "ar rcs libpc_ardrone.a ..." and succeeds.<br />

The second step is to compile the example itself :<br />

$ cd 〈SDK〉/Examples/Linux/Navigation/Build<br />

$ make<br />

An executable program called ardrone_navigation is created in the 〈SDK〉/AR<strong>Drone</strong>Lib/Version/Release<br />

directory.

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

Saved successfully!

Ooh no, something went wrong!