Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
nav_survey_poly_rotorcraft.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2008-2014 The Paparazzi Team
3  *
4  * This file is part of paparazzi.
5  *
6  * paparazzi is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2, or (at your option)
9  * any later version.
10  *
11  * paparazzi is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with paparazzi; see the file COPYING. If not, write to
18  * the Free Software Foundation, 59 Temple Place - Suite 330,
19  * Boston, MA 02111-1307, USA.
20  */
21 
27 #ifndef NAV_SURVEY_POLY_OSAM_H
28 #define NAV_SURVEY_POLY_OSAM_H
29 
30 #include "std.h"
31 
32 extern uint8_t Poly_Size;
33 extern float Poly_Distance;
36 extern bool Half_Sweep_Enabled;
37 
45 extern void nav_survey_poly_setup(uint8_t FirstWP, uint8_t Size, float Sweep, float Orientation);
46 
58 extern void nav_survey_poly_setup_towards(uint8_t FirstWP, uint8_t Size, float Sweep, int SecondWP);
59 
61 extern bool nav_survey_poly_run(void);
62 
63 #endif
uint16_t
unsigned short uint16_t
Definition: types.h:16
nav_survey_poly_run
bool nav_survey_poly_run(void)
Run polygon survey.
Definition: nav_survey_poly_rotorcraft.c:307
Half_Sweep_Enabled
bool Half_Sweep_Enabled
Definition: nav_survey_poly_osam.c:78
std.h
Poly_Distance
float Poly_Distance
Definition: nav_survey_poly_rotorcraft.c:61
uint8_t
unsigned char uint8_t
Definition: types.h:14
PolySurveySweepBackNum
uint16_t PolySurveySweepBackNum
Definition: nav_survey_poly_osam.c:142
PolySurveySweepNum
uint16_t PolySurveySweepNum
Definition: nav_survey_poly_osam.c:141
Sweep
@ Sweep
Definition: nav_survey_poly_osam.c:125
Poly_Size
uint8_t Poly_Size
Definition: nav_survey_poly_osam.c:75
nav_survey_poly_setup
void nav_survey_poly_setup(uint8_t FirstWP, uint8_t Size, float Sweep, float Orientation)
Setup polygon survey.
Definition: nav_survey_poly_rotorcraft.c:123
nav_survey_poly_setup_towards
void nav_survey_poly_setup_towards(uint8_t FirstWP, uint8_t Size, float Sweep, int SecondWP)
Setup "dynamic" polygon survey with sweep orientation towards a waypoint.
Definition: nav_survey_poly_rotorcraft.c:63