Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
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_count
uint8_t nav_poles_count
Definition:
nav_poles.c:29
nav_poles_land
int8_t nav_poles_land
Definition:
nav_poles.c:31
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
Typedef defining 8 bit unsigned char type.
Definition:
vl53l1_types.h:98
int8_t
signed char int8_t
Typedef defining 8 bit char type.
Definition:
vl53l1_types.h:103
sw
airborne
modules
nav
nav_poles.h
Generated on Thu Dec 5 2024 13:05:31 for Paparazzi UAS by
1.9.1