mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +08:00
30 lines
1.1 KiB
XML
30 lines
1.1 KiB
XML
<!DOCTYPE module SYSTEM "module.dtd">
|
|
|
|
<module name="autopilot_gnc" task="control">
|
|
<doc>
|
|
<description>
|
|
Autopilot Guidance Navigation anc Control
|
|
</description>
|
|
</doc>
|
|
<dep>
|
|
<depends>system_core,@guidance,@navigation,@commands,autopilot_guided</depends>
|
|
<provides>autopilot</provides>
|
|
</dep>
|
|
<header>
|
|
<file name="autopilot.h" dir="."/>
|
|
</header>
|
|
<init fun="autopilot_init()"/>
|
|
<periodic fun="autopilot_periodic()"/>
|
|
<event fun="autopilot_event()"/>
|
|
<datalink message="GUIDED_SETPOINT_NED" fun="autopilot_guided_parse_GUIDED(buf)" cond="AP_MODE_GUIDED"/>
|
|
<makefile target="!fbw">
|
|
<file name="autopilot.c" dir="."/>
|
|
<file name="autopilot_firmware.c" dir="$(SRC_FIRMWARE)"/>
|
|
<file name="autopilot_utils.c" dir="$(SRC_FIRMWARE)"/>
|
|
<file name="autopilot_static.c" dir="$(SRC_FIRMWARE)" cond="ifneq ($(USE_GENERATED_AUTOPILOT), TRUE)"/>
|
|
<file name="autopilot_generated.c" dir="$(SRC_FIRMWARE)" cond="ifeq ($(USE_GENERATED_AUTOPILOT), TRUE)"/>
|
|
<define name="USE_GENERATED_AUTOPILOT" value="1" cond="ifeq ($(USE_GENERATED_AUTOPILOT), TRUE)"/>
|
|
</makefile>
|
|
</module>
|
|
|