Paparazzi UAS  v5.0.5_stable-7-g4b8bbb7
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
nav_poles.c File Reference
+ Include dependency graph for nav_poles.c:

Go to the source code of this file.

Macros

#define SAFETY_MARGIN   0.7
 

Functions

bool nav_poles_init (uint8_t wp1, uint8_t wp2, uint8_t wp1c, uint8_t wp2c, float radius)
 computes position of wp1c and wp2c, reference points for an oval around waypoints wp1 and wp2 More...
 

Variables

uint8_t nav_poles_count = 0
 
float nav_poles_time = 0.
 
int8_t nav_poles_land = 1
 

Macro Definition Documentation

#define SAFETY_MARGIN   0.7

Definition at line 8 of file nav_poles.c.

Referenced by nav_poles_init().

Function Documentation

bool nav_poles_init ( uint8_t  wp1,
uint8_t  wp2,
uint8_t  wp1c,
uint8_t  wp2c,
float  radius 
)

computes position of wp1c and wp2c, reference points for an oval around waypoints wp1 and wp2

Definition at line 12 of file nav_poles.c.

References SAFETY_MARGIN, WaypointX, and WaypointY.

Variable Documentation

uint8_t nav_poles_count = 0

Definition at line 4 of file nav_poles.c.

int8_t nav_poles_land = 1

Definition at line 6 of file nav_poles.c.

float nav_poles_time = 0.

Definition at line 5 of file nav_poles.c.