- 3.0.2 core module.
|
A simple step input. More...
#include <StepInputController.h>
Classes | |
struct | Parameters |
Parameters of the step input function. More... | |
Public Member Functions | |
StepInputController (const Parameters ¶meters=Parameters()) | |
default constructor More... | |
StepInputController (const StepInputController &arg) | |
copy constructor More... | |
StepInputController * | clone () const override |
deep cloning More... | |
void | computeControl (const StateVector< 1, double > &state, const double &t, ControlVector< 1, double > &controlAction) override |
computes control input More... | |
Public Member Functions inherited from ct::core::Controller< 1, 1, double > | |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW | Controller () |
Default constructor. More... | |
Controller (const Controller &other) | |
Copy constructor. More... | |
virtual | ~Controller () |
Destructor. More... | |
virtual void | computeControl (const StateVector< STATE_DIM, double > &state, const double &t, ControlVector< CONTROL_DIM, double > &controlAction)=0 |
Compute control signal. More... | |
virtual ControlMatrix< CONTROL_DIM, double > | getDerivativeU0 (const StateVector< STATE_DIM, double > &state, const double time) |
Returns the the derivative of the control with respect to the initial control input u0. More... | |
virtual ControlMatrix< CONTROL_DIM, double > | getDerivativeUf (const StateVector< STATE_DIM, double > &state, const double time) |
Returns the the derivative of the control with respect to the final control input uF. More... | |
A simple step input.
A step input controller with a standard heaviside form
where is a constant gain and is the time of the step.
|
inline |
default constructor
Referenced by clone().
|
inline |
copy constructor
|
inlineoverridevirtual |
|
inlineoverride |
computes control input
Computes the control input. The state parameter gets ignored.
state | current state (ignored) |
t | current time |