12#ifndef TILTESTIMATORHPP
13#define TILTESTIMATORHPP
15#include <state-observation/api.h>
Vector StateVector
StateVector is the type of state vector.
Definition observer-base.hpp:42
Description is pending.
Definition tilt-estimator.hpp:36
Vector3 dx1_hat
Definition tilt-estimator.hpp:111
void setSamplingTime(const double dt)
set the sampling time of the measurements
Definition tilt-estimator.hpp:83
double dt_
Sampling time.
Definition tilt-estimator.hpp:104
double alpha_
The parameters of the estimator.
Definition tilt-estimator.hpp:101
Vector3 x2_hat_prime_
Definition tilt-estimator.hpp:109
void setGamma(const double gamma)
set the gain of x2_hat variable
Definition tilt-estimator.hpp:73
void setAlpha(const double alpha)
set the gain of x1_hat variable
Definition tilt-estimator.hpp:53
double getSamplingTime() const
Definition tilt-estimator.hpp:87
TiltEstimator(double alpha, double beta, double gamma, double dt)
Vector3 x1_
variables used for the computation
Definition tilt-estimator.hpp:107
double getAlpha() const
Definition tilt-estimator.hpp:57
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
Definition tilt-estimator.hpp:63
double getGamma() const
Definition tilt-estimator.hpp:77
StateVector oneStepEstimation_()
The tilt estimator loop.
Vector3 x2_hat_
Definition tilt-estimator.hpp:110
Vector3 x1_hat_
Definition tilt-estimator.hpp:108
double getBeta() const
Definition tilt-estimator.hpp:67
void initEstimator(Vector3 x1=Vector3::Zero(), Vector3 x2_prime=Vector3::UnitZ(), Vector3 x2=Vector3::UnitZ())
initializes the state vector.
Defines the base class of online zero delay observers. Zero delay observers are the classical state o...
Definition zero-delay-observer.hpp:44
virtual void setMeasurement(const ObserverBase::MeasureVector &y_k, TimeIndex k)
Definition bidim-elastic-inv-pendulum-dyn-sys.hpp:21
long int TimeIndex
Definition definitions.hpp:139
Eigen::Vector3d Vector3
3D vector
Definition definitions.hpp:85
Eigen::MatrixXd Matrix
Dynamic sized Matrix.
Definition definitions.hpp:100
Defines the base class of online zero delay observers. Zero delay observers are the classical state o...