![]() |
Speeduino
|
#include <PID.h>
Public Member Functions | |
| PID (void) | |
| Default construction. | |
| void | resetIntegral (int32_t input) |
| Initialize/reset the controller. | |
| int32_t | compute (int32_t input) |
| Compute the next correction. | |
Configuration methods | |
| void | setOutputLimits (int32_t min, int32_t max) |
| Set the output limits. | |
| void | setTunings (PidTuningParameters params) |
| Set the PID parameters. | |
| void | setSetPoint (uint16_t setpoint) |
| Set the controller set point. | |
| PID::PID | ( | void | ) |
Default construction.

Compute the next correction.
| input | The input value |


Initialize/reset the controller.
| input | Current input value (same value as passed into compute()) |


Set the output limits.


Set the controller set point.


| void PID::setTunings | ( | PidTuningParameters | params | ) |
Set the PID parameters.

