Paparazzi UAS  v4.0.4_stable-3-gf39211a
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
border_line.c File Reference

navigate along a border line (line 1-2) with turns in the same direction More...

#include "subsystems/navigation/border_line.h"
#include "generated/airframe.h"
#include "subsystems/nav.h"
+ Include dependency graph for border_line.c:

Go to the source code of this file.

Enumerations

enum  border_line_status {
  LR12, LQC21, LTC2, LQC22,
  LR21, LQC12, LTC1, LQC11
}
 

Functions

bool_t border_line_init (void)
 
bool_t border_line (uint8_t l1, uint8_t l2, float radius)
 

Variables

static enum border_line_status border_line_status
 

Detailed 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!

Definition in file border_line.c.

Enumeration Type Documentation

Enumerator
LR12 
LQC21 
LTC2 
LQC22 
LR21 
LQC12 
LTC1 
LQC11 

Definition at line 42 of file border_line.c.

Function Documentation

bool_t border_line ( uint8_t  l1,
uint8_t  l2,
float  radius 
)
bool_t border_line_init ( void  )

Definition at line 45 of file border_line.c.

References FALSE, and LR12.

Variable Documentation

Definition at line 43 of file border_line.c.