This class creates a single integrator, if requested with limits on its state.
More...
|
|
| Integrator (double dt=0.01) |
| | Default constructor.
|
| |
|
| Integrator (double lower_limit, double upper_limit, double dt=0.01) |
| | Constructor for Integrator with limits.
|
| |
|
| ~Integrator () |
| | Destructor.
|
| |
| void | setDT (double dt) |
| | (Re-)discretize the integrator to match timestep size 'dt' More...
|
| |
|
void | setSaturationLimits (const Vector &lower, const Vector &upper) |
| | Set the limits on the states.
|
| |
|
void | setSaturationLimits (double lower_limit, double upper_limit) |
| | Set the limits for this integrator.
|
| |
| void | acceptState (const Vector &x_new) |
| | Accept a new state. More...
|
| |
| void | acceptState (double x_new) |
| | Accept a new state. More...
|
| |
| const Vector & | step (const Vector &u) |
| | Calculate a single time step, return the output vector. More...
|
| |
| const Vector & | step (double u) |
| | Calculate a single time step, return the output vector. More...
|
| |
|
| LimitedLinearSystem () |
| | Default constructor.
|
| |
| | LimitedLinearSystem (const Vector &num, const Vector &den, double dt) |
| | This constructs a SISO system, on the basis of continuous time transfer function. More...
|
| |
| | LimitedLinearSystem (const LimitedLinearSystem &) |
| | Copy constructor. More...
|
| |
| | LimitedLinearSystem (const Matrix &A, const Matrix &B, const Matrix &C, const Matrix &D, double dt) |
| | This constructs a system, on the basis of a continuous time state space system. More...
|
| |
| virtual | ~LimitedLinearSystem () |
| | Destructor. More...
|
| |
| LimitedLinearSystem & | operator= (const LimitedLinearSystem &o) |
| | Assignment of one system to another. More...
|
| |
|
void | setSaturationLimits (const Vector &lower, const Vector &upper) |
| | Set the saturation limits for the states.
|
| |
|
bool | isSaturated () const |
| | Returns true if one or more of the states are saturated.
|
| |
|
void | reset () |
| | Reset state, output, and saturation.
|
| |
| | LinearSystem () |
| | Default constructor. More...
|
| |
| | LinearSystem (const Vector &num, const Vector &den, double dt) |
| | This constructs a SISO system, on the basis of continuous time transfer function. More...
|
| |
| | LinearSystem (const LinearSystem &) |
| | Copy constructor. More...
|
| |
| | LinearSystem (const Matrix &A, const Matrix &B, const Matrix &C, const Matrix &D, double dt) |
| | This constructs a system, on the basis of a continuous time state space system. More...
|
| |
| | LinearSystem (const Matrix &phi, const Matrix &psi, const Matrix &C, const Matrix &D) |
| | This constructs a system, on the basis of a discrete time state space system. More...
|
| |
| virtual | ~LinearSystem () |
| | Destructor. More...
|
| |
| LinearSystem & | operator= (const LinearSystem &o) |
| | Assignment of one system to another. More...
|
| |
| void | createFromNumDen (const Vector &num, const Vector &den, double dt) |
| | Create a system from numerator, denominator input. More...
|
| |
| void | createFromABCD (const Matrix &A, const Matrix &B, const Matrix &C, const Matrix &D, double dt) |
| | Create from matrices. More...
|
| |
|
void | createFromPhiPsiCD (const Matrix &phi, const Matrix &psi, const Matrix &C, const Matrix &D) |
| | Create from matrices, discrete.
|
| |
| const Vector & | getY () const |
| | Obtain the output vector. More...
|
| |
| const Vector & | getX () const |
| | Obtain the state vector. More...
|
| |
| Vector & | getX () |
| | Obtain the state vector for modification. More...
|
| |
| const Matrix & | getPhi () const |
| | Additional output, transition. More...
|
| |
| const Matrix & | getPsi () const |
| | Input matrix discrete system. More...
|
| |
| const Matrix & | getC () const |
| | Output matrix. More...
|
| |
| const Matrix & | getD () const |
| | Feedthrough matrix. More...
|
| |
This class creates a single integrator, if requested with limits on its state.