Paparazzi UAS  v5.18.0_stable-1-g6993852-dirty
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
imu_ardrone2 module

IMU on Parrot ARDrone2.

No detailed description...

Example for airframe file

Add to your firmware section:

1 <module name="imu_ardrone2"/>

Auto-loaded modules

The following modules are automatically loaded (just as if you had added them in the airframe file)

Module functions

Init Functions

These initialization functions are called once on startup.

Event Functions

These event functions are called in each cycle of the module event loop.


Header Files

The following headers are automatically included in modules.h

Source Files

Raw imu_ardrone2.xml file:

<!DOCTYPE module SYSTEM "module.dtd">
<module name="imu_ardrone2" dir="imu">
IMU on Parrot ARDrone2.
<autoload name="imu_common"/>
<autoload name="imu_nps"/>
<file name="imu_ardrone2.h" dir="subsystems/imu"/>
<init fun="imu_ardrone2_init()"/>
<event fun="navdata_update()"/>
<makefile target="!sim|nps|fbw">
<!-- set fixed AHRS propegation frequencies -->
<configure name="AHRS_PROPAGATE_FREQUENCY" default="200"/>
<configure name="AHRS_CORRECT_FREQUENCY" default="200"/>
<define name="IMU_TYPE_H" value="subsystems/imu/imu_ardrone2.h" type="string"/>
<file name="imu_ardrone2.c" dir="subsystems/imu"/>
<file name="navdata.c" dir="boards/ardrone"/>
<include name="boards/ardrone"/>
<define name="_GNU_SOURCE"/>