Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
stabilization_attitude_ref_euler_float.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2008-2009 Antoine Drouin <poinix@gmail.com>
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
22
#ifndef STABILIZATION_ATTITUDE_REF_EULER_FLOAT_H
23
#define STABILIZATION_ATTITUDE_REF_EULER_FLOAT_H
24
25
#include "
math/pprz_algebra_float.h
"
26
#include "
attitude_ref_saturate_naive.h
"
27
29
struct
FloatRefModel
{
30
struct
FloatRates
omega
;
31
struct
FloatRates
zeta
;
32
};
33
35
struct
AttRefEulerFloat
{
36
struct
FloatEulers
euler
;
37
struct
FloatRates
rate
;
38
struct
FloatRates
accel
;
39
struct
FloatRefSat
saturation
;
40
struct
FloatRefModel
model
;
41
};
42
43
extern
void
attitude_ref_euler_float_init
(
struct
AttRefEulerFloat
*
ref
);
44
extern
void
attitude_ref_euler_float_enter
(
struct
AttRefEulerFloat
*
ref
,
float
psi);
45
extern
void
attitude_ref_euler_float_update
(
struct
AttRefEulerFloat
*
ref
,
struct
FloatEulers
*sp_eulers,
float
dt);
46
47
#endif
/* STABILIZATION_ATTITUDE_REF_EULER_FLOAT_H */
AttRefEulerFloat::rate
struct FloatRates rate
Definition:
stabilization_attitude_ref_euler_float.h:37
attitude_ref_euler_float_enter
void attitude_ref_euler_float_enter(struct AttRefEulerFloat *ref, float psi)
Definition:
stabilization_attitude_ref_euler_float.c:62
AttRefEulerFloat::saturation
struct FloatRefSat saturation
Definition:
stabilization_attitude_ref_euler_float.h:39
pprz_algebra_float.h
Paparazzi floating point algebra.
attitude_ref_euler_float_update
void attitude_ref_euler_float_update(struct AttRefEulerFloat *ref, struct FloatEulers *sp_eulers, float dt)
Definition:
stabilization_attitude_ref_euler_float.c:67
FloatRefModel
Attitude reference model parameters (float)
Definition:
stabilization_attitude_ref_euler_float.h:29
attitude_ref_euler_float_init
void attitude_ref_euler_float_init(struct AttRefEulerFloat *ref)
Definition:
stabilization_attitude_ref_euler_float.c:41
FloatRefSat
Definition:
attitude_ref_saturate_naive.h:32
AttRefEulerFloat::accel
struct FloatRates accel
Definition:
stabilization_attitude_ref_euler_float.h:38
AttRefEulerFloat::euler
struct FloatEulers euler
Definition:
stabilization_attitude_ref_euler_float.h:36
attitude_ref_saturate_naive.h
AttRefEulerFloat
Attitude reference state/output (euler float)
Definition:
stabilization_attitude_ref_euler_float.h:35
FloatRefModel::zeta
struct FloatRates zeta
Definition:
stabilization_attitude_ref_euler_float.h:31
ref
uint16_t ref[TCOUPLE_NB]
Definition:
temp_tcouple_adc.c:49
FloatEulers
euler angles
Definition:
pprz_algebra_float.h:84
AttRefEulerFloat::model
struct FloatRefModel model
Definition:
stabilization_attitude_ref_euler_float.h:40
FloatRefModel::omega
struct FloatRates omega
Definition:
stabilization_attitude_ref_euler_float.h:30
FloatRates
angular rates
Definition:
pprz_algebra_float.h:93
sw
airborne
firmwares
rotorcraft
stabilization
stabilization_attitude_ref_euler_float.h
Generated on Tue Feb 1 2022 13:51:14 for Paparazzi UAS by
1.8.17