Module XML file: nav_cube.xml
Example for airframe file
2 <load name="nav_cube.xml"/>
Files
Header Files
The following headers are automatically included in modules.h
Source Files
Raw nav_cube.xml file:
<!DOCTYPE module SYSTEM "module.dtd">
<module name="nav_cube" dir="nav">
<doc>
<description>
Fixedwing Navigation in a cube towards a center.
</description>
</doc>
<settings>
<dl_settings>
<dl_settings NAME="cube">
<dl_setting MIN="0" MAX="360" STEP="1" VAR="cube_alpha" module="nav_cube" handler="SetAlpha"/>
<dl_setting MIN="1" MAX="12" STEP="1" VAR="cube_sect" module="nav_cube" handler="SetSect"/>
<dl_setting MIN="1" MAX="50" STEP="1" VAR="cube_grid_x" module="nav_cube" handler="SetGridX"/>
<dl_setting MIN="1" MAX="50" STEP="1" VAR="cube_grid_z" module="nav_cube" handler="SetGridZ"/>
<dl_setting MIN="-200" MAX="200" STEP="10" VAR="cube_offs_x" module="nav_cube" handler="SetOffsX"/>
<dl_setting MIN="-400" MAX="200" STEP="10" VAR="cube_offs_y" module="nav_cube" handler="SetOffsY"/>
<dl_setting MIN="-200" MAX="200" STEP="10" VAR="cube_offs_z" module="nav_cube" handler="SetOffsZ"/>
<dl_setting MIN="1" MAX="500" STEP="10" VAR="cube_size_x" module="nav_cube" handler="SetSizeX"/>
<dl_setting MIN="1" MAX="500" STEP="10" VAR="cube_size_y" module="nav_cube" handler="SetSizeY"/>
<dl_setting MIN="1" MAX="500" STEP="10" VAR="cube_size_z" module="nav_cube" handler="SetSizeZ"/>
<dl_setting MIN="1" MAX="8" STEP="1" VAR="cube_nsect_x" module="nav_cube" handler="SetNSectX"/>
<dl_setting MIN="1" MAX="8" STEP="1" VAR="cube_nsect_z" module="nav_cube" handler="SetNSectZ"/>
</dl_settings>
</dl_settings>
</settings>
<header>
<file name="nav_cube.h"/>
</header>
<makefile target="ap|sim|nps">
<file name="nav_cube.c"/>
</makefile>
</module>