Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
nav_rotorcraft_hybrid.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2023 Gautier Hattenberger <gautier.hattenberger@enac.fr>
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 NAV_ROTORCRAFT_HYBRID_H
29 #define NAV_ROTORCRAFT_HYBRID_H
30 
31 #include "modules/nav/nav_base.h"
33 
34 // settings
35 extern float nav_max_speed; // max speed in route mode
36 extern float nav_max_deceleration_sp;
37 extern float nav_max_acceleration_sp; // Maximum limit that can vary depending on the function
38 extern float nav_hybrid_max_acceleration; // General setting
39 extern float nav_hybrid_line_gain;
40 extern float nav_hybrid_pos_gain;
41 extern float nav_hybrid_max_bank;
42 extern float nav_hybrid_max_expected_wind;
43 #ifndef GUIDANCE_INDI_HYBRID
44 extern bool force_forward;
45 #endif
46 
47 extern void nav_rotorcraft_hybrid_init(void);
48 
49 #endif
50 
float nav_max_deceleration_sp
bool force_forward
forward flight for hybrid nav
float nav_max_speed
float nav_hybrid_max_bank
float nav_max_acceleration_sp
float nav_hybrid_max_expected_wind
float nav_hybrid_line_gain
float nav_hybrid_pos_gain
void nav_rotorcraft_hybrid_init(void)
Init and register nav functions.
float nav_hybrid_max_acceleration