Paparazzi UAS  v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
navigate along a border line (line 1-2) with turns in the same direction

Module XML file: nav_line_border.xml

you can use this function to navigate along a border if it is essetial not to cross it navigation is along line p1, p2 with turns in the same direction to make sure you dont cross the line take care youre navigation radius is not to small in strong wind conditions! In the flight plan:

Example for airframe file

1 <modules>
2  <load name="nav_line_border.xml"/>
3 </modules>

Files

Header Files

The following headers are automatically included in modules.h

Source Files

Raw nav_line_border.xml file:

<!DOCTYPE module SYSTEM "module.dtd">
<module name="nav_line_border" dir="nav">
<doc>
<description>
navigate along a border line (line 1-2) with turns in the same direction
you can use this function to navigate along a border if it is essetial not to cross it
navigation is along line p1, p2 with turns in the same direction to make sure you dont cross the line
take care youre navigation radius is not to small in strong wind conditions!
In the flight plan:
<!--
<call fun="nav_line_border_setup()"/>
<call fun="nav_line_border_run(WP_waypoint1_name, WP_waypoint1_name, nav_radius)"/>
-->
</description>
</doc>
<header>
<file name="nav_line_border.h"/>
</header>
<makefile target="ap|sim|nps">
<file name="nav_line_border.c"/>
</makefile>
</module>