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
eff_scheduling_nederdrone.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2022 Dennis van Wijngaarden <D.C.vanWijngaarden@tudelft.nl>
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
30#ifndef EFF_SCHEDULING_NEDERDRONE_H
31#define EFF_SCHEDULING_NEDERDRONE_H
32
33#include <stdio.h>
34#include <stdbool.h>
35
36extern void ctrl_eff_scheduling_init(void);
37extern void ctrl_eff_scheduling_periodic(void);
38
39// Functions to schedule switching on and of of tip props on front wing
40extern float sched_ratio_tip_props;
41// If pitch lower, pitch props gradually switch off till sched_tip_prop_lower_pitch_limit_deg (1 > sched_ratio_tip_props > 0)
43// If pitch lower, pitch props switch fully off (sched_ratio_tip_props goes to 0)
45// Setting to not switch off tip props during forward flight
47// Setting to scale the thrust effectiveness
48extern float thrust_eff_scaling;
51
52// Schedule all forward actuators with airspeed instead of only the flaps
53extern bool all_act_fwd_sched;
54
55// trim aerodynamic surfaces with settings
56extern float trim_elevator;
57extern float trim_flaps;
58
59extern float pref_flaps_factor;
60
61#endif // EFF_SCHEDULING_NEDERDRONE_H
float pref_flaps_factor
float sched_tip_prop_upper_pitch_limit_deg
float trim_elevator
bool all_act_fwd_sched
float sched_ratio_tip_props
void ctrl_eff_scheduling_periodic(void)
bool sched_tip_props_always_on
float backwing_thrust_eff_scaling
float thrust_eff_scaling
float trim_flaps
float sched_tip_prop_lower_pitch_limit_deg
float backwing_pitch_eff_scaling
void ctrl_eff_scheduling_init(void)