mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +08:00
17d32772c0
* [imu] convert imu subsystems to modules Also - get rid of explicit imu init|event|periodic calls in main - each imu implementation has their own imu_x_init/event/periodic * [imu] fix some imu modules * [imu] fix bad paths * [imu] add imu_common module that every implementation autoloads and put body_to_imu settings in imu_common module * [imu] fix imu_ardrone2 * [conf] add imu_common settings module in conf_example and conf_tests
20 lines
640 B
XML
20 lines
640 B
XML
<!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>
|