-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathkfConsts.h
More file actions
28 lines (24 loc) · 916 Bytes
/
kfConsts.h
File metadata and controls
28 lines (24 loc) · 916 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#pragma once
constexpr static float g = 9.80665; // [m/s/s] Earth's Grav Accel
constexpr static struct {
float accelXY_var = 0.0020f; // [g]
float accelZ_var = 0.0014f; // [g]
float accelXY_VRW = 0.0003f; // [g/sqrt(Hz)]
float accelZ_VRW = 0.0002f; // [g/sqrt(Hz)]
float gyroX_var = 0.0947f; // [deg/s]
float gyroY_var = 0.1474f; // [deg/s]
float gyroZ_var = 0.2144f; // [deg/s]
float gyro_VRW = 0.0241f; // [deg/s/sqrt(Hz)]
} asm330_const;
constexpr static struct {
float baro_var = 0.0f;
} lps22_const;
constexpr static struct {
float accelXY_var = 0.0383f; // [g]
float accelZ_var = 0.0626f; // [g]
float accelXY_VRW = 0.0062f; // [g/sqrt(Hz)]
float accelZ_VRW = 0.0099f; // [g/sqrt(Hz)]
float gyroXYZ_var = 0.0051f; // [deg/s]
float gyro_VRW = 8.33e-4f; // [deg/s/sqrt(Hz)]
float magXYZ_var = 0.7263f; // [uT]
} icm20948_const;