Files
paparazzi/conf/modules/imu_ardrone2.xml
T
Felix Ruess 17d32772c0 [imu] convert imu subsystems to modules (#1788)
* [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
2016-08-12 12:02:38 +02:00

31 lines
959 B
XML

<!DOCTYPE module SYSTEM "module.dtd">
<module name="imu_ardrone2" dir="imu">
<doc>
<description>
IMU on Parrot ARDrone2.
</description>
</doc>
<autoload name="imu_common"/>
<autoload name="imu_nps"/>
<header>
<file name="imu_ardrone2.h" dir="subsystems/imu"/>
</header>
<init fun="imu_ardrone2_init()"/>
<event fun="navdata_update()"/>
<makefile target="!sim|nps|fbw">
<!-- set fixed AHRS propegation frequencies -->
<configure name="AHRS_PROPAGATE_FREQUENCY" default="200"/>
<define name="AHRS_PROPAGATE_FREQUENCY" value="$(AHRS_PROPAGATE_FREQUENCY)"/>
<configure name="AHRS_CORRECT_FREQUENCY" default="200"/>
<define name="AHRS_CORRECT_FREQUENCY" value="$(AHRS_CORRECT_FREQUENCY)"/>
<define name="IMU_TYPE_H" value="subsystems/imu/imu_ardrone2.h" type="string"/>
<file name="imu_ardrone2.c" dir="subsystems/imu"/>
<file name="navdata.c" dir="boards/ardrone"/>
</makefile>
</module>