|
| virtual Output | step (Input ireading)=0 |
| | Do one iteration of the controller.
|
| |
| virtual Output | getOutput () const =0 |
| | Returns the last calculated output of the controller.
|
| |
| virtual void | setOutputLimits (Output imax, Output imin)=0 |
| | Set controller output bounds.
|
| |
| virtual void | setControllerSetTargetLimits (Output itargetMax, Output itargetMin)=0 |
| | Sets the (soft) limits for the target range that controllerSet() scales into.
|
| |
| virtual Output | getMaxOutput ()=0 |
| | Get the upper output bound.
|
| |
| virtual Output | getMinOutput ()=0 |
| | Get the lower output bound.
|
| |
| virtual void | setSampleTime (QTime isampleTime)=0 |
| | Set time between loops.
|
| |
| virtual QTime | getSampleTime () const =0 |
| | Get the last set sample time.
|
| |
| virtual | ~ClosedLoopController ()=default |
| |
| virtual void | setTarget (Input itarget)=0 |
| | Sets the target for the controller.
|
| |
| virtual Input | getTarget ()=0 |
| | Gets the last set target, or the default target if none was set.
|
| |
| virtual Input | getProcessValue () const =0 |
| |
| virtual Output | getError () const =0 |
| | Returns the last error of the controller.
|
| |
| virtual bool | isSettled ()=0 |
| | Returns whether the controller has settled at the target.
|
| |
| virtual void | reset ()=0 |
| | Resets the controller's internal state so it is similar to when it was first initialized, while keeping any user-configured information.
|
| |
| virtual void | flipDisable ()=0 |
| | Changes whether the controller is off or on.
|
| |
| virtual void | flipDisable (bool iisDisabled)=0 |
| | Sets whether the controller is off or on.
|
| |
| virtual bool | isDisabled () const =0 |
| | Returns whether the controller is currently disabled.
|
| |
| virtual void | controllerSet (Input ivalue)=0 |
| | Writes the value of the controller output.
|
| |
template<typename Input, typename Output>
class okapi::IterativeController< Input, Output >
Closed-loop controller that steps iteratively using the step method below.
ControllerOutput::controllerSet() should set the controller's target to the input scaled by the output bounds.
Definition at line 19 of file iterativeController.hpp.