Go to the documentation of this file.
10 #ifndef SIMULATIONALGEBRAICSENSORHPP
11 #define SIMULATIONALGEBRAICSENSORHPP
13 #include <boost/assert.hpp>
16 #include <state-observation/api.h>
45 virtual Vector getMeasurements(
bool noisy =
true);
54 virtual Index getStateSize()
const;
57 virtual Index getMeasurementSize()
const;
67 virtual Vector computeNoiselessMeasurement_() = 0;
69 virtual Index getStateSize_()
const = 0;
71 virtual Index getMeasurementSize_()
const = 0;
73 Vector computeNoisyMeasurement_();
75 virtual void checkState_(
const Vector &);
96 #endif // SIMULATIONALGEBRAICSENSORHPP
Eigen::VectorXd Vector
Dynamic sized scalar vector.
Definition: definitions.hpp:76
Implements the base class of all sensors.
Index concat_
Definition: algebraic-sensor.hpp:79
Vector directInputToOutput_
Definition: algebraic-sensor.hpp:83
Vector noiselessMeasurement_
Definition: algebraic-sensor.hpp:91
The base class for sensors. This must be derived to implement a sensor.
Definition: sensor-base.hpp:30
bool storedNoisyMeasurement_
Definition: algebraic-sensor.hpp:85
long int TimeIndex
Definition: definitions.hpp:139
TimeIndex time_
Definition: algebraic-sensor.hpp:77
The base class for algebraic sensors. Algebraic sensors are sensors which depend only on the state va...
Definition: algebraic-sensor.hpp:34
Eigen::Index Index
Definition: definitions.hpp:138
bool storedNoiselessMeasurement_
Definition: algebraic-sensor.hpp:89
Vector noisyMeasurement_
Definition: algebraic-sensor.hpp:87
Vector state_
Definition: algebraic-sensor.hpp:81
Definition: bidim-elastic-inv-pendulum-dyn-sys.hpp:20
virtual ~AlgebraicSensor()
virtual destructor
Definition: algebraic-sensor.hpp:41