Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
stabilization_attitude_quat_indi.c
Go to the documentation of this file.
1 /*
2  * Copyright (C) Ewoud Smeur <ewoud_smeur@msn.com>
3  * MAVLab Delft University of Technology
4  *
5  * This file is part of paparazzi.
6  *
7  * paparazzi is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2, or (at your option)
10  * any later version.
11  *
12  * paparazzi is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with paparazzi; see the file COPYING. If not, write to
19  * the Free Software Foundation, 59 Temple Place - Suite 330,
20  * Boston, MA 02111-1307, USA.
21  */
22 
33 
34 
36 {
37  // Check if the indi init is already done for rate control
38 #ifndef USE_STABILIZATION_RATE_INDI
40 #endif
41 }
42 
44 {
46 }
47 
49 {
51 }
52 
54 {
56 }
57 
59 {
61 }
62 
63 void stabilization_attitude_run(bool in_flight)
64 {
66 }
67 
68 void stabilization_attitude_read_rc(bool in_flight, bool in_carefree, bool coordinated_turn)
69 {
70  stabilization_indi_read_rc(in_flight, in_carefree, coordinated_turn);
71 }
stabilization_attitude_enter
void stabilization_attitude_enter(void)
Definition: stabilization_attitude_quat_indi.c:43
stabilization_indi_init
void stabilization_indi_init(void)
Function that initializes important values upon engaging INDI.
Definition: stabilization_indi.c:206
stabilization_attitude.h
stabilization_attitude_run
void stabilization_attitude_run(bool in_flight)
Definition: stabilization_attitude_quat_indi.c:63
stabilization_attitude_set_rpy_setpoint_i
void stabilization_attitude_set_rpy_setpoint_i(struct Int32Eulers *rpy)
Definition: stabilization_attitude_quat_indi.c:53
stabilization_indi_set_failsafe_setpoint
void stabilization_indi_set_failsafe_setpoint(void)
Function that calculates the failsafe setpoint.
Definition: stabilization_indi.c:294
stabilization_attitude_set_failsafe_setpoint
void stabilization_attitude_set_failsafe_setpoint(void)
Definition: stabilization_attitude_quat_indi.c:48
stabilization_indi_set_rpy_setpoint_i
void stabilization_indi_set_rpy_setpoint_i(struct Int32Eulers *rpy)
Definition: stabilization_indi.c:309
stabilization_indi_enter
void stabilization_indi_enter(void)
Function that resets important values upon engaging INDI.
Definition: stabilization_indi.c:256
Int32Vect2
Definition: pprz_algebra_int.h:83
stabilization_indi_attitude_run
void stabilization_indi_attitude_run(struct Int32Quat quat_sp, bool in_flight)
Definition: stabilization_indi.c:496
Int32Eulers
euler angles
Definition: pprz_algebra_int.h:146
stabilization_attitude_init
void stabilization_attitude_init(void)
stabilization_attitude_init
Definition: stabilization_attitude_quat_indi.c:35
stabilization_indi_set_earth_cmd_i
void stabilization_indi_set_earth_cmd_i(struct Int32Vect2 *cmd, int32_t heading)
Definition: stabilization_indi.c:323
stabilization_attitude_set_earth_cmd_i
void stabilization_attitude_set_earth_cmd_i(struct Int32Vect2 *cmd, int32_t heading)
Definition: stabilization_attitude_quat_indi.c:58
int32_t
signed long int32_t
Definition: types.h:19
stabilization_indi_read_rc
void stabilization_indi_read_rc(bool in_flight, bool in_carefree, bool coordinated_turn)
Definition: stabilization_indi.c:525
stab_att_sp_quat
struct Int32Quat stab_att_sp_quat
with INT32_QUAT_FRAC
Definition: stabilization_attitude_heli_indi.c:127
stabilization_attitude_read_rc
void stabilization_attitude_read_rc(bool in_flight, bool in_carefree, bool coordinated_turn)
Definition: stabilization_attitude_quat_indi.c:68
heading
float heading
Definition: wedgebug.c:258