PController

constructor(kp: Double)

Default constructor, only takes a p-value.

Parameters

kp

The value of kP for the coefficients.


constructor(kp: Double, sp: Double, pv: Double)

The extended constructor.

Parameters

kp

The value of kP for the coefficients.

sp

The setpoint for the controller.

pv

The process variable for the controller.