NoiseManager.h
Go to the documentation of this file.
1 /*
2  * OpenVINS: An Open Platform for Visual-Inertial Research
3  * Copyright (C) 2018-2023 Patrick Geneva
4  * Copyright (C) 2018-2023 Guoquan Huang
5  * Copyright (C) 2018-2023 OpenVINS Contributors
6  * Copyright (C) 2018-2019 Kevin Eckenhoff
7  *
8  * This program is free software: you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation, either version 3 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program. If not, see <https://www.gnu.org/licenses/>.
20  */
21 
22 #ifndef OV_MSCKF_NOISEMANAGER_H
23 #define OV_MSCKF_NOISEMANAGER_H
24 
25 #include <math.h>
26 
27 #include "utils/print.h"
28 
29 namespace ov_msckf {
30 
34 struct NoiseManager {
35 
37  double sigma_w = 1.6968e-04;
38 
40  double sigma_w_2 = pow(1.6968e-04, 2);
41 
43  double sigma_wb = 1.9393e-05;
44 
46  double sigma_wb_2 = pow(1.9393e-05, 2);
47 
49  double sigma_a = 2.0000e-3;
50 
52  double sigma_a_2 = pow(2.0000e-3, 2);
53 
55  double sigma_ab = 3.0000e-03;
56 
58  double sigma_ab_2 = pow(3.0000e-03, 2);
59 
61  void print() {
62  PRINT_DEBUG(" - gyroscope_noise_density: %.6f\n", sigma_w);
63  PRINT_DEBUG(" - accelerometer_noise_density: %.5f\n", sigma_a);
64  PRINT_DEBUG(" - gyroscope_random_walk: %.7f\n", sigma_wb);
65  PRINT_DEBUG(" - accelerometer_random_walk: %.6f\n", sigma_ab);
66  }
67 };
68 
69 } // namespace ov_msckf
70 
71 #endif // OV_MSCKF_NOISEMANAGER_H
ov_msckf::NoiseManager::sigma_a_2
double sigma_a_2
Accelerometer white noise covariance.
Definition: NoiseManager.h:52
ov_msckf::NoiseManager::sigma_a
double sigma_a
Accelerometer white noise (m/s^2/sqrt(hz))
Definition: NoiseManager.h:49
ov_msckf::NoiseManager::sigma_wb
double sigma_wb
Gyroscope random walk (rad/s^2/sqrt(hz))
Definition: NoiseManager.h:43
PRINT_DEBUG
#define PRINT_DEBUG(x...)
ov_msckf
Extended Kalman Filter estimator.
Definition: VioManager.h:46
ov_msckf::NoiseManager::sigma_wb_2
double sigma_wb_2
Gyroscope random walk covariance.
Definition: NoiseManager.h:46
ov_msckf::NoiseManager::sigma_ab
double sigma_ab
Accelerometer random walk (m/s^3/sqrt(hz))
Definition: NoiseManager.h:55
ov_msckf::NoiseManager::print
void print()
Nice print function of what parameters we have loaded.
Definition: NoiseManager.h:61
ov_msckf::NoiseManager::sigma_w
double sigma_w
Gyroscope white noise (rad/s/sqrt(hz))
Definition: NoiseManager.h:37
ov_msckf::NoiseManager::sigma_ab_2
double sigma_ab_2
Accelerometer random walk covariance.
Definition: NoiseManager.h:58
print.h
ov_msckf::NoiseManager::sigma_w_2
double sigma_w_2
Gyroscope white noise covariance.
Definition: NoiseManager.h:40
ov_msckf::NoiseManager
Struct of our imu noise parameters.
Definition: NoiseManager.h:34


ov_msckf
Author(s): Patrick Geneva , Kevin Eckenhoff , Guoquan Huang
autogenerated on Mon Dec 16 2024 03:06:54