Paparazzi UAS  v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
nav_survey_rectangle_rotorcraft.h File Reference

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

+ Include dependency graph for nav_survey_rectangle_rotorcraft.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define NavSurveyRectangleInit(_wp1, _wp2, _grid, _orientation)   nav_survey_rectangle_rotorcraft_setup(_wp1, _wp2, _grid, _orientation)
 
#define NavSurveyRectangle(_wp1, _wp2)   nav_survey_rectangle_rotorcraft_run(_wp1, _wp2)
 

Enumerations

enum  survey_orientation_t { NS, WE, NS, WE }
 

Functions

void nav_survey_rectangle_rotorcraft_init (void)
 
bool_t nav_survey_rectangle_rotorcraft_setup (uint8_t wp1, uint8_t wp2, float grid1, survey_orientation_t so)
 
bool_t nav_survey_rectangle_rotorcraft_run (uint8_t wp1, uint8_t wp2)
 

Variables

float sweep
 
uint16_t rectangle_survey_sweep_num
 
bool_t interleave
 

Detailed Description

Automatic survey of a rectangle for rotorcraft.

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

Definition in file nav_survey_rectangle_rotorcraft.h.

Macro Definition Documentation

#define NavSurveyRectangle (   _wp1,
  _wp2 
)    nav_survey_rectangle_rotorcraft_run(_wp1, _wp2)

Definition at line 48 of file nav_survey_rectangle_rotorcraft.h.

#define NavSurveyRectangleInit (   _wp1,
  _wp2,
  _grid,
  _orientation 
)    nav_survey_rectangle_rotorcraft_setup(_wp1, _wp2, _grid, _orientation)

Definition at line 47 of file nav_survey_rectangle_rotorcraft.h.

Enumeration Type Documentation

Enumerator
NS 
WE 
NS 
WE 

Definition at line 36 of file nav_survey_rectangle_rotorcraft.h.

Function Documentation

void nav_survey_rectangle_rotorcraft_init ( void  )

Definition at line 92 of file nav_survey_rectangle_rotorcraft.c.

References DefaultPeriodic, register_periodic_telemetry(), and send_survey().

+ Here is the call graph for this function:

Variable Documentation

bool_t interleave
uint16_t rectangle_survey_sweep_num
float sweep

Definition at line 54 of file nav_survey_rectangle_rotorcraft.c.