MSCEqF 1.0
Multi State Constraint Equivariant Filter for visual inertial navigation
Loading...
Searching...
No Matches
msceqf_options.hpp
1// Copyright (C) 2023 Alessandro Fornasier.
2// Control of Networked Systems, University of Klagenfurt, Austria.
3//
4// All rights reserved.
5//
6// This software is licensed under the terms of the Apache License, Version 2.0
7// (the "License"); you may not use this file except in compliance with the
8// License. You may obtain a copy of the License at
9//
10// http://www.apache.org/licenses/LICENSE-2.0
11//
12// Unless required by applicable law or agreed to in writing, software
13// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15// License for the specific language governing permissions and limitations
16// under the License.
17//
18// You can contact the authors at <alessandro.fornasier@ieee.org>
19
20#ifndef OPTIONS_HPP
21#define OPTIONS_HPP
22
23#include <opencv2/opencv.hpp>
24
25#include "types/fptypes.hpp"
26
27namespace msceqf
28{
33enum class FeatureRepresentation
34{
35 ANCHORED_EUCLIDEAN,
36 ANCHORED_POLAR,
37 ANCHORED_INVERSE_DEPTH,
38};
39
44enum class ProjectionMethod
45{
46 UNIT_SPHERE,
47 UNIT_PLANE,
48};
49
54enum class DistortionModel
55{
56 RADTAN,
57 EQUIDISTANT,
58};
59
64enum class EqualizationMethod
65{
66 HISTOGRAM,
67 CLAHE,
68 NONE,
69};
70
75enum class FeatureDetector
76{
77 FAST,
78 GFTT,
79};
80
85enum class ZeroVelocityUpdate
86{
87 DISABLE,
88 ENABLE,
89 BEGINNING,
90};
91
97enum class MaskType
98{
99 STATIC,
100 DYNAMIC,
101};
102
118
128
143
149
161
167
176
178{
180};
181
183{
185};
186
206
212
223
224} // namespace msceqf
225
226#endif // OPTIONS_HPP
Definition msceqf_options.hpp:169
fp timeshift_cam_imu_
The time shift between camera and imu (t_imu = t_cam + shift).
Definition msceqf_options.hpp:172
cv::Mat static_mask_
The static image mask.
Definition msceqf_options.hpp:173
VectorX distortion_coefficients_
Distortion coefficients.
Definition msceqf_options.hpp:170
Vector2 resolution_
Width, Height.
Definition msceqf_options.hpp:171
MaskType mask_type_
The mask type.
Definition msceqf_options.hpp:174
Definition msceqf_options.hpp:163
fp disparity_window_
The window is seconds used to check disparity.
Definition msceqf_options.hpp:165
fp disparity_threshold_
the disparity threshold for the disparity check
Definition msceqf_options.hpp:164
Definition msceqf_options.hpp:178
int fast_threshold_
Fast detector threshold (The lower the more feature are detected/accepted).
Definition msceqf_options.hpp:179
Definition msceqf_options.hpp:183
fp quality_level_
Shi-Tomasi detector quality level (The lower the more feature are detected/accepted).
Definition msceqf_options.hpp:184
Definition msceqf_options.hpp:151
fp imu_init_window_
The window in seconds used to check for acceleration spikes.
Definition msceqf_options.hpp:153
SE23 initial_extended_pose_
Initial extended pose.
Definition msceqf_options.hpp:157
bool identity_b0_
Boolean to fix identity bias origin (b0)git.
Definition msceqf_options.hpp:155
fp acc_threshold_
The acceleration threshold for the static initializer.
Definition msceqf_options.hpp:152
fp initial_timestamp_
Initial timestamp.
Definition msceqf_options.hpp:159
bool init_with_given_state_
Boolean to initialize the state with the given state.
Definition msceqf_options.hpp:156
Vector6 initial_bias_
Initial bias.
Definition msceqf_options.hpp:158
fp gravity_
The magnitude of the gravity vector in m/s^2.
Definition msceqf_options.hpp:154
Definition msceqf_options.hpp:214
TrackManagerOptions track_manager_options_
The track manager options.
Definition msceqf_options.hpp:215
StateOptions state_options_
The state options.
Definition msceqf_options.hpp:216
InitializerOptions init_options_
The initializer options.
Definition msceqf_options.hpp:218
ZeroVelocityUpdaterOptions zvupdater_options_
The zero velocity updater options.
Definition msceqf_options.hpp:221
UpdaterOptions updater_options_
The updater options.
Definition msceqf_options.hpp:220
PropagatorOptions propagator_options_
The propagator options.
Definition msceqf_options.hpp:219
CheckerOptions checker_options_
The checker options.
Definition msceqf_options.hpp:217
Definition msceqf_options.hpp:120
fp acceleration_bias_std_
Continuous time acceleration bias (random walk) standard deviation.
Definition msceqf_options.hpp:124
fp angular_velocity_std_
Continuous time angular velocity standard deviation.
Definition msceqf_options.hpp:121
int state_transition_order_
The order for the computation of the state transition matrix.
Definition msceqf_options.hpp:126
uint imu_buffer_max_size_
The maximum size of the propagator's imu buffer.
Definition msceqf_options.hpp:125
fp acceleration_std_
Continuous time acceleration standard deviation.
Definition msceqf_options.hpp:122
fp angular_velocity_bias_std_
Continuous time angular velocity bias (random walk) standard deviation.
Definition msceqf_options.hpp:123
Definition msceqf_options.hpp:106
fp gravity_
The magnitude of the gravity vector in m/s^2.
Definition msceqf_options.hpp:114
Matrix6 E_init_cov_
Initial covariance of the E element of the state.
Definition msceqf_options.hpp:109
bool enable_camera_intrinsics_calibration_
Boolean to enable intinsic camera calibration.
Definition msceqf_options.hpp:113
Matrix9 D_init_cov_
Initial covariance of the D element of the state.
Definition msceqf_options.hpp:107
uint num_persistent_features_
The maximum number of persistent (SLAM) features.
Definition msceqf_options.hpp:116
uint num_clones_
The maximum number of stochastic clones.
Definition msceqf_options.hpp:115
Matrix4 L_init_cov_
Initial covariance of the L element of the state.
Definition msceqf_options.hpp:110
In initial_camera_intrinsics_
Initial camera intrinsics.
Definition msceqf_options.hpp:112
Matrix6 delta_init_cov_
Initial covariance of the delta element of the state.
Definition msceqf_options.hpp:108
SE3 initial_camera_extrinsics_
Initial camera extrinsics.
Definition msceqf_options.hpp:111
Definition msceqf_options.hpp:208
size_t max_track_length_
The maximul length of a track.
Definition msceqf_options.hpp:210
TrackerOptions tracker_options_
The vision tracker options.
Definition msceqf_options.hpp:209
Definition msceqf_options.hpp:188
uint optical_flow_win_size_
Window size for optical flow.
Definition msceqf_options.hpp:200
uint min_px_dist_
Minimum pixel distance between features.
Definition msceqf_options.hpp:197
uint min_features_
Minimum feature to track/detect.
Definition msceqf_options.hpp:194
FastOptions fast_opts_
Fast feature detector options.
Definition msceqf_options.hpp:203
uint grid_y_size_
y size of the grid
Definition msceqf_options.hpp:196
uint max_features_
Maximum feature to track/detect.
Definition msceqf_options.hpp:193
fp ransac_reprojection_
RANSAC reprojection threshold.
Definition msceqf_options.hpp:202
FeatureDetector detector_
The feature detector.
Definition msceqf_options.hpp:192
int opencv_threads_
Number of threads for opencv.
Definition msceqf_options.hpp:201
CameraOptions cam_options_
The camera options.
Definition msceqf_options.hpp:189
uint optical_flow_pyramid_levels_
Pyramids levels for optical flow (1-based).
Definition msceqf_options.hpp:198
DistortionModel distortion_model_
Distortion Model.
Definition msceqf_options.hpp:190
uint grid_x_size_
x size of the grid
Definition msceqf_options.hpp:195
EqualizationMethod equalizer_
The image equalization method.
Definition msceqf_options.hpp:191
GFTTOptions gftt_opts_
Shi-Tomasi feature detector options.
Definition msceqf_options.hpp:204
uint detector_pyramid_levels_
Pyramids levels for feature detection (1-based).
Definition msceqf_options.hpp:199
Definition msceqf_options.hpp:130
FeatureRepresentation msc_features_representation_
Multi State Constraint features representation.
Definition msceqf_options.hpp:136
fp min_depth_
Minimum depth of triangulated features.
Definition msceqf_options.hpp:132
ProjectionMethod projection_method_
The feature projection method.
Definition msceqf_options.hpp:137
fp pixel_std_
The pixel standard deviation.
Definition msceqf_options.hpp:140
bool curvature_correction_
Boolean to enable the curvature correction.
Definition msceqf_options.hpp:141
fp tollerance_
Tollerance for features triangulation refinement.
Definition msceqf_options.hpp:135
fp min_angle_
Minimum angle (in degrees) between views for trianglulation.
Definition msceqf_options.hpp:139
uint max_iterations_
Maximum number of iteration for features triangulation refinement.
Definition msceqf_options.hpp:134
bool refine_traingulation_
Boolean to enable feature triangulation refinement via nonlinear optimization.
Definition msceqf_options.hpp:131
fp max_depth_
Maximum depth of triangulated features.
Definition msceqf_options.hpp:133
uint min_track_lenght_
Minimum track length for triangulation.
Definition msceqf_options.hpp:138
Definition msceqf_options.hpp:145
bool curvature_correction_
Boolean to enable the curvature correction on the zero velocity update.
Definition msceqf_options.hpp:147
ZeroVelocityUpdate zero_velocity_update_
The zero velocity update method.
Definition msceqf_options.hpp:146