Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
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)

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

Variables

uint8_t nav_poles_count
float nav_poles_time
int8_t nav_poles_land

Macro Definition Documentation

◆ nav_poles_SetLandDir

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

Definition at line 40 of file nav_poles.h.

Function Documentation

◆ nav_poles_init()

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, and WaypointY.

Variable Documentation

◆ nav_poles_count

uint8_t nav_poles_count
extern

Definition at line 29 of file nav_poles.c.

◆ nav_poles_land

int8_t nav_poles_land
extern

Definition at line 31 of file nav_poles.c.

◆ nav_poles_time

float nav_poles_time
extern

Definition at line 30 of file nav_poles.c.