Implements an online state/parameter estimator based on dynamic optimization. More...
#include <dynamic_estimator.hpp>
Public Member Functions | |
virtual Estimator * | clone () const |
DynamicEstimator () | |
DynamicEstimator (const RealTimeAlgorithm &_realTimeAlgorithm, double _samplingTime=DEFAULT_SAMPLING_TIME) | |
DynamicEstimator (const DynamicEstimator &rhs) | |
virtual returnValue | init (double startTime=0.0, const DVector &x0_=emptyConstVector, const DVector &p_=emptyConstVector) |
DynamicEstimator & | operator= (const DynamicEstimator &rhs) |
virtual returnValue | step (double currentTime, const DVector &_y) |
virtual | ~DynamicEstimator () |
Protected Attributes | |
RealTimeAlgorithm * | realTimeAlgorithm |
Implements an online state/parameter estimator based on dynamic optimization.
The class DynamicEstimator implements an online state/parameter estimators based on dynamic optimization.
Definition at line 55 of file dynamic_estimator.hpp.
Default constructor.
Definition at line 45 of file dynamic_estimator.cpp.
DynamicEstimator::DynamicEstimator | ( | const RealTimeAlgorithm & | _realTimeAlgorithm, |
double | _samplingTime = DEFAULT_SAMPLING_TIME |
||
) |
Constructor taking minimal sub-block configuration.
_realTimeAlgorithm | Dynamic optimizer. |
Definition at line 50 of file dynamic_estimator.cpp.
DynamicEstimator::DynamicEstimator | ( | const DynamicEstimator & | rhs | ) |
Copy constructor (deep copy).
Definition at line 59 of file dynamic_estimator.cpp.
DynamicEstimator::~DynamicEstimator | ( | ) | [virtual] |
Destructor.
Definition at line 68 of file dynamic_estimator.cpp.
Estimator * DynamicEstimator::clone | ( | ) | const [virtual] |
Implements Estimator.
Definition at line 96 of file dynamic_estimator.cpp.
returnValue DynamicEstimator::init | ( | double | startTime = 0.0 , |
const DVector & | x0_ = emptyConstVector , |
||
const DVector & | p_ = emptyConstVector |
||
) | [virtual] |
DynamicEstimator & DynamicEstimator::operator= | ( | const DynamicEstimator & | rhs | ) |
Assignment operator (deep copy).
Definition at line 75 of file dynamic_estimator.cpp.
returnValue DynamicEstimator::step | ( | double | currentTime, |
const DVector & | _y | ||
) | [virtual] |
Executes next single step.
Implements Estimator.
Definition at line 114 of file dynamic_estimator.cpp.
RealTimeAlgorithm* DynamicEstimator::realTimeAlgorithm [protected] |
Optimization algorithm for online OCPs.
Definition at line 104 of file dynamic_estimator.hpp.