Paparazzi UAS v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
nav_ellipse.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2016 Hector Garcia de Marina
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 */
22
23#ifndef GVF_ELLIPSE_H
24#define GVF_ELLIPSE_H
25
27
36typedef struct {
37 float ke;
38 float kn;
39 float a;
40 float b;
41 float alpha;
43
47
48// Ellipse
49extern bool nav_gvf_ellipse_wp(uint8_t wp, float a, float b, float alpha);
50extern bool nav_gvf_ellipse_XY(float x, float y, float a, float b, float alpha);
51
52#endif // GVF_ELLIPSE_H
bool nav_gvf_ellipse_XY(float x, float y, float a, float b, float alpha)
Definition nav_ellipse.c:64
gvf_ell_par gvf_ellipse_par
Definition nav_ellipse.c:53
bool nav_gvf_ellipse_wp(uint8_t wp, float a, float b, float alpha)
float alpha
Definition textons.c:133
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.
float b
Definition wedgebug.c:202