mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +08:00
dfd8e93927
* [generator] generate unique ID and names table for modules * [state] add accessors for the state origin * [state] don't access directly to state origin, use getters * [state] filter inputs with module ID * [ahrs] convert AHRS modules to state input filter - selection of ahrs with settings from each module - init functions for each ahrs modules - remove old chimu * update unit test * [ins] decoupled INS implementation To allow multiple INS at the same time: - remove weak functions from ins.c - remove the INS_TYPE_H define - use ABI message to trigger INS reset * [state] protect for c++
29 lines
887 B
XML
29 lines
887 B
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/>
|
|
</makefile>
|
|
<makefile target="sim">
|
|
<define name="USE_AHRS"/>
|
|
<file name="ahrs.c"/>
|
|
</makefile>
|
|
</module>
|
|
|