Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
nav_survey_poly_osam.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_Sweep;
36 extern bool Half_Sweep_Enabled;
37 extern bool Reset_Sweep;
38 
46 extern void nav_survey_poly_osam_setup(uint8_t FirstWP, uint8_t Size, float Sweep, float Orientation);
47 
59 extern void nav_survey_poly_osam_setup_towards(uint8_t FirstWP, uint8_t Size, float Sweep, int SecondWP);
60 
62 extern bool nav_survey_poly_osam_run(void);
63 
65 extern void nav_survey_poly_osam_ResetSweepNumber(bool rst);
66 #endif
@ Sweep
bool Half_Sweep_Enabled
void nav_survey_poly_osam_setup_towards(uint8_t FirstWP, uint8_t Size, float Sweep, int SecondWP)
Setup "dynamic" polygon survey with sweep orientation towards a waypoint.
void nav_survey_poly_osam_setup(uint8_t FirstWP, uint8_t Size, float Sweep, float Orientation)
Setup polygon survey.
uint16_t PolySurveySweepNum
bool Reset_Sweep
float Poly_Sweep
uint8_t Poly_Size
uint16_t PolySurveySweepBackNum
void nav_survey_poly_osam_ResetSweepNumber(bool rst)
Reset sweep number.
bool nav_survey_poly_osam_run(void)
Run polygon survey.
unsigned short uint16_t
Typedef defining 16 bit unsigned short type.
Definition: vl53l1_types.h:88
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.
Definition: vl53l1_types.h:98