OSVR-Core
|
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>
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 |
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.
|
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()