Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
nav_survey_rectangle.c File Reference

Automatic survey of a rectangle for fixedwings. More...

#include "modules/nav/nav_survey_rectangle.h"
#include "state.h"
#include "generated/flight_plan.h"
Include dependency graph for nav_survey_rectangle.c:

Go to the source code of this file.

Macros

#define SurveyGoingNorth()
#define SurveyGoingSouth()
#define SurveyGoingEast()
#define SurveyGoingWest()
#define LINE_START_FUNCTION   {}
#define LINE_STOP_FUNCTION   {}

Functions

void nav_survey_rectangle_init (uint8_t wp1, uint8_t wp2, float grid, survey_orientation_t so)
void nav_survey_rectangle (uint8_t wp1, uint8_t wp2)

Variables

float nav_survey_sweep
static struct point survey_from
static struct point survey_to
static bool survey_uturn = false
static survey_orientation_t survey_orientation = NS

Detailed Description

Automatic survey of a rectangle for fixedwings.

Rectangle is defined by two points, sweep can be south-north or west-east.

Definition in file nav_survey_rectangle.c.

Macro Definition Documentation

◆ LINE_START_FUNCTION

#define LINE_START_FUNCTION   {}

Definition at line 48 of file nav_survey_rectangle.c.

◆ LINE_STOP_FUNCTION

#define LINE_STOP_FUNCTION   {}

Definition at line 51 of file nav_survey_rectangle.c.

◆ SurveyGoingEast

#define SurveyGoingEast ( )
Value:
static struct EnuCoor_f survey_from survey_to
static survey_orientation_t survey_orientation
static struct point survey_from

Definition at line 42 of file nav_survey_rectangle.c.

Referenced by nav_survey_rectangle().

◆ SurveyGoingNorth

#define SurveyGoingNorth ( )
Value:

Definition at line 40 of file nav_survey_rectangle.c.

Referenced by nav_survey_rectangle().

◆ SurveyGoingSouth

#define SurveyGoingSouth ( )
Value:

Definition at line 41 of file nav_survey_rectangle.c.

Referenced by nav_survey_rectangle().

◆ SurveyGoingWest

#define SurveyGoingWest ( )
Value:

Definition at line 43 of file nav_survey_rectangle.c.

Referenced by nav_survey_rectangle().

Function Documentation

◆ nav_survey_rectangle()

◆ nav_survey_rectangle_init()

Variable Documentation

◆ nav_survey_sweep

float nav_survey_sweep

Definition at line 33 of file nav_survey_rectangle.c.

Referenced by nav_survey_rectangle(), and nav_survey_rectangle_init().

◆ survey_from

◆ survey_orientation

◆ survey_to

struct point survey_to
static

Definition at line 36 of file nav_survey_rectangle.c.

◆ survey_uturn