Searched defs:piController (Results 1 – 2 of 2) sorted by relevance
1348 type piController struct { struct1349 kp float64 // Proportional constant.1350 ti float64 // Integral time constant.1351 tt float64 // Reset time.1353 min, max float64 // Output boundaries.1357 errIntegral float64 // Integral of the error from t=0 to now.1360 errOverflow bool // Set if errIntegral ever overflowed.1361 inputOverflow bool // Set if an operation with the input overflowed.1375 func (c *piController) next(input, setpoint, period float64) (float64, bool) {1412 func (c *piController) reset() {
1492 piController anonMember