Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RobTillaart/Arduino
/ setK
Method
setK
libraries/PID_RT/PID_RT.cpp:50–57 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
48
49
50
bool PID_RT::setK(float Kp, float Ki, float Kd)
51
{
52
// prevent short-cut evaluation.
53
bool b = setKp(Kp);
54
b = b && setKi(Ki);
55
b = b && setKd(Kd);
56
return b;
57
}
58
59
60
bool PID_RT::setKp(float Kp)
Callers
1
unittest
Function · 0.80
Calls
no outgoing calls
Tested by
1
unittest
Function · 0.64