<!DOCTYPE module SYSTEM "module.dtd">

<module name="guidance_indi" dir="guidance">
  <doc>
    <description>
      Guidance controller for rotorcraft using INDI
    </description>
  </doc>
  <settings>
    <dl_settings>
      <dl_settings NAME="guidance_indi">
        <dl_setting var="guidance_indi_pos_gain" min="0" step="0.1" max="10.0" shortname="kp_p" param="GUIDANCE_INDI_POS_GAIN" persistent="true"/>
        <dl_setting var="guidance_indi_speed_gain" min="0" step="0.1" max="10.0" shortname="kp_p" param="GUIDANCE_INDI_SPEED_GAIN" persistent="true"/>
      </dl_settings>
    </dl_settings>
  </settings>
  <header>
    <file name="guidance_indi.h"/>
  </header>
  <init fun="guidance_indi_enter()"/>
  <makefile target="ap|nps" firmware="rotorcraft">
    <file name="guidance_indi.c" dir="$(SRC_FIRMWARE)/guidance"/>
    <define name="GUIDANCE_INDI" value="TRUE"/>
  </makefile>
</module>
