Paparazzi UAS  v5.15_devel-47-g0391b4d
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
send_imu_mag_current module

Enables sending of IMU_MAG_CURRENT_CALIBRATION message.

For calibration of changing magnetometer offset due to estimated or measured current.

Example for airframe file

Add to your firmware section:

1 <module name="send_imu_mag_current"/>

Module functions

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 send_imu_mag_current.xml file:

<!DOCTYPE module SYSTEM "module.dtd">
<module name="calibration">
<doc>
<description>
Enables sending of IMU_MAG_CURRENT_CALIBRATION message.
For calibration of changing magnetometer offset due to estimated or measured current.
</description>
</doc>
<header>
<file name="send_imu_mag_current.h"/>
</header>
<periodic fun="send_imu_mag_current()" freq="20" autorun="FALSE"/>
<makefile target="ap">
<file name="send_imu_mag_current.c"/>
</makefile>
</module>