|
state-observation 1.7.0
|
The class gives a small encapsulation of the dynamics functor, which enables the simulation of the dynamics and the storage of states, inputs and measurements. More...
#include <state-observation/dynamical-system/dynamical-system-simulator.hpp>

Protected Attributes | |
| DynamicalSystemFunctorBase * | f_ |
| IndexedVectorArray | x_ |
| IndexedVectorArray | y_ |
| std::map< TimeIndex, Vector > | u_ |
The class gives a small encapsulation of the dynamics functor, which enables the simulation of the dynamics and the storage of states, inputs and measurements.
| stateObservation::DynamicalSystemSimulator::DynamicalSystemSimulator | ( | ) |
Constructor.
|
virtual |
Virtual destructor.
Gets the state of the current time.
Gets the current time.
Gets the input of a given time index, if the Input is not available the previous input is provided
Gets the measurement value at a given time index if the value is not available, the dynamics is simulated to the time k
|
virtual |
Gives a IndexedVectorArray of the measurements starting at startingTime and having the given duration
Gets the state value at a given time index if the value is not available, the dynamics is simulated to the time k
|
virtual |
Gives a IndexedVectorArray of the states starting at startingTime and having the given duration
resets all the states, the measurements and the inputs
resets all the simulator with even the dynamics functor
|
virtual |
Sets a pointer to the dynamics Functor (the class does not destroy the Functor when the class is destroyed.)
|
virtual |
Set the value of the input at instant k If no value of the input is available when simulating the system the previous input value is automatically set.
|
virtual |
Sets the state value at instant k.
Runs one loop of the dynamics simulation.
Runs the simulation until a given time index.
|
protected |
|
protected |
|
protected |