OSVR-Core
Public Types | Public Member Functions | Static Public Attributes | List of all members
osvr::kalman::AbsolutePositionBase Class Reference

The measurement here has been split into a base and derived type, so that the derived type only contains the little bit that depends on a particular state type. More...

#include <AbsolutePositionMeasurement.h>

Inheritance diagram for osvr::kalman::AbsolutePositionBase:
osvr::kalman::AbsolutePositionMeasurement< pose_externalized_rotation::State >

Public Types

using MeasurementVector = types::Vector< DIMENSION >
 
using MeasurementDiagonalMatrix = types::DiagonalMatrix< DIMENSION >
 
using MeasurementMatrix = types::SquareMatrix< DIMENSION >
 

Public Member Functions

 AbsolutePositionBase (MeasurementVector const &pos, MeasurementVector const &variance)
 
template<typename State >
MeasurementMatrix getCovariance (State const &) const
 
template<typename State >
MeasurementVector getResidual (State const &s) const
 Gets the measurement residual, also known as innovation: predicts the measurement from the predicted state, and returns the difference. More...
 
void setMeasurement (MeasurementVector const &pos)
 Convenience method to be able to store and re-use measurements.
 

Static Public Attributes

static EIGEN_MAKE_ALIGNED_OPERATOR_NEW const types::DimensionType DIMENSION = 3
 

Detailed Description

The measurement here has been split into a base and derived type, so that the derived type only contains the little bit that depends on a particular state type.

Member Function Documentation

§ getResidual()

template<typename State >
MeasurementVector osvr::kalman::AbsolutePositionBase::getResidual ( State const &  s) const
inline

Gets the measurement residual, also known as innovation: predicts the measurement from the predicted state, and returns the difference.

State type doesn't matter as long as we can .position()


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