13#ifndef TILTESTIMATORHUMANOIDHPP
14#define TILTESTIMATORHUMANOIDHPP
16#include <state-observation/api.h>
55 Matrix3 getSensorOrientationInC()
60 Vector3 getVirtualLocalVelocityMeasurement()
71 Vector3 getSensorLinearVelocityInC()
81 Vector3 getSensorAngularVelocityInC()
92 Vector3 getControlOriginVelocityInW()
103#if defined(__clang__)
104# pragma clang diagnostic push
105# pragma clang diagnostic ignored "-Woverloaded-virtual"
107# if defined(__GNUC__)
108# pragma GCC diagnostic push
109# pragma GCC diagnostic ignored "-Woverloaded-virtual"
118#if defined(__clang__)
119# pragma clang diagnostic pop
121# if defined(__GNUC__)
122# pragma GCC diagnostic pop
void resetImuLocVelHat()
informs the estimator that x1hat (the estimate of the local linear velocity of the IMU in the world) ...
void checkResetX1hat()
Checks if x1hat needs to be reset and if yes, resets it with the current value of x1.
Vector3 v_S_C_
Linear velocity of the IMU in the control frame.
Vector3 p_S_C_
Position of the IMU in the control frame.
void setSensorPositionInC(const Vector3 &p)
sets the position of the IMU sensor in the control frame
void setMeasurement(const Vector3 &ya_k, const Vector3 &yg_k, TimeIndex k)
sets ths measurement (accelero and gyro stacked in one vector)
void setSensorOrientationInC(const Matrix3 &R)
sets the oriantation of the IMU sensor in the control frame
void setSensorAngularVelocityInC(const Vector3 &w)
sets the angular velocity of the IMU sensor in the control frame
Vector3 v_C_
Linear velocity of the control frame.
TiltEstimatorHumanoid(double alpha, double beta, double gamma, double dt)
Vector3 w_S_C_
Angular velocity of the IMU in the control frame.
bool resetX1hat_
indicates that x1hat needs to be reset
void setSensorLinearVelocityInC(const Vector3 &v)
sets teh linear velocity of the IMU sensor in the control frame
void setControlOriginVelocityInW(const Vector3 &v)
Matrix3 R_S_C_
Orientation of the IMU in the control frame.
TiltEstimator(double alpha, double beta, double gamma, double dt)
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)
Filtering of divergent component of motion (DCM) and estimation of a bias betweeen the DCM and the co...
Eigen::Vector3d Vector3
3D vector
Eigen::Matrix3d Matrix3
3x3 Scalar Matrix
Version of the Tilt Estimator that implements all the necessary functions to perform the estimation f...
Defines the base class of online zero delay observers. Zero delay observers are the classical state o...