Skip to main content Link Menu Expand (external link) Document Search Copy Copied

void incVals(double val)

Updates the PIDF with the new sensor value. This should be called every iteration of the loop.

Parameters

  • val - The new sensor value

Example

PIDF pidf = PIDF(1, 1, 1);
pidf.setTarget(10);
pidf.incVals(5);