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:
<module name="imu_elle0"/>
Files
Raw imu_elle0.xml file:
<!DOCTYPE module SYSTEM "module.dtd">
<module name="imu_elle0" dir="imu" task="sensors">
<doc>
<description>
MPU9250 IMU via SPI.
Basically the same as imu_mpu9250_spi, only changed axes assignment for Elle0.
</description>
</doc>
<dep>
<depends>imu_mpu9250_spi</depends>
<provides>imu</provides>
</dep>
<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>