Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
nav_cube module

Fixedwing Navigation in a cube towards a center.

No detailed description...

Example for airframe file

Add to your firmware section:

<module name="nav_cube"/>

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" task="control">
<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="nav_cube.alpha" module="nav/nav_cube" handler="SetAlpha"/>
<dl_setting MIN="1" MAX="12" STEP="1" VAR="nav_cube.sect" module="nav/nav_cube" handler="SetSect"/>
<dl_setting MIN="1" MAX="50" STEP="1" VAR="nav_cube.grid_x" module="nav/nav_cube" handler="SetGridX"/>
<dl_setting MIN="1" MAX="50" STEP="1" VAR="nav_cube.grid_z" module="nav/nav_cube" handler="SetGridZ"/>
<dl_setting MIN="-200" MAX="200" STEP="10" VAR="nav_cube.offset.x" module="nav/nav_cube" handler="SetOffsX"/>
<dl_setting MIN="-400" MAX="200" STEP="10" VAR="nav_cube.offset.y" module="nav/nav_cube" handler="SetOffsY"/>
<dl_setting MIN="-200" MAX="200" STEP="10" VAR="nav_cube.offset.z" module="nav/nav_cube" handler="SetOffsZ"/>
<dl_setting MIN="1" MAX="500" STEP="10" VAR="nav_cube.size.x" module="nav/nav_cube" handler="SetSizeX"/>
<dl_setting MIN="1" MAX="500" STEP="10" VAR="nav_cube.size.y" module="nav/nav_cube" handler="SetSizeY"/>
<dl_setting MIN="1" MAX="500" STEP="10" VAR="nav_cube.size.z" module="nav/nav_cube" handler="SetSizeZ"/>
<dl_setting MIN="1" MAX="8" STEP="1" VAR="nav_cube.nsect_x" module="nav/nav_cube" handler="SetNSectX"/>
<dl_setting MIN="1" MAX="8" STEP="1" VAR="nav_cube.nsect_z" module="nav/nav_cube" handler="SetNSectZ"/>
</dl_settings>
</dl_settings>
</settings>
<dep>
<depends>@navigation</depends>
</dep>
<header>
<file name="nav_cube.h"/>
</header>
<makefile target="ap|sim|nps">
<file name="nav_cube.c"/>
<test firmware="fixedwing"/>
</makefile>
</module>