MCPcopy Create free account
hub / github.com/br3ttb/Arduino-PID-Library / GetKp

Method GetKp

PID_v1.cpp:219–219  ·  view source on GitHub ↗

Status Funcions************************************************************* * Just because you set the Kp=-1 doesn't mean it actually happened. these * functions query the internal state of the PID. they're here for display * purposes. this are the functions the PID Front-end uses for example ******************************************************************************/

Source from the content-addressed store, hash-verified

217 * purposes. this are the functions the PID Front-end uses for example
218 ******************************************************************************/
219double PID::GetKp(){ return dispKp; }
220double PID::GetKi(){ return dispKi;}
221double PID::GetKd(){ return dispKd;}
222int PID::GetMode(){ return inAuto ? AUTOMATIC : MANUAL;}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected