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.

60<br />

AT command example : AT*CONFIG=605,"general:ardrone_name","My AR<strong>Drone</strong> Name"<br />

API use example :<br />

ARDRONE_TOOL_CONFIGURATION_ADDEVENT (ardrone_name, "My AR<strong>Drone</strong> Name",<br />

myCallback);<br />

GENERAL:flying_time<br />

Description :<br />

Numbers of seconds spent by the drone in a flying state in its whole lifetime.<br />

Read only<br />

GENERAL:navdata_demo<br />

Read/Write<br />

Description :<br />

The drone can either send a reduced set of navigation data (navdata) to its clients, or send<br />

all the available information which contain many debugging information that are useless for<br />

everyday flights.<br />

If this parameter is set to TRUE, the reduced set is sent by the drone (this is the case in the<br />

AR.FreeFlight iPhone application).<br />

If this parameter is set to FALSE, all the available data are sent (this is the cae in the Linux<br />

example ardrone_navigation).<br />

AT command example : AT*CONFIG=605,"general:navdata_demo","TRUE"<br />

API use example :<br />

ARDRONE_TOOL_CONFIGURATION_ADDEVENT (navdata_demo, TRUE, myCallback);<br />

GENERAL:navdata_options<br />

Read/Write<br />

Description :<br />

When using navdata_demo, this configuration allow the application to ask for others navdata<br />

packets. Most common example is the default_navdata_options macro defined in the config_key.h<br />

file. The full list of the possible navdata packets can be found in the navdata_common.h file.<br />

AT command example : AT*CONFIG=605,"general:navdata_options","65537"<br />

API use example :<br />

ARDRONE_TOOL_CONFIGURATION_ADDEVENT (navdata_options, (NAVDATA_OPTION_-<br />

MASK (NAVDATA_DEMO_TAG) | NAVDATA_OPTION_MASK (NAVDATA_VISION_DETECT_-<br />

TAG)), myCallback);<br />

GENERAL:com_watchdog<br />

Read/Write<br />

Description :<br />

Time the drone can wait without receiving any command from a client program. Beyond this<br />

delay, the drone will enter in a ’Com Watchdog triggered’ state and hover on top a fixed point.<br />

Note : This setting is currently disabled. The drone uses a fixed delay of 250 ms.

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

Saved successfully!

Ooh no, something went wrong!