Basic_Frame_TypeC_2023_Omni
Loading...
Searching...
No Matches
attitude_types.h
1
#ifndef __ATTITUDE_RESOLUTION_TYPES_H
2
#define __ATTITUDE_RESOLUTION_TYPES_H
3
4
#include "uarm_types.hpp"
5
6
/* =========================================================================
7
* AHRS TYPES
8
* ====================================================================== */
9
typedef
struct
{
10
float
ax;
11
float
ay;
12
float
az;
13
14
float
wx;
15
float
wy;
16
float
wz;
17
18
float
mx;
19
float
my;
20
float
mz;
21
22
float
roll;
23
float
pitch;
24
float
yaw;
25
26
}
AhrsSensor_t
;
27
28
typedef
struct
{
29
float
roll;
30
float
pitch;
31
float
yaw;
32
}
Attitude_t
;
33
34
/* =========================================================================
35
* MADGEWICK TYPES
36
* ====================================================================== */
37
typedef
struct
{
38
const
int
sampling_rate;
39
const
float
beta;
40
41
float
q0;
42
float
q1;
43
float
q2;
44
float
q3;
45
}
Madgewick_t
;
46
47
#endif
AhrsSensor_t
Definition
attitude_types.h:9
Attitude_t
Definition
attitude_types.h:28
Madgewick_t
Definition
attitude_types.h:37
Core
Src
Algorithms
attitude
attitude_types.h
Generated by
1.14.0