mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-13 11:29:12 +08:00
a40e0fa4e1
* Pull request with all the code for 6 DOF optical flow control, the basis of a Nature and Nature Machine Intelligence paper. * Camera ID was already added. * Remove a duplicate airframe file. * Cleanup * Simulator does not work with opticflow * Incorporated comments review * fix provides --------- Co-authored-by: Christophe De Wagter <dewagter@gmail.com>
48 lines
1.6 KiB
XML
48 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</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"/>
|
|
<define name="INS_TYPE_H" value="modules/ins/ins_flow.h" type="string"/>
|
|
<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"/> -->
|
|
<raw>
|
|
$(TARGET).CFLAGS += -DAHRS_TYPE_H=\"modules/ins/ins_flow.h\"
|
|
$(TARGET).CFLAGS += -DPRIMARY_AHRS=ahrs_icq
|
|
</raw>
|
|
</makefile>
|
|
|
|
</module>
|