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:
<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" task="control">
<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:
</description>
</doc>
<dep>
<depends>@navigation</depends>
</dep>
<header>
<file name="nav_line_border.h"/>
</header>
<makefile target="ap|sim|nps">
<file name="nav_line_border.c"/>
<test firmware="fixedwing">
<define name="CTRL_TYPE_H" value="firmwares/fixedwing/guidance/guidance_v.h" type="string"/>
</test>
</makefile>
</module>