tomlankhorst/control
|
#include <pid.h>
Public Member Functions | |
AbstractController (T Limit_=max< T >()) | |
T | step (T e) final |
void | setLimit (T limit) |
virtual void | reset () |
Public Attributes | |
T | Limit |
bool | clipping = false |
Protected Member Functions | |
T | clip (T u) |
virtual T | control (T e)=0 |
Base controller that implements limiting, resetting and stepping
T |
|
inlineexplicit |
Constructor
Limit_ | maximum value of the output signal |
|
inlineprotected |
Limit the output
T | u |
|
protectedpure virtual |
Retrieves the control output, unclipped
T | e the error |
Implemented in control::classic::PID< T >, and control::classic::P< T >.
|
inlinevirtual |
Reset the state of the controller
Reimplemented in control::classic::PID< T >.
|
inline |
Update the output limit
T | limit |
|
inlinefinalvirtual |
Steps the controller one time-step
T | e the error value |
Implements control::system::SISO< T >.