src
update
UpdaterOptions.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_UPDATER_OPTIONS_H
23
#define OV_MSCKF_UPDATER_OPTIONS_H
24
25
#include "
utils/print.h
"
26
27
namespace
ov_msckf
{
28
32
struct
UpdaterOptions
{
33
35
double
chi2_multipler
= 5;
36
38
double
sigma_pix
= 1;
39
41
double
sigma_pix_sq
= 1;
42
44
void
print
() {
45
PRINT_DEBUG
(
" - chi2_multipler: %.1f\n"
,
chi2_multipler
);
46
PRINT_DEBUG
(
" - sigma_pix: %.2f\n"
,
sigma_pix
);
47
}
48
};
49
50
}
// namespace ov_msckf
51
52
#endif // OV_MSCKF_UPDATER_OPTIONS_H
ov_msckf::UpdaterOptions
Struct which stores general updater options.
Definition:
UpdaterOptions.h:32
PRINT_DEBUG
#define PRINT_DEBUG(x...)
ov_msckf
Extended Kalman Filter estimator.
Definition:
VioManager.h:46
ov_msckf::UpdaterOptions::print
void print()
Nice print function of what parameters we have loaded.
Definition:
UpdaterOptions.h:44
print.h
ov_msckf::UpdaterOptions::sigma_pix
double sigma_pix
Noise sigma for our raw pixel measurements.
Definition:
UpdaterOptions.h:38
ov_msckf::UpdaterOptions::sigma_pix_sq
double sigma_pix_sq
Covariance for our raw pixel measurements.
Definition:
UpdaterOptions.h:41
ov_msckf::UpdaterOptions::chi2_multipler
double chi2_multipler
What chi-squared multipler we should apply.
Definition:
UpdaterOptions.h:35
ov_msckf
Author(s): Patrick Geneva
, Kevin Eckenhoff
, Guoquan Huang
autogenerated on Mon Dec 16 2024 03:06:54