Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
nps_sensor_mag.h
Go to the documentation of this file.
1
#ifndef NPS_SENSOR_MAG_H
2
#define NPS_SENSOR_MAG_H
3
4
#include "
math/pprz_algebra.h
"
5
#include "
math/pprz_algebra_double.h
"
6
#include "
math/pprz_algebra_float.h
"
7
#include "
std.h
"
8
9
struct
NpsSensorMag
{
10
struct
DoubleVect3
value
;
11
int
min
;
12
int
max
;
13
struct
DoubleMat33
sensitivity
;
14
struct
DoubleVect3
neutral
;
15
struct
DoubleVect3
noise_std_dev
;
16
struct
DoubleRMat
imu_to_sensor_rmat
;
17
double
next_update
;
18
bool
data_available
;
19
};
20
21
22
extern
void
nps_sensor_mag_init
(
struct
NpsSensorMag
*mag,
double
time);
23
extern
void
nps_sensor_mag_run_step
(
struct
NpsSensorMag
*mag,
double
time,
struct
DoubleRMat
*
body_to_imu
);
24
25
#endif
/* NPS_SENSOR_MAG_H */
NpsSensorMag::min
int min
Definition:
nps_sensor_mag.h:11
pprz_algebra_float.h
Paparazzi floating point algebra.
NpsSensorMag
Definition:
nps_sensor_mag.h:9
NpsSensorMag::value
struct DoubleVect3 value
Definition:
nps_sensor_mag.h:10
NpsSensorMag::next_update
double next_update
Definition:
nps_sensor_mag.h:17
std.h
NpsSensorMag::data_available
bool data_available
Definition:
nps_sensor_mag.h:18
nps_sensor_mag_run_step
void nps_sensor_mag_run_step(struct NpsSensorMag *mag, double time, struct DoubleRMat *body_to_imu)
Definition:
nps_sensor_mag.c:26
NpsSensorMag::imu_to_sensor_rmat
struct DoubleRMat imu_to_sensor_rmat
Definition:
nps_sensor_mag.h:16
pprz_algebra_double.h
Paparazzi double precision floating point algebra.
DoubleMat33
Definition:
pprz_algebra_double.h:62
NpsSensorMag::noise_std_dev
struct DoubleVect3 noise_std_dev
Definition:
nps_sensor_mag.h:15
DoubleRMat
rotation matrix
Definition:
pprz_algebra_double.h:69
body_to_imu
static struct OrientationReps body_to_imu
Definition:
ins_alt_float.c:93
DoubleVect3
Definition:
pprz_algebra_double.h:46
NpsSensorMag::max
int max
Definition:
nps_sensor_mag.h:12
pprz_algebra.h
Paparazzi generic algebra macros.
nps_sensor_mag_init
void nps_sensor_mag_init(struct NpsSensorMag *mag, double time)
Definition:
nps_sensor_mag.c:8
NpsSensorMag::neutral
struct DoubleVect3 neutral
Definition:
nps_sensor_mag.h:14
NpsSensorMag::sensitivity
struct DoubleMat33 sensitivity
Definition:
nps_sensor_mag.h:13
sw
simulator
nps
nps_sensor_mag.h
Generated on Tue Feb 1 2022 13:51:18 for Paparazzi UAS by
1.8.17