10#ifndef SIMULATIONALGEBRAICSENSORHPP
11#define SIMULATIONALGEBRAICSENSORHPP
13#include <boost/assert.hpp>
16#include <state-observation/api.h>
69 virtual Index getStateSize_()
const = 0;
71 virtual Index getMeasurementSize_()
const = 0;
73 Vector computeNoisyMeasurement_();
75 virtual void checkState_(
const Vector &);
83 Vector directInputToOutput_;
85 bool storedNoisyMeasurement_;
89 bool storedNoiselessMeasurement_;
91 Vector noiselessMeasurement_;
AlgebraicSensor()
Default constructor.
virtual void setState(const Vector &state, TimeIndex k)
Sets the value of the state at instant k.
virtual Vector computeNoiselessMeasurement_()=0
virtual Index concatenateWithInput(Index n)
virtual Index getMeasurementSize() const
get the size of the measurements. Pure virtual method.
virtual ~AlgebraicSensor()
virtual destructor
virtual Vector getMeasurements(bool noisy=true)
virtual TimeIndex getTime() const
gets the current time
virtual Index getStateSize() const
gets the state vector size. Pure virtual method.
SensorBase()
default constructor
Filtering of divergent component of motion (DCM) and estimation of a bias betweeen the DCM and the co...
Eigen::VectorXd Vector
Dynamic sized scalar vector.
Implements the base class of all sensors.