struct mola::LidarOdometry::Parameters::PriorCovFromInnovation¶
Overview¶
Optional replacement for the covariance of the ICP prior. By default it is the state estimator’s prediction covariance. Enabled, it is built from the running statistics of the prior-free innovation instead (see PriorInnovation.h): the registration the pairings alone would give relative to the prediction, per axis of the solver tangent, as a rate per squared second. Unlike residuals of the solution itself, these do not shrink when the prior pulls the solution toward the prediction, so the prior strength does not depend on the scale of the registration covariance. Off by default.
#include <LidarOdometry.h> struct PriorCovFromInnovation { // fields bool enabled = false; bool keep_anchor = false; double time_constant = 10.0; uint32_t min_samples = 10; double sigma_floor_lin = 0.02; double sigma_floor_ang = 0.005; // methods void initialize(const Yaml& cfg); };
Fields¶
bool keep_anchor = false
Add the last registration covariance, carried to the prediction.
double time_constant = 10.0
[s] Time constant of the running mean of the squared rates.
uint32_t min_samples = 10
Innovations collected (their per-axis median seeds the mean) before use.
double sigma_floor_lin = 0.02
[m], [rad] Flat sigmas added to the translation and rotation blocks.