typo
This commit is contained in:
parent
155216ebd5
commit
d166bd9493
|
@ -56,7 +56,7 @@ float Pid::getValue(float target, float input, float dTime) {
|
|||
if (iTerm > pid->maxValue)
|
||||
iTerm = pid->maxValue;
|
||||
|
||||
// this is kind of a hack. a proper fix would be having separate additional settings 'maxIValue' and 'minIValye'
|
||||
// this is kind of a hack. a proper fix would be having separate additional settings 'maxIValue' and 'minIValue'
|
||||
if (iTerm < -pid->maxValue)
|
||||
iTerm = -pid->maxValue;
|
||||
|
||||
|
|
Loading…
Reference in New Issue