Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
bat_voltage_ardrone2 module

Battery voltage reading for ARDrone2

No detailed description...

Example for airframe file

Add to your firmware section:

<module name="bat_voltage_ardrone2"/>

Module functions

Init Functions

These initialization functions are called once on startup.

Periodic Functions

These functions are called periodically at the specified frequency from the module periodic loop.

Files

Header Files

The following headers are automatically included in modules.h

Source Files

Raw bat_voltage_ardrone2.xml file:

<!DOCTYPE module SYSTEM "module.dtd">
<module name="bat_voltage_ardrone2" dir="sensors">
<doc>
<description>Battery voltage reading for ARDrone2</description>
</doc>
<header>
<file name="bat_voltage_ardrone2.h"/>
</header>
<init fun="bat_voltage_ardrone2_init()"/>
<periodic fun="bat_voltage_ardrone2_periodic()" freq="10"/>
<makefile target="ap">
<file name="bat_voltage_ardrone2.c"/>
</makefile>
</module>