OSVR-Core  0.6-1962-g59773924
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
osvr::kalman::AugmentedState< StateA, StateB > Class Template Reference

#include <osvr/Kalman/AugmentedState.h>

Public Member Functions

 AugmentedState (StateA &a, StateB &b)
 Constructor.
 
 AugmentedState (AugmentedState const &other)=default
 Copy constructor.
 
 AugmentedState (AugmentedState &&other)
 Move constructor.
 
AugmentedStateoperator= (AugmentedState const &other)=delete
 non-assignable
 
Methods required of State types
template<typename Derived >
void setStateVector (Eigen::MatrixBase< Derived > const &state)
 
StateVector stateVector () const
 
SquareMatrix errorCovariance () const
 
template<typename Derived >
void setErrorCovariance (Eigen::MatrixBase< Derived > const &P)
 
void postCorrect ()
 
Access to the components of the state

Access the first part of the state

StateTypeA & a ()
 
StateTypeA const & a () const
 Access the first part of the state.
 
StateTypeB & b ()
 Access the second part of the state.
 
StateTypeB const & b () const
 Access the second part of the state.
 

Detailed Description

template<typename StateA, typename StateB>
class osvr::kalman::AugmentedState< StateA, StateB >

State type that consists entirely of references to two independent sub-states.

Definition at line 41 of file AugmentedState.h.

Member Function Documentation

template<typename StateA , typename StateB >
template<typename Derived >
void osvr::kalman::AugmentedState< StateA, StateB >::setStateVector ( Eigen::MatrixBase< Derived > const &  state)
inline

template used here to avoid a temporary

Definition at line 70 of file AugmentedState.h.

template<typename StateA , typename StateB >
template<typename Derived >
void osvr::kalman::AugmentedState< StateA, StateB >::setErrorCovariance ( Eigen::MatrixBase< Derived > const &  P)
inline

template used here to avoid evaluating elements we'll never access to a temporary.

Definition at line 92 of file AugmentedState.h.


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