Files
paparazzi/conf/modules/ahrs_common.xml
T
2021-11-13 00:48:14 +01:00

32 lines
1.0 KiB
XML

<!DOCTYPE module SYSTEM "module.dtd">
<module name="ahrs_common" dir="ahrs" task="estimation">
<doc>
<description>
Generic AHRS interface.
Still requires at least one module providing the actual AHRS implementation.
</description>
<configure name="AHRS_ALIGNER_LED" value="1" description="LED number to indicate AHRS alignment, none to disable (default is board dependent)"/>
</doc>
<header>
<file name="ahrs.h"/>
</header>
<init fun="ahrs_init()"/>
<makefile target="!sim|fbw">
<define name="AHRS_ALIGNER_LED" value="$(AHRS_ALIGNER_LED)" cond="ifneq ($(AHRS_ALIGNER_LED),none)"/>
<define name="USE_AHRS"/>
<define name="USE_AHRS_ALIGNER"/>
<file name="ahrs.c"/>
<file name="ahrs_aligner.c"/>
<test>
<define name="PRIMARY_AHRS" value="ahrs_dcm"/>
<define name="AHRS_TYPE_H" value="modules/ahrs/ahrs_float_dcm_wrapper.h" type="string"/>
</test>
</makefile>
<makefile target="sim">
<define name="USE_AHRS"/>
<file name="ahrs.c"/>
</makefile>
</module>