A.R.Drone Developer Guide - Abstract
A.R.Drone Developer Guide - Abstract
A.R.Drone Developer Guide - Abstract
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
The flags argument is a bitfiels containing the following informations :<br />
• Bit 0 : when Bit0=0 the drone will enter the hovering mode, i.e. try to stay on top of a fixed<br />
point on the ground, else it will follow the commands set as parameters.<br />
• Bit 1 : when Bit1=1 AND CONTROL:control_level configuration Bit1=1, the new Combined<br />
Yaw mode is activated. This mode includes a complex hybridation of the phi parameter<br />
to generate complete turns (phi+yaw).<br />
4.2 <strong>Drone</strong> configuration functions<br />
Before recieving the navdata, your application must set the GENERAL:navdata_demo configuration<br />
on the AR.<strong>Drone</strong> . This can be done using the following functions, or directly by calling<br />
the ARDRONE_TOOL_CONFIGURATION_ADDEVENT macro.<br />
ardrone_at_navdata_demo<br />
Summary : Makes the drone send a limited amount of navigation data<br />
Corresponding AT command : AT*CONFIG<br />
[This function does not take any parameter.<br />
Description :<br />
Some navigation data are used for debugging purpose and are not useful for every day flights.<br />
You can choose to receive only the most useful ones by calling this function. This saves some<br />
network bandwidth. Most demonstration programs in the SDK (including the iPhone FreeFlight<br />
application) use this restricted set of data. Ardrone Navigation uses the whole set of data.<br />
Note : You must call this function or ardrone_at_set_navdata_all to make the drone start sending<br />
any navdata.<br />
ardrone_at_set_navdata_all<br />
Summary : Makes the drone send all the navigation data<br />
Corresponding AT command : AT*CONFIG<br />
[This function does not take any parameter.<br />
Description :<br />
Some navigation data are used for debugging purpose and are not useful for every day flights.<br />
You can choose to receive all the available navdata by calling this function. This used some<br />
more network bandwidth.<br />
Note : You must call this function or ardrone_at_navdata_demo to make the drone start sending<br />
any navdata.<br />
19