Paparazzi UAS  v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
bat_voltage_ardrone2 module

Battery voltage reading for ARDrone2

No detailed description...

Example for airframe file

Add to your firmware section:

1 <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.


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">
<description>Battery voltage reading for ARDrone2</description>
<file name="bat_voltage_ardrone2.h"/>
<init fun="bat_voltage_ardrone2_init()"/>
<periodic fun="bat_voltage_ardrone2_periodic()" freq="10"/>
<makefile target="ap">
<file name="bat_voltage_ardrone2.c"/>