12#ifndef TILTESTIMATORHPP
13#define TILTESTIMATORHPP
15#include <state-observation/api.h>
57 double getAlpha()
const
67 double getBeta()
const
77 double getGamma()
const
87 double getSamplingTime()
const
97 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
Vector StateVector
StateVector is the type of state vector.
void setSamplingTime(const double dt)
set the sampling time of the measurements
double alpha_
The parameters of the estimator.
void setGamma(const double gamma)
set the gain of x2_hat variable
void setAlpha(const double alpha)
set the gain of x1_hat variable
TiltEstimator(double alpha, double beta, double gamma, double dt)
Vector3 x1_
variables used for the computation
void setMeasurement(const Vector3 &yv_k, const Vector3 &ya_k, const Vector3 &yg_k, TimeIndex k)
sets ths measurement (accelero and gyro stacked in one vector)
void setBeta(const double beta)
set the gain of x2prime_hat variable
StateVector oneStepEstimation_()
The tilt estimator loop.
void initEstimator(Vector3 x1=Vector3::Zero(), Vector3 x2_prime=Vector3::UnitZ(), Vector3 x2=Vector3::UnitZ())
initializes the state vector.
ZeroDelayObserver(Index n, Index m, Index p=0)
virtual void setMeasurement(const ObserverBase::MeasureVector &y_k, TimeIndex k)
Filtering of divergent component of motion (DCM) and estimation of a bias betweeen the DCM and the co...
Eigen::Vector3d Vector3
3D vector
Defines the base class of online zero delay observers. Zero delay observers are the classical state o...