Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
Main Page
Related Pages
Modules
Data Structures
Data Structures
Data Structure Index
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
m
n
p
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
ahrs_magnetic_field_model.h
Go to the documentation of this file.
1
#ifndef AHRS_MAGNETIC_FIELD_MODEL_H
2
#define AHRS_MAGNETIC_FIELD_MODEL_H
3
4
#include "generated/airframe.h"
5
6
// for complete INS filters, magnetic field can be defined with INS_H_[XYZ]
7
#if defined(INS_H_X) && defined(INS_H_Y) && defined(INS_H_Z)
8
#if defined(AHRS_H_X) || defined(AHRS_H_Y) || defined(AHRS_H_Z)
9
#warning Magnetic field model both defined by AHRS_H_[XYZ] and INS_H_[XYZ]
10
#else
11
#define AHRS_H_X INS_H_X
12
#define AHRS_H_Y INS_H_Y
13
#define AHRS_H_Z INS_H_Z
14
#endif
15
#endif
16
17
#if !USE_MAGNETOMETER && !defined(AHRS_H_X) && !defined(AHRS_H_Y)
18
#define AHRS_H_X 1
19
#define AHRS_H_Y 0
20
#define AHRS_H_Z 0
21
#endif
22
23
#endif
sw
airborne
subsystems
ahrs
ahrs_magnetic_field_model.h
Generated on Tue Feb 1 2022 13:51:17 for Paparazzi UAS by
1.8.17