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
gvf_parametric.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_H
28#define GVF_PARAMETRIC_H
29
31#ifndef GVF_OCAML_GCS
32#define GVF_OCAML_GCS true
33#endif
34
35#ifdef __cplusplus
36extern "C" {
37#endif
38
41
50typedef struct {
51 float w;
52 float delta_T;
54 float k_psi;
55 float L;
56 float beta;
58
59typedef struct {
60 float phi_errors[3];
61 int e_len;
64
67
68// Init function
69extern void gvf_parametric_init(void);
70
71// Control functions
73extern void gvf_parametric_control_2D(float, float, float, float, float, float, float, float);
74extern void gvf_parametric_control_3D(float, float, float, float, float, float, float, float, float,
75 float, float, float);
76
77#ifdef __cplusplus
78}
79#endif
80
81
82#endif // GVF_PARAMETRIC_H
gvf_parametric_con gvf_parametric_control
void gvf_parametric_control_3D(float, float, float, float, float, float, float, float, float, float, float, float)
void gvf_parametric_control_2D(float, float, float, float, float, float, float, float)
void gvf_parametric_init(void)
gvf_parametric_tel gvf_parametric_telemetry
void gvf_parametric_set_direction(int8_t s)
static uint32_t s
unsigned int uint32_t
Typedef defining 32 bit unsigned int type.
signed char int8_t
Typedef defining 8 bit char type.