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
poly_survey_adv.h
Go to the documentation of this file.
1 #ifndef POLY_ADV_H
2 #define POLY_ADV_H
3 
4 #include "std.h"
5 
6 typedef struct {float x; float y;} point2d;
7 
8 typedef enum {ERR, ENTRY, SEG, TURN1, RET, TURN2} survey_stage;
9 
10 extern bool_t init_poly_survey_adv(uint8_t first_wp, uint8_t size, float angle, float sweep_width, float shot_dist, float min_rad, float altitude);
11 extern bool_t poly_survey_adv(void);
12 
13 #endif
bool_t init_poly_survey_adv(uint8_t first_wp, uint8_t size, float angle, float sweep_width, float shot_dist, float min_rad, float altitude)
initializes the variables needed for the survey to start first_wp : the first Waypoint of the polygon...
survey_stage
unsigned char uint8_t
Definition: types.h:14
bool_t poly_survey_adv(void)
main navigation routine.