mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-21 20:04:09 +08:00
03238c1639
* [fix] fix dep solver to recursively check suggested module the issue was that suggested modules can depend on modules that should be found from the suggested list also enforce that an autopilot should have at least an ins or a ahrs * move dep to targets
43 lines
1.3 KiB
XML
43 lines
1.3 KiB
XML
<!DOCTYPE module SYSTEM "module.dtd">
|
|
|
|
<module name="ins_nps" dir="ins" task="estimation">
|
|
<doc>
|
|
<description>
|
|
Simulated AHRS and INS.
|
|
</description>
|
|
</doc>
|
|
<dep>
|
|
<depends>@imu,@gps</depends>
|
|
<provides>ins,ahrs</provides>
|
|
</dep>
|
|
<header>
|
|
<file name="ins_gps_passthrough.h"/>
|
|
</header>
|
|
<init fun="ins_gps_passthrough_init()"/>
|
|
<makefile target="nps|hitl">
|
|
<file name="imu.c" dir="modules/imu"/>
|
|
<file name="imu_nps.c" dir="modules/imu"/>
|
|
<define name="USE_IMU"/>
|
|
|
|
<!-- use attitude from nps sim -->
|
|
<define name="NPS_BYPASS_AHRS" value="TRUE"/>
|
|
<test>
|
|
<define name="PERIODIC_FREQUENCY" value="500"/>
|
|
<include name="../simulator/nps"/>
|
|
<include name="../../conf/simulator/nps"/>
|
|
<shell cmd="pkg-config glib-2.0 --cflags"/>
|
|
</test>
|
|
</makefile>
|
|
|
|
<makefile target="nps|hitl" firmware="rotorcraft">
|
|
<define name="INS_TYPE_H" value="modules/ins/ins_gps_passthrough.h" type="string"/>
|
|
<file name="ins.c"/>
|
|
<file name="ins_gps_passthrough.c"/>
|
|
</makefile>
|
|
<makefile target="nps|hitl" firmware="fixedwing">
|
|
<define name="INS_TYPE_H" value="modules/ins/ins_gps_passthrough.h" type="string"/>
|
|
<file name="ins.c"/>
|
|
<file name="ins_gps_passthrough_utm.c"/>
|
|
</makefile>
|
|
</module>
|