Superclass for extremum seeking control algorithms. More...
#include <esc.h>
Public Types | |
enum | inputType { inputStateValue, inputValue } |
Controller input type. More... | |
enum | outputType { outputVelocity, outputPosition } |
Controller output type. More... | |
Public Member Functions | |
virtual inputType | getInputType ()=0 |
Get controller input type. | |
virtual outputType | getOutputType ()=0 |
Get controller output type. | |
virtual bool | isStoppingConditionsMet () |
Reset control algorithm to initial conditions. | |
virtual std::vector< double > | monitor () |
Get internal monitor variables. | |
virtual std::vector< std::string > | monitorNames () |
Get internal monitor variable names. | |
virtual void | reset ()=0 |
Reset control algorithm to initial conditions. | |
virtual std::vector< double > | step (std::vector< double > state, double obj_val) |
Control step function for value-input control algorithms. | |
virtual std::vector< double > | step (double obj_val) |
Control step function for state-input control algorithms. | |
virtual | ~ESC () |
enum ESC::inputType |
enum ESC::outputType |
virtual inputType ESC::getInputType | ( | ) | [pure virtual] |
Get controller input type.
virtual outputType ESC::getOutputType | ( | ) | [pure virtual] |
Get controller output type.
virtual bool ESC::isStoppingConditionsMet | ( | ) | [inline, virtual] |
virtual std::vector<double> ESC::monitor | ( | ) | [inline, virtual] |
virtual std::vector<std::string> ESC::monitorNames | ( | ) | [inline, virtual] |
virtual void ESC::reset | ( | ) | [pure virtual] |
Reset control algorithm to initial conditions.
virtual std::vector<double> ESC::step | ( | std::vector< double > | state, |
double | obj_val | ||
) | [inline, virtual] |
virtual std::vector<double> ESC::step | ( | double | obj_val | ) | [inline, virtual] |