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_goto_max_speed; // max speed in goto/stay mode
37 extern float nav_max_deceleration_sp;
38 extern float nav_hybrid_line_gain;
39 extern float nav_hybrid_pos_gain;
40 
41 #ifndef GUIDANCE_INDI_HYBRID
42 extern bool force_forward;
43 #endif
44 
45 
47 
48 extern void nav_rotorcraft_hybrid_init(void);
49 
50 #endif
51 
float nav_max_deceleration_sp
bool force_forward
forward flight for hybrid nav
float nav_max_speed
float nav_hybrid_line_gain
float nav_hybrid_pos_gain
float nav_goto_max_speed
void nav_rotorcraft_hybrid_init(void)
Init and register nav functions.