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 <bidim-elastic-inv-pendulum-dyn-sys.hpp>
|
|
| 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
|
| 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.
|
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.
Definition at line 30 of file bidim-elastic-inv-pendulum-dyn-sys.hpp.
◆ stateDynamics()
| virtual Vector stateObservation::BidimElasticInvPendulum::stateDynamics |
( |
const Vector & | x, |
|
|
const Vector & | u, |
|
|
TimeIndex | k ) |
|
virtual |
◆ measureDynamics()
| virtual Vector stateObservation::BidimElasticInvPendulum::measureDynamics |
( |
const Vector & | x, |
|
|
const Vector & | u, |
|
|
TimeIndex | k ) |
|
virtual |
◆ getStateSize()
| virtual Index stateObservation::BidimElasticInvPendulum::getStateSize |
( |
| ) |
const |
|
virtual |
◆ getInputSize()
| virtual Index stateObservation::BidimElasticInvPendulum::getInputSize |
( |
| ) |
const |
|
virtual |
◆ getMeasurementSize()
| virtual Index stateObservation::BidimElasticInvPendulum::getMeasurementSize |
( |
| ) |
const |
|
virtual |
◆ k_
| double stateObservation::BidimElasticInvPendulum::k_ |
|
protected |
◆ m_
| double stateObservation::BidimElasticInvPendulum::m_ |
|
protected |
◆ h_
| double stateObservation::BidimElasticInvPendulum::h_ |
|
protected |
◆ processNoise_
| NoiseBase* stateObservation::BidimElasticInvPendulum::processNoise_ |
|
protected |
◆ dt_
| double stateObservation::BidimElasticInvPendulum::dt_ |
|
protected |
◆ stateSize_
| const Index stateObservation::BidimElasticInvPendulum::stateSize_ = 4 |
|
staticprotected |
◆ inputSize_
| const Index stateObservation::BidimElasticInvPendulum::inputSize_ = 1 |
|
staticprotected |
◆ measurementSize_
| const Index stateObservation::BidimElasticInvPendulum::measurementSize_ = 0 |
|
staticprotected |
The documentation for this class was generated from the following file: