Paparazzi UAS  v5.14.0_stable-0-g3f680d1
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
imu_temp_ctrl module

Bebop2/Disco INS (MPU6x) sensor temperature control.

No detailed description...

Example for airframe file

Add to your firmware section: This example contains all possible configuration options, not all of them are mandatory!

1 <module name="imu_temp_ctrl">
2  <define name="IMU_TEMP_CTRL_DEBUG" />
3 </module>

Module configuration options

Define Options

  • name: IMU_TEMP_CTRL_DEBUG value: None
    Description: output heater setting in percent and temperature in TMP_STATUS message

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.

  • imu_temp_ctrl_periodic()
    • Frequency in Hz: 20.
    • Autorun: LOCK
      Periodic function automatically starts after init and can't be stopped.

Files

Header Files

The following headers are automatically included in modules.h

Source Files

Raw imu_temp_ctrl.xml file:

<!DOCTYPE module SYSTEM "module.dtd">
<module name="imu_temp_ctrl" dir="ins">
<doc>
<description>
Bebop2/Disco INS (MPU6x) sensor temperature control.
</description>
<define name="IMU_TEMP_CTRL_DEBUG" description="output heater setting in percent and temperature in TMP_STATUS message"/>
</doc>
<header>
<file name="imu_temp_ctrl.h"/>
</header>
<init fun="imu_temp_ctrl_init()"/>
<periodic fun="imu_temp_ctrl_periodic()" freq="20."/>
<makefile target="ap">
<file name="imu_temp_ctrl.c"/>
</makefile>
</module>