Paparazzi UAS  v5.15_devel-88-gb3ad7fe
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
nav_line_border module

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:

Example for airframe file

Add to your firmware section:

1 <module name="nav_line_border"/>

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>