Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
ctrl_windtunnel.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2020 Freek van Tienen
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
28
#ifndef CTRL_MODULE_WINDTUNNEL_H_
29
#define CTRL_MODULE_WINDTUNNEL_H_
30
31
#include <
std.h
>
32
33
struct
min_max_ctrl_t
{
34
float
min
;
35
float
max
;
36
float
step
;
37
float
current
;
38
};
39
40
// Settings
41
extern
float
ctrl_windtunnel_steptime
;
42
extern
struct
min_max_ctrl_t
ctrl_windtunnel_throttle
;
43
extern
struct
min_max_ctrl_t
ctrl_windtunnel_flaps
;
44
45
extern
void
ctrl_windtunnel_init
(
void
);
46
47
// Implement own loops
48
extern
void
guidance_module_enter
(
void
);
49
extern
void
guidance_module_run
(
bool
in_flight);
50
51
#endif
/* CTRL_MODULE_WINDTUNNEL_H_ */
52
ctrl_windtunnel_init
void ctrl_windtunnel_init(void)
Definition:
ctrl_windtunnel.c:77
ctrl_windtunnel_flaps
struct min_max_ctrl_t ctrl_windtunnel_flaps
Definition:
ctrl_windtunnel.c:55
ctrl_windtunnel_throttle
struct min_max_ctrl_t ctrl_windtunnel_throttle
Definition:
ctrl_windtunnel.c:54
ctrl_windtunnel_steptime
float ctrl_windtunnel_steptime
Definition:
ctrl_windtunnel.c:53
min_max_ctrl_t::min
float min
Definition:
ctrl_windtunnel.h:34
min_max_ctrl_t::step
float step
Definition:
ctrl_windtunnel.h:36
guidance_module_enter
void guidance_module_enter(void)
Entering the module (user switched to module)
Definition:
ctrl_module_innerloop_demo.c:77
guidance_module_run
void guidance_module_run(bool in_flight)
Main guidance loop.
Definition:
ctrl_module_innerloop_demo.c:82
min_max_ctrl_t::current
float current
Definition:
ctrl_windtunnel.h:37
min_max_ctrl_t::max
float max
Definition:
ctrl_windtunnel.h:35
min_max_ctrl_t
Definition:
ctrl_windtunnel.h:33
std.h
sw
airborne
modules
ctrl
ctrl_windtunnel.h
Generated on Fri Nov 8 2024 14:10:46 for Paparazzi UAS by
1.9.1