Basic navigation functions for Rovers
No detailed description...
Example for airframe file
Add to your firmware section:
1 <module name="nav_rover_base"/>
Module functions
Init Functions
These initialization functions are called once on startup.
Files
Header Files
The following headers are automatically included in modules.h
Source Files
Raw nav_rover_base.xml file:
<!DOCTYPE module SYSTEM "module.dtd">
<module name="nav_rover_base" dir="nav">
<doc>
<description>
Basic navigation functions for Rovers
</description>
</doc>
<settings>
<dl_settings>
<dl_settings NAME="nav">
<dl_setting MAX="100." MIN="-100." STEP="0.1" VAR="nav.radius"/>
<dl_setting MAX="359." MIN="0." STEP="5." VAR="nav.heading" unit="rad" alt_unit="deg"/>
<dl_setting MAX="20." MIN="-20." STEP="1." VAR="nav.shift" module="firmwares/rover/navigation" handler="IncreaseShift" shortname="inc. shift"/>
</dl_settings>
</dl_settings>
</settings>
<header>
<file name="nav_rover_base.h"/>
</header>
<init fun="nav_init()"/>
<init fun="nav_rover_init()"/>
<makefile>
<file name="nav_rover_base.c"/>
<file name="navigation.c" dir="firmwares/rover"/>
<file name="common_flight_plan.c" dir="subsystems/navigation"/>
<file name="waypoints.c" dir="subsystems/navigation"/>
<define name="USE_NAVIGATION"/>
</makefile>
</module>