Paparazzi UAS  v5.2.2_stable-0-gd6b9f29
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures 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:

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|jsbsim|nps">
<file name="nav_line_border.c"/>
</makefile>
</module>