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
discsurvey.c File Reference
#include "subsystems/navigation/discsurvey.h"
#include "generated/airframe.h"
#include "state.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 36 of file discsurvey.c.

Function Documentation

bool_t disc_survey_init ( float  grid)

Definition at line 43 of file discsurvey.c.

References c1, DOWNWIND, FALSE, nav_survey_shift, sign, stateGetPositionEnu_f(), point::x, EnuCoor_f::x, point::y, and EnuCoor_f::y.

+ Here is the call graph for this function:

Variable Documentation

struct point c1
static

Definition at line 40 of file discsurvey.c.

Referenced by disc_survey(), and disc_survey_init().

struct point c2
static

Definition at line 41 of file discsurvey.c.

Referenced by disc_survey().

int8_t sign
static

Definition at line 38 of file discsurvey.c.

Referenced by disc_survey(), and disc_survey_init().

enum status status
static

Definition at line 37 of file discsurvey.c.