mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +08:00
e4d9e10492
- support depends, conflicts and provides nodes, all under a 'dep' node - autoload are kept for now and are not moved yet - modules are updated for new dep format - it is now required that module's name and filename are the same
27 lines
989 B
XML
27 lines
989 B
XML
<!DOCTYPE module SYSTEM "module.dtd">
|
|
|
|
<module name="follow" dir="multi">
|
|
<doc>
|
|
<description>
|
|
Follow a certain AC_ID using traffic_info.
|
|
Only for rotorcraft firmware.
|
|
</description>
|
|
<define name="FOLLOW_AC_ID" description="the aircraft ID which it has to follow"/>
|
|
<define name="FOLLOW_WAYPOINT_ID" description="the waypoint ID which it has to change"/>
|
|
<define name="FOLLOW_OFFSET_X" value="0" description="the x offset in ENU (meters) from the plane"/>
|
|
<define name="FOLLOW_OFFSET_Y" value="0" description="the y offset in ENU (meters) from the plane"/>
|
|
<define name="FOLLOW_OFFSET_Z" value="0" description="the z offset in ENU (meters) from the plane"/>
|
|
</doc>
|
|
<dep>
|
|
<depends>traffic_info</depends>
|
|
</dep>
|
|
<header>
|
|
<file name="follow.h"/>
|
|
</header>
|
|
<init fun="follow_init()"/>
|
|
<periodic fun="follow_wp()" freq="5" autorun="FALSE"/>
|
|
<makefile>
|
|
<file name="follow.c"/>
|
|
</makefile>
|
|
</module>
|