Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
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)
 
void nav_survey_rectangle_rotorcraft_setup (uint8_t wp1, uint8_t wp2, float grid, survey_orientation_t so)
 
bool nav_survey_rectangle_rotorcraft_run (uint8_t wp1, uint8_t wp2)
 

Variables

float sweep
 
uint16_t rectangle_survey_sweep_num
 
bool 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

◆ NavSurveyRectangle

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

Definition at line 48 of file nav_survey_rectangle_rotorcraft.h.

◆ NavSurveyRectangleInit

#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

◆ survey_orientation_t

Enumerator
NS 
WE 
NS 
WE 

Definition at line 36 of file nav_survey_rectangle_rotorcraft.h.

Function Documentation

◆ nav_survey_rectangle_rotorcraft_init()

void nav_survey_rectangle_rotorcraft_init ( void  )

Definition at line 101 of file nav_survey_rectangle_rotorcraft.c.

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

+ Here is the call graph for this function:

◆ nav_survey_rectangle_rotorcraft_run()

◆ nav_survey_rectangle_rotorcraft_setup()

Variable Documentation

◆ interleave

bool interleave
extern

◆ rectangle_survey_sweep_num

uint16_t rectangle_survey_sweep_num
extern

◆ sweep