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_parametric_3d_lissajous.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2020 Hector Garcia de Marina <hgarciad@ucm.es>
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
27#ifndef GVF_PARAMETRIC_3D_LISSAJOUS_H
28#define GVF_PARAMETRIC_3D_LISSAJOUS_H
29
30#ifdef __cplusplus
31extern "C" {
32#endif
33
35
52typedef struct {
53 float kx;
54 float ky;
55 float kz;
56 float cx;
57 float cy;
58 float cz;
59 float wx;
60 float wy;
61 float wz;
62 float dx;
63 float dy;
64 float dz;
65 float alpha;
67
69
70// 3D Lissajous
71extern bool nav_gvf_parametric_3D_lissajous_XYZ(float xo, float yo, float zo, float cx, float cy, float cz, float wx, float wy,
72 float wz, float dx, float dy, float dz, float alpha);
73extern bool nav_gvf_parametric_3D_lissajous_wp_center(uint8_t wp, float zo, float cx, float cy, float cz, float wx, float wy,
74 float wz, float dx, float dy, float dz, float alpha);
75
76#ifdef __cplusplus
77}
78#endif
79
80#endif // GVF_PARAMETRIC_3D_LISSAJOUS_H
uint16_t foo
Definition main_demo5.c:58
gvf_par_3d_lis_par gvf_parametric_3d_lissajous_par
bool nav_gvf_parametric_3D_lissajous_wp_center(uint8_t wp, float zo, float cx, float cy, float cz, float wx, float wy, float wz, float dx, float dy, float dz, float alpha)
bool nav_gvf_parametric_3D_lissajous_XYZ(float xo, float yo, float zo, float cx, float cy, float cz, float wx, float wy, float wz, float dx, float dy, float dz, float alpha)
float alpha
Definition textons.c:133
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.