Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
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!

<module name="imu_temp_ctrl">
b'<define name="IMU_TEMP_CTRL_DEBUG" />\n '
</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>