12#ifndef STATIC_INITIALIZER_HPP 
   13#define STATIC_INITIALIZER_HPP 
   15#include "msceqf/filter/checker/checker.hpp" 
   16#include "sensors/sensor_data.hpp" 
   62  [[nodiscard]] 
const SE23& 
T0() 
const;
 
   69  [[nodiscard]] 
const Vector6& 
b0() 
const;
 
   79  [[nodiscard]] 
bool detectAccelerationSpike();
 
   92  [[nodiscard]] 
bool imuMeanStd(Vector3& acc_mean, Vector3& ang_mean, fp& acc_std) 
const;
 
  101  void computeOrigin(Vector3& acc_mean, Vector3& ang_mean);
 
 
Simple class to perform various checks.
Definition checker.hpp:27
 
Definition static_initializer.hpp:21
 
bool initializeOrigin()
This fnctions collects a predefined window of IMU measurments and compute the roll and pitch fo the p...
 
const Vector6 & b0() const
This function returns the initial IMU bias, to be used as origin.
 
const SE23 & T0() const
This function returns the initial Extended pose of the platform, to be used as origin.
 
bool detectMotion(const Tracks &tracks)
This function detects if the platform is moving based on acceleration measurements and image disparit...
 
StaticInitializer(const InitializerOptions &opts, const Checker &checker)
StaticInitializer constructor.
 
std::deque< Imu > ImuBuffer
The Imu measurement buffer.
Definition static_initializer.hpp:23
 
void insertImu(const Imu &imu)
Populate imu internal buffer used for acceleration check.
 
Struct for one IMU reading. It includes timestamp, angular velocity and linear acceleration....
Definition sensor_data.hpp:29
 
Definition msceqf_options.hpp:143