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
guidance_v.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2006 Pascal Brisset, Antoine Drouin
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
28#ifndef FW_V_CTL_H
29#define FW_V_CTL_H
30
31/* include common mode and variables definitions */
33
34/* outer loop */
35//extern float v_ctl_altitude_error; in common definition
36extern float v_ctl_altitude_setpoint;
37extern float v_ctl_altitude_pre_climb;
38extern float v_ctl_altitude_pgain;
40extern float v_ctl_altitude_max_climb;
41
42/* "auto throttle" inner loop parameters */
46//extern float v_ctl_auto_throttle_cruise_throttle; in common definition
48extern float v_ctl_auto_throttle_pgain;
49extern float v_ctl_auto_throttle_igain;
50extern float v_ctl_auto_throttle_dgain;
51//extern float v_ctl_auto_throttle_sum_err; in common definition
54
55/* cruise pitch trim */
56extern float v_ctl_pitch_trim;
57
58/* agressive tuning */
59#ifdef TUNE_AGRESSIVE_CLIMB
60extern float agr_climb_throttle;
61extern float agr_climb_pitch;
62extern float agr_climb_nav_ratio;
63extern float agr_descent_throttle;
64extern float agr_descent_pitch;
65extern float agr_descent_nav_ratio;
66#endif
67
68/* "auto pitch" inner loop parameters */
69extern float v_ctl_auto_pitch_pgain;
70extern float v_ctl_auto_pitch_igain;
71extern float v_ctl_auto_pitch_sum_err;
72
73#if USE_AIRSPEED
74/* "airspeed" inner loop parameters */
76//extern float v_ctl_auto_airspeed_controlled; in common definition
77extern float v_ctl_auto_airspeed_pgain;
78extern float v_ctl_auto_airspeed_igain;
80//extern float v_ctl_auto_groundspeed_setpoint; in common definition
84#endif
85
86#if CTRL_VERTICAL_LANDING
91extern float v_ctl_landing_pitch_pgain;
92extern float v_ctl_landing_pitch_igain;
94extern float v_ctl_landing_pitch_flare;
96extern float v_ctl_landing_alt_flare;
97#endif
98
99#endif /* FW_V_CTL_H */
float v_ctl_auto_groundspeed_sum_err
float v_ctl_auto_groundspeed_igain
float v_ctl_auto_airspeed_setpoint
in meters per second
float v_ctl_auto_groundspeed_pgain
float v_ctl_altitude_pre_climb_correction
Definition guidance_v.c:43
float v_ctl_auto_throttle_pgain
Definition guidance_v.c:61
float v_ctl_auto_pitch_igain
Definition guidance_v.c:85
float v_ctl_auto_throttle_climb_throttle_increment
float v_ctl_auto_pitch_pgain
Definition guidance_v.c:84
float v_ctl_auto_throttle_min_cruise_throttle
Definition guidance_v.c:58
float v_ctl_auto_pitch_sum_err
Definition guidance_v.c:86
float v_ctl_auto_throttle_max_cruise_throttle
Definition guidance_v.c:59
float v_ctl_auto_throttle_igain
Definition guidance_v.c:62
float v_ctl_altitude_pgain
Definition energy_ctrl.c:90
float v_ctl_altitude_max_climb
Definition guidance_v.c:44
float v_ctl_altitude_setpoint
in meters above MSL
Definition energy_ctrl.c:88
float v_ctl_auto_throttle_nominal_cruise_throttle
float v_ctl_auto_throttle_pitch_of_vz_dgain
Definition guidance_v.c:67
float v_ctl_auto_throttle_pitch_of_vz_pgain
float v_ctl_altitude_pre_climb
Path Angle.
Definition energy_ctrl.c:89
float v_ctl_pitch_trim
Definition guidance_v.c:95
float v_ctl_auto_throttle_dgain
Definition guidance_v.c:63
Vertical control for fixed wing vehicles.
uint16_t foo
Definition main_demo5.c:58