|
state-observation 1.7.0
|
The class is an implementation of the dynamical system defined by a 2D inverted pendulum with an elastic joint. The input is the horizontal acceleration. More...
#include <state-observation/dynamical-system/bidim-elastic-inv-pendulum-dyn-sys.hpp>


Public Member Functions | |
| BidimElasticInvPendulum () | |
| The constructor. | |
| virtual | ~BidimElasticInvPendulum () |
| The virtual destructor. | |
| virtual Vector | stateDynamics (const Vector &x, const Vector &u, TimeIndex k) |
| Description of the state dynamics. | |
| virtual Vector | measureDynamics (const Vector &x, const Vector &u, TimeIndex k) |
| Description of the sensor's dynamics. | |
| virtual void | setProcessNoise (NoiseBase *) |
| Sets a noise which disturbs the state dynamics. | |
| virtual void | resetProcessNoise () |
| Removes the process noise. | |
| virtual NoiseBase * | getProcessNoise () const |
| Gets the process noise. | |
| virtual void | setMeasurementNoise (NoiseBase *) |
| Sets a noise which disturbs the measurements. | |
| virtual void | resetMeasurementNoise () |
| Removes the measurement noise. | |
| virtual NoiseBase * | getMeasurementNoise () const |
| Gets a pointer on the measurement noise. | |
| virtual void | setSamplingPeriod (double dt) |
| Set the period of the time discretization. | |
| virtual Index | getStateSize () const |
| Gets the state size. | |
| virtual Index | getInputSize () const |
| Gets the input size. | |
| virtual Index | getMeasurementSize () const |
| Gets the measurement size. | |
| void | setHeight (const double &h) |
| set the height of the com of the pendulum | |
| void | setMass (const double &m) |
| set the mass of the pendulum | |
| void | setElasticity (const double &k) |
| set the elasticity of the pendulum | |
Public Member Functions inherited from stateObservation::DynamicalSystemFunctorBase | |
| DynamicalSystemFunctorBase () | |
| virtual | ~DynamicalSystemFunctorBase () |
| virtual void | reset () |
| virtual bool | checkStateVector (const Vector &) |
| Gives a boolean answer on whether or not the vector is correctly sized to be a state vector. | |
| virtual bool | checkInputvector (const Vector &) |
| Gives a boolean answer on whether or not the vector is correctly sized to be an input vector. | |
Protected Attributes | |
| double | k_ |
| double | m_ |
| double | h_ |
| NoiseBase * | processNoise_ |
| double | dt_ |
Static Protected Attributes | |
| static const Index | stateSize_ = 4 |
| static const Index | inputSize_ = 1 |
| static const Index | measurementSize_ = 0 |
Additional Inherited Members | |
Protected Member Functions inherited from stateObservation::DynamicalSystemFunctorBase | |
| void | assertStateVector_ (const Vector &v) |
| void | assertInputVector_ (const Vector &v) |
The class is an implementation of the dynamical system defined by a 2D inverted pendulum with an elastic joint. The input is the horizontal acceleration.
| stateObservation::BidimElasticInvPendulum::BidimElasticInvPendulum | ( | ) |
The constructor.
|
virtual |
The virtual destructor.
Gets the input size.
Implements stateObservation::DynamicalSystemFunctorBase.
|
virtual |
Gets a pointer on the measurement noise.
Gets the measurement size.
Implements stateObservation::DynamicalSystemFunctorBase.
Gets the process noise.
Gets the state size.
Implements stateObservation::DynamicalSystemFunctorBase.
|
virtual |
Description of the sensor's dynamics.
Implements stateObservation::DynamicalSystemFunctorBase.
Removes the measurement noise.
Removes the process noise.
set the elasticity of the pendulum
set the height of the com of the pendulum
set the mass of the pendulum
Sets a noise which disturbs the measurements.
Sets a noise which disturbs the state dynamics.
Set the period of the time discretization.
|
virtual |
Description of the state dynamics.
Implements stateObservation::DynamicalSystemFunctorBase.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |