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>
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.
◆ DynamicalSystemSimulator()
stateObservation::DynamicalSystemSimulator::DynamicalSystemSimulator |
( |
| ) |
|
◆ ~DynamicalSystemSimulator()
virtual stateObservation::DynamicalSystemSimulator::~DynamicalSystemSimulator |
( |
| ) |
|
|
virtual |
◆ getCurrentState()
virtual Vector stateObservation::DynamicalSystemSimulator::getCurrentState |
( |
| ) |
const |
|
virtual |
Gets the state of the current time.
◆ getCurrentTime()
virtual TimeIndex stateObservation::DynamicalSystemSimulator::getCurrentTime |
( |
| ) |
const |
|
virtual |
◆ getInput()
virtual Vector stateObservation::DynamicalSystemSimulator::getInput |
( |
TimeIndex |
k | ) |
const |
|
virtual |
Gets the input of a given time index, if the Input is not available the previous input is provided
◆ getMeasurement()
virtual Vector stateObservation::DynamicalSystemSimulator::getMeasurement |
( |
TimeIndex |
k | ) |
|
|
virtual |
Gets the measurement value at a given time index if the value is not available, the dynamics is simulated to the time k
◆ getMeasurementArray()
Gives a IndexedVectorArray of the measurements starting at startingTime and having the given duration
◆ getState()
virtual Vector stateObservation::DynamicalSystemSimulator::getState |
( |
TimeIndex |
k | ) |
|
|
virtual |
Gets the state value at a given time index if the value is not available, the dynamics is simulated to the time k
◆ getStateArray()
Gives a IndexedVectorArray of the states starting at startingTime and having the given duration
◆ resetDynamics()
virtual void stateObservation::DynamicalSystemSimulator::resetDynamics |
( |
| ) |
|
|
virtual |
resets all the states, the measurements and the inputs
◆ resetSimulator()
virtual void stateObservation::DynamicalSystemSimulator::resetSimulator |
( |
| ) |
|
|
virtual |
resets all the simulator with even the dynamics functor
◆ setDynamicsFunctor()
Sets a pointer to the dynamics Functor (the class does not destroy the Functor when the class is destroyed.)
◆ setInput()
virtual void stateObservation::DynamicalSystemSimulator::setInput |
( |
const Vector & |
u, |
|
|
TimeIndex |
k |
|
) |
| |
|
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.
◆ setState()
virtual void stateObservation::DynamicalSystemSimulator::setState |
( |
const Vector & |
x, |
|
|
TimeIndex |
k |
|
) |
| |
|
virtual |
Sets the state value at instant k.
◆ simulateDynamics()
virtual void stateObservation::DynamicalSystemSimulator::simulateDynamics |
( |
| ) |
|
|
virtual |
Runs one loop of the dynamics simulation.
◆ simulateDynamicsTo()
virtual void stateObservation::DynamicalSystemSimulator::simulateDynamicsTo |
( |
TimeIndex |
k | ) |
|
|
virtual |
Runs the simulation until a given time index.
◆ f_
◆ u_
◆ x_
◆ y_
The documentation for this class was generated from the following file: