Paparazzi UAS  v5.15_devel-58-g208c37b
Paparazzi is a free software Unmanned Aircraft System.
 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 
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 
unsigned char uint8_t
Definition: types.h:14
signed char int8_t
Definition: types.h:15