ekf_cal  0.4.0
A Kalman filter-based sensor calibration package
FiducialUpdater Class Reference

EKF Updater Class for Fiducial Camera Measurements. More...

#include <fiducial_updater.hpp>

Inheritance diagram for FiducialUpdater:
[legend]
Collaboration diagram for FiducialUpdater:
[legend]

Public Member Functions

 FiducialUpdater (int fiducial_id, int camera_id, bool is_cam_extrinsic, const std::string &log_file_directory, double data_log_rate, std::shared_ptr< DebugLogger > logger)
 MSCKF EKF Updater constructor. More...
 
void UpdateEKF (EKF &ekf, double time, BoardDetection board_detection)
 EKF updater function. More...
 
- Public Member Functions inherited from Updater
 Updater (unsigned int sensor_id, std::shared_ptr< DebugLogger > logger)
 EKF Updater constructor. More...
 
void KalmanUpdate (EKF &ekf, const Eigen::MatrixXd &jacobian, const Eigen::VectorXd &residual, const Eigen::MatrixXd &measurement_noise)
 

Additional Inherited Members

- Protected Attributes inherited from Updater
unsigned int m_id
 Associated sensor ID.
 
std::shared_ptr< DebugLoggerm_logger
 Debug logger.
 

Detailed Description

EKF Updater Class for Fiducial Camera Measurements.

Constructor & Destructor Documentation

◆ FiducialUpdater()

FiducialUpdater::FiducialUpdater ( int  fiducial_id,
int  camera_id,
bool  is_cam_extrinsic,
const std::string &  log_file_directory,
double  data_log_rate,
std::shared_ptr< DebugLogger logger 
)
explicit

MSCKF EKF Updater constructor.

Parameters
fiducial_idFiducial ID
camera_idCamera sensor ID
is_cam_extrinsicCamera extrinsic calibration flag
log_file_directoryDirectory to save log files
data_log_rateMaximum average rate to log data
loggerDebug logger pointer

Member Function Documentation

◆ UpdateEKF()

void FiducialUpdater::UpdateEKF ( EKF ekf,
double  time,
BoardDetection  board_detection 
)

EKF updater function.

Parameters
ekfEKF pointer
timeTime of update
board_trackBoard track to be used for state update
Todo:
Test camera calibration jacobians
Todo:
Fiducial calibration jacobians
Todo:
Chi^2 distance check

The documentation for this class was generated from the following files: