Paparazzi UAS  v6.2_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
PolySurveySweepNum
uint16_t PolySurveySweepNum
Definition: nav_survey_poly_osam.c:141
Poly_Sweep
float Poly_Sweep
Definition: nav_survey_poly_osam.c:76
uint8_t
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.
Definition: vl53l1_types.h:98
PolySurveySweepBackNum
uint16_t PolySurveySweepBackNum
Definition: nav_survey_poly_osam.c:142
Reset_Sweep
bool Reset_Sweep
Definition: nav_survey_poly_osam.c:79
nav_survey_poly_osam_setup_towards
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.
Definition: nav_survey_poly_osam.c:81
nav_survey_poly_osam_run
bool nav_survey_poly_osam_run(void)
Run polygon survey.
Definition: nav_survey_poly_osam.c:349
Half_Sweep_Enabled
bool Half_Sweep_Enabled
Definition: nav_survey_poly_osam.c:78
std.h
nav_survey_poly_osam_setup
void nav_survey_poly_osam_setup(uint8_t FirstWP, uint8_t Size, float Sweep, float Orientation)
Setup polygon survey.
Definition: nav_survey_poly_osam.c:146
Sweep
@ Sweep
Definition: nav_survey_poly_osam.c:125
Poly_Size
uint8_t Poly_Size
Definition: nav_survey_poly_osam.c:75
uint16_t
unsigned short uint16_t
Typedef defining 16 bit unsigned short type.
Definition: vl53l1_types.h:88
nav_survey_poly_osam_ResetSweepNumber
void nav_survey_poly_osam_ResetSweepNumber(bool rst)
Reset sweep number.
Definition: nav_survey_poly_osam.c:101