Method | Description | |
---|---|---|
Get ( double currentPoint ) : double |
Gets the value of the PID loop, using the point given as the input for the proportional value
|
|
ResetIntegral ( ) : void |
Reset the integral value.
|
|
SimplePID ( double p, double i, double d ) : System |
Creates a new SimplePID object
|
|
SimplePID ( double p, double i, double d, double min, double max ) : System |
Creates a new instance of the SimplePID class
|
public Get ( double currentPoint ) : double | ||
currentPoint | double | current point of the system as read by a sensor |
return | double |
public SimplePID ( double p, double i, double d ) : System | ||
p | double | Proportional Constant |
i | double | Integral Constant |
d | double | Derivative Constant |
return | System |
public SimplePID ( double p, double i, double d, double min, double max ) : System | ||
p | double | Proportional constant |
i | double | Integral Constant |
d | double | Derivative Constant |
min | double | Minimum allowed output of the PID loop |
max | double | Maximum allowed output of the PID loop |
return | System |