mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-08 02:15:53 +08:00
bcaba7c720
modules developpers can provide - a description of the module - a list of the configuration variables and flags (configure and define) - a list of sections to add to the airframe file
27 lines
963 B
XML
27 lines
963 B
XML
<!DOCTYPE module SYSTEM "module.dtd">
|
|
<!-- optional flags:
|
|
- USE_HIGH_ACCEL_FLAG: will disable accelerometers on high acceleration detection (low speed, high thrust)
|
|
- ARDUIMU_SYNC_SEND: downlink imu gyro and accels
|
|
-->
|
|
<module name="ins_ArduIMU" dir="ins">
|
|
<doc>
|
|
<description>ArduIMU v2</description>
|
|
<define name="USE_HIGH_ACCEL_FLAG" description="flag to disable accelerometers on high acceleration detection (low speed, high thrust)"/>
|
|
<define name="ARDUIMU_SYNC_SEND" description="flag to downlink raw gyro and accels values"/>
|
|
</doc>
|
|
<header>
|
|
<file name="ins_arduimu_basic.h"/>
|
|
</header>
|
|
<init fun="ArduIMU_init()"/>
|
|
<periodic fun="ArduIMU_periodic()" freq="60"/>
|
|
<periodic fun="ArduIMU_periodicGPS()" freq="4"/>
|
|
<event fun="ArduIMU_event()"/>
|
|
<makefile target="ap">
|
|
<file name="ins_arduimu_basic.c"/>
|
|
</makefile>
|
|
<makefile target="sim">
|
|
<file_arch name="ins_arduimu_basic.c"/>
|
|
</makefile>
|
|
</module>
|
|
|