Paparazzi UAS
v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
Paparazzi UAS
Style Guides
Onboard Modules
Paparazzi Messages
Paparazzi Technical Primers
Math library
CATIA
Todo List
Bibliography
Modules
Namespace Members
Data Structures
Files
File List
Globals
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
nav_poles.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2009-2015 ENAC
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, see
18
* <http://www.gnu.org/licenses/>.
19
*/
20
26
#ifndef NAV_POLES_H
27
#define NAV_POLES_H
28
29
#include <stdbool.h>
30
#include "
std.h
"
31
32
extern
uint8_t
nav_poles_count
;
33
extern
float
nav_poles_time
;
34
extern
int8_t
nav_poles_land
;
35
36
bool
nav_poles_init
(
uint8_t
wp1,
uint8_t
wp2,
37
uint8_t
wp1c,
uint8_t
wp2c,
38
float
radius
);
39
40
#define nav_poles_SetLandDir(_d) { if (_d < 0) _d = -1; else _d = 1; }
41
42
#endif
43
nav_poles_land
int8_t nav_poles_land
Definition:
nav_poles.c:31
radius
static float radius
Definition:
chemotaxis.c:15
nav_poles_count
uint8_t nav_poles_count
Definition:
nav_poles.c:29
nav_poles_time
float nav_poles_time
Definition:
nav_poles.c:30
nav_poles_init
bool nav_poles_init(uint8_t wp1, uint8_t wp2, uint8_t wp1c, uint8_t wp2c, float radius)
computes position of wp1c and wp2c, reference points for an oval around waypoints wp1 and wp2 ...
Definition:
nav_poles.c:37
std.h
uint8_t
unsigned char uint8_t
Definition:
types.h:14
int8_t
signed char int8_t
Definition:
types.h:15
sw
airborne
modules
nav
nav_poles.h
Generated on Sat Feb 9 2019 06:44:01 for Paparazzi UAS by
1.8.8