mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +08:00
784813824a
It is possible to control the temperature of the MPU6xxx in the Bebop2 and Disco through resistors powered by PWM_6. Code mostly taken from Ardupilot Seems this does not make a big difference even if flying in cold conditions but does rather improve things than do harm. MPU temperature will go to about +15 deg C in a Bebop2 at 0 deg C ambient temperature. Having the gyro/accel calibrated at just below +50 deg C after running the original Parrot software creates a 30+ deg C change.
19 lines
553 B
XML
19 lines
553 B
XML
<!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>
|