Paparazzi UAS  v4.2.2_stable-4-gcc32f65
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
discsurvey.c File Reference
#include "subsystems/navigation/discsurvey.h"
#include "generated/airframe.h"
#include "estimator.h"
#include "std.h"
#include "subsystems/nav.h"
#include "generated/flight_plan.h"
#include "ap_downlink.h"
+ Include dependency graph for discsurvey.c:

Go to the source code of this file.

Enumerations

enum  status {
  UTURN, CROSSWIND, UTURN, SEGMENT,
  DOWNWIND
}
 

Functions

bool_t disc_survey_init (float grid)
 
bool_t disc_survey (uint8_t center, float radius)
 

Variables

static enum status status
 
static int8_t sign
 
static struct point c
 
static struct point c1
 
static struct point c2
 

Enumeration Type Documentation

enum status
Enumerator
UTURN 
CROSSWIND 
UTURN 
SEGMENT 
DOWNWIND 

Definition at line 10 of file discsurvey.c.

Function Documentation

bool_t disc_survey ( uint8_t  center,
float  radius 
)
bool_t disc_survey_init ( float  grid)

Definition at line 17 of file discsurvey.c.

References c1, DOWNWIND, estimator_x, estimator_y, FALSE, nav_survey_shift, sign, point::x, and point::y.

Variable Documentation

struct point c1
static

Definition at line 14 of file discsurvey.c.

Referenced by disc_survey(), and disc_survey_init().

struct point c2
static

Definition at line 15 of file discsurvey.c.

Referenced by disc_survey().

int8_t sign
static

Definition at line 12 of file discsurvey.c.

Referenced by disc_survey(), and disc_survey_init().

enum status status
static

Definition at line 11 of file discsurvey.c.