<!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>
  <depends>traffic_info</depends>
  <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>
