25 #ifndef INCLUDED_PureVectorState_h_GUID_5347542B_F2F6_46A2_E49B_3EF0B0A9F9ED 26 #define INCLUDED_PureVectorState_h_GUID_5347542B_F2F6_46A2_E49B_3EF0B0A9F9ED 46 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
48 : m_state(x, y, z), m_errorCovariance(SquareMatrix::Zero()) {
49 static_assert(DIMENSION == 3,
"This constructor, which takes 3 " 50 "scalars, only works with a 3D " 54 PureVectorState(
double x,
double y,
double z,
56 : m_state(x, y, z), m_errorCovariance(covariance) {
57 static_assert(DIMENSION == 3,
"This constructor, which takes 3 " 58 "scalars, only works with a 3D " 64 : m_state(state), m_errorCovariance(covariance) {}
68 void setStateVector(
StateVector const &state) { m_state = state; }
77 return m_errorCovariance;
90 #endif // INCLUDED_PureVectorState_h_GUID_5347542B_F2F6_46A2_E49B_3EF0B0A9F9ED The main namespace for all C++ elements of the framework, internal and external.
Definition: namespace_osvr.dox:3
SquareMatrix const & errorCovariance() const
P.
Definition: PureVectorState.h:76
StateVector const & stateVector() const
xhat
Definition: PureVectorState.h:70
std::size_t DimensionType
Type for dimensions.
Definition: FlexibleKalmanBase.h:51
The matrix class, also used for vectors and row-vectors.
Definition: Matrix.h:127
A very simple (3D by default) vector state with no velocity, ideal for use as a position, with ConstantProcess for beacon autocalibration.
Definition: PureVectorState.h:40