Paparazzi UAS  v5.10_stable-5-g83a0da5-dirty
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
nav_poles.h File Reference
#include <stdbool.h>
#include "std.h"
+ Include dependency graph for nav_poles.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define nav_poles_SetLandDir(_d)   { if (_d < 0) _d = -1; else _d = 1; }
 

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
 
float nav_poles_time
 
int8_t nav_poles_land
 

Macro Definition Documentation

#define nav_poles_SetLandDir (   _d)    { if (_d < 0) _d = -1; else _d = 1; }

Definition at line 40 of file nav_poles.h.

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 37 of file nav_poles.c.

References SAFETY_MARGIN, WaypointX, WaypointY, Point2D::x, and Point2D::y.

Variable Documentation

uint8_t nav_poles_count

Definition at line 29 of file nav_poles.c.

int8_t nav_poles_land

Definition at line 31 of file nav_poles.c.

float nav_poles_time

Definition at line 30 of file nav_poles.c.