mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-02-05 18:51:00 +08:00
* [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++
47 lines
1.6 KiB
XML
47 lines
1.6 KiB
XML
<!DOCTYPE module SYSTEM "module.dtd">
|
|
|
|
<module name="ins_flow" dir="ins">
|
|
<doc>
|
|
<description>
|
|
simple INS and AHRS using flow
|
|
</description>
|
|
</doc>
|
|
|
|
|
|
<settings>
|
|
<dl_settings NAME="INS">
|
|
<dl_settings name="flow">
|
|
<dl_setting var="reset_filter" min="0" step="1" max="1" values="NO|YES" module="modules/ins/ins_flow"/>
|
|
<dl_setting var="run_filter" min="0" step="1" max="1" values="NO|YES" module="modules/ins/ins_flow"/>
|
|
<dl_setting var="use_filter" min="0" step="1" max="3" values="NO|ANGLE|VELOCITY|HEIGHT" module="modules/ins/ins_flow"/>
|
|
<dl_setting var="thrust_factor" min="0.01" step="0.01" max="1.50" module="modules/ins/ins_flow"/>
|
|
</dl_settings>
|
|
</dl_settings>
|
|
</settings>
|
|
<dep>
|
|
<depends>@imu,@gps</depends>
|
|
<provides>ahrs,ins</provides>
|
|
</dep>
|
|
<header>
|
|
<file name="ins_flow.h" dir="modules/ins"/>
|
|
</header>
|
|
<init fun="ins_flow_init()"/>
|
|
<periodic fun="ins_flow_update()" autorun="TRUE"/>
|
|
<makefile target="ap|nps">
|
|
<!-- FLOW files -->
|
|
<!-- <define name="USE_AHRS"/> -->
|
|
<define name="USE_AHRS_ALIGNER"/>
|
|
<file name="ins.c" dir="modules/ins/"/>
|
|
<file name="ins_flow.c" dir="modules/ins"/>
|
|
<file name="ahrs_int_cmpl_quat.c" dir="modules/ahrs"/>
|
|
<!-- <file name="ahrs.c" dir="subsystems"/> -->
|
|
<file name="ahrs_aligner.c" dir="modules/ahrs"/>
|
|
<!-- <file name="pprz_algebra_float.c" dir="math"/> -->
|
|
<test firmware="rotorcraft">
|
|
<define name="MOTOR_MIXING_NB_MOTOR" value="4"/>
|
|
<define name="USE_MAGNETOMETER" value="true"/>
|
|
</test>
|
|
</makefile>
|
|
|
|
</module>
|