![]() |
- 3.0.2 core module.
|
A constant state feedback controller. More...
#include <ConstantStateFeedbackController.h>
Public Member Functions | |
| EIGEN_MAKE_ALIGNED_OPERATOR_NEW | ConstantStateFeedbackController () |
| Default constructor. More... | |
| ConstantStateFeedbackController (const ControlVector< CONTROL_DIM, SCALAR > &uff, const StateVector< STATE_DIM, SCALAR > &x, const FeedbackMatrix< STATE_DIM, CONTROL_DIM, SCALAR > &K) | |
| Constructor. More... | |
| ConstantStateFeedbackController (const ConstantStateFeedbackController< STATE_DIM, CONTROL_DIM, SCALAR > &other) | |
| Copy constructor. More... | |
| ~ConstantStateFeedbackController () | |
| Destructor. More... | |
| ConstantStateFeedbackController< STATE_DIM, CONTROL_DIM, SCALAR > * | clone () const override |
| Clone operator. More... | |
| void | computeControl (const StateVector< STATE_DIM, SCALAR > &x, const SCALAR &t, ControlVector< CONTROL_DIM, SCALAR > &controlAction) override |
| Computes current control. More... | |
| void | updateControlLaw (const ControlVector< CONTROL_DIM, SCALAR > &uff, const StateVector< STATE_DIM, SCALAR > &x, const FeedbackMatrix< STATE_DIM, CONTROL_DIM, SCALAR > &K=FeedbackMatrix< STATE_DIM, CONTROL_DIM, SCALAR >::Zero()) |
| update the control law with a new set of parameters More... | |
Public Member Functions inherited from ct::core::Controller< STATE_DIM, CONTROL_DIM, SCALAR > | |
| EIGEN_MAKE_ALIGNED_OPERATOR_NEW | Controller () |
| Default constructor. More... | |
| Controller (const Controller &other) | |
| Copy constructor. More... | |
| virtual | ~Controller () |
| Destructor. More... | |
| virtual ControlMatrix< CONTROL_DIM, SCALAR > | getDerivativeU0 (const StateVector< STATE_DIM, SCALAR > &state, const SCALAR time) |
| Returns the the derivative of the control with respect to the initial control input u0. More... | |
| virtual ControlMatrix< CONTROL_DIM, SCALAR > | getDerivativeUf (const StateVector< STATE_DIM, SCALAR > &state, const SCALAR time) |
| Returns the the derivative of the control with respect to the final control input uF. More... | |
A constant state feedback controller.
Implements a state feedback controller which works on a constant setpoint, i.e. it features
and takes the form
|
inline |
Default constructor.
Sets the control signal to zero
|
inline |
Constructor.
Initializes the control to a fixed value
| u | The fixed feedforward control signal |
| x | The fixed reference state |
| K | the fixed state feedback gain |
|
inline |
Copy constructor.
|
inline |
Destructor.
|
inlineoverridevirtual |
Clone operator.
Clones the controller. Used for cloning ControlledSystem's
Implements ct::core::Controller< STATE_DIM, CONTROL_DIM, SCALAR >.
|
inlineoverridevirtual |
Computes current control.
Returns the fixed control signal. Therefore, the return value is invariant to the parameters.
| state | The current state of the system (ignored) |
| t | The time of the system (ignored) |
| controlAction | The (fixed) control action |
Implements ct::core::Controller< STATE_DIM, CONTROL_DIM, SCALAR >.
|
inline |
update the control law with a new set of parameters
| u | The fixed feedforward control signal |
| x | The fixed reference state |
| K | the fixed state feedback gain |