A.R.Drone Developer Guide - Abstract
A.R.Drone Developer Guide - Abstract
A.R.Drone Developer Guide - Abstract
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
CONTROL:outdoor_control_vz_max<br />
Read/Write<br />
Description :<br />
This setting is used when CONTROL:outdoor is true. See the CONTROL:control_vz_max description<br />
for further informations.<br />
CONTROL:outdoor_control_yaw<br />
Read/Write<br />
Description :<br />
This setting is used when CONTROL:outdoor is true. See the CONTROL:control_yaw description<br />
for further informations.<br />
CONTROL:flying_mode<br />
Read/Write<br />
Description :<br />
Since 1.5.1 firmware, the AR.<strong>Drone</strong> has two different flight modes. The first is the legacy<br />
FreeFlight mode, where the user controls the drone, an a new semi-autonomous mode, called<br />
"HOVER_ON_TOP_OF_ROUNDEL", where the drones will hover on top of a ground tag, and<br />
won’t respond to the progressive commands. This new flying mode was developped for 2011<br />
CES autonomous demonstration.<br />
Note : This mode is experimental, and should be used with care. The roundel (cocarde) detection and<br />
this flying mode are subject to changes without notice in further firmwares.<br />
Note : Roundel detection must be activated with the DETECT:detect_type setting if you want to<br />
use the "HOVER_ON_TOP_OF_ROUNDEL" mode.<br />
Note : Enum with modes can be found in the ardrone_api.h file.<br />
AT command example : AT*CONFIG=605,"control:flying_mode","0"<br />
API use example :<br />
ARDRONE_TOOL_CONFIGURATION_ADDEVENT (flying_mode, FLYING_MODE_FREE_-<br />
FLIGHT, myCallback);<br />
CONTROL:flight_anim<br />
Description :<br />
Use this setting to launch drone animations.<br />
67<br />
Read/Write<br />
The parameter is a string containing the animation number and its duration, separated with a<br />
comma. Animation numbers can be found in the config.h file.<br />
Note : The MAYDAY_TIMEOUT array contains defaults durations for each flight animations.<br />
AT command example : AT*CONFIG=605,"control:flight_anim","3,2"<br />
API use example :<br />
char param[20];<br />
snprintf (param, sizeof (param), "%d,%d", ARDRONE_ANIMATION_YAW_SHAKE,<br />
MAYDAY_TIMEOUT[ARDRONE_ANIMATION_YAW_SHAKE]);<br />
ARDRONE_TOOL_CONFIGURATION_ADDEVENT (flight_anim, param, myCallback);