tomlankhorst/control
|
#include <pid.h>
Public Member Functions | |
P (T Kp_=1.0, T Limit_=max< T >()) | |
![]() | |
AbstractController (T Limit_=max< T >()) | |
T | step (T e) final |
void | setLimit (T limit) |
virtual void | reset () |
Public Attributes | |
const T | Kp |
![]() | |
T | Limit |
bool | clipping = false |
Protected Member Functions | |
T | control (T e) |
![]() | |
T | clip (T u) |
Proportional controller
|
inlineexplicit |
Constructor of proportional controller
Kp_ | Proportional gain |
Limit_ | Maximum output value |
|
inlineprotectedvirtual |
Retrieves the control output, unclipped
T | e the error |
Implements control::classic::AbstractController< T >.