Paparazzi UAS
v5.18.0_stable
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
;
34
extern
uint16_t
PolySurveySweepNum
;
35
extern
uint16_t
PolySurveySweepBackNum
;
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
uint16_t
unsigned short uint16_t
Definition:
types.h:16
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
uint8_t
unsigned char uint8_t
Definition:
types.h:14
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_osam_ResetSweepNumber
void nav_survey_poly_osam_ResetSweepNumber(bool rst)
Reset sweep number.
Definition:
nav_survey_poly_osam.c:101
sw
airborne
modules
nav
nav_survey_poly_osam.h
Generated on Tue Feb 1 2022 13:51:16 for Paparazzi UAS by
1.8.17