Paparazzi UAS  v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
imu_elle0 module

MPU9250 IMU via SPI.

Basically the same as imu_mpu9250_spi, only changed axes assignment for Elle0.

Example for airframe file

Add to your firmware section:

1 <module name="imu_elle0"/>

Auto-loaded modules

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

Files

Raw imu_elle0.xml file:

<!DOCTYPE module SYSTEM "module.dtd">
<module name="imu_elle0" dir="imu">
<doc>
<description>
MPU9250 IMU via SPI.
Basically the same as imu_mpu9250_spi, only changed axes assignment for Elle0.
</description>
</doc>
<autoload name="imu_mpu9250_spi"/>
<makefile target="!sim|nps|fbw">
<define name="IMU_MPU9250_CHAN_X" value="1"/>
<define name="IMU_MPU9250_CHAN_Y" value="0"/>
<define name="IMU_MPU9250_CHAN_Z" value="2"/>
<define name="IMU_MPU9250_X_SIGN" value="-1"/>
<define name="IMU_MPU9250_Y_SIGN" value="-1"/>
<define name="IMU_MPU9250_Z_SIGN" value="-1"/>
</makefile>
</module>