We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab6fc00 commit 4ba0ce8Copy full SHA for 4ba0ce8
1 file changed
src/pid/include/pid/pid.h
@@ -20,7 +20,7 @@ class PID
20
{
21
double error = set_point_ - current_value;
22
//clamp integrator_ value between integrator_max_ and integrator_min_
23
- integrator_ += error
+ integrator_ += error;
24
integrator_ = (integrator_ > integrator_max_ ? integrator_max_ : (integrator_ < integrator_min_ ? integrator_min_ : integrator_));
25
26
double i_value = ki_ * integrator_;
0 commit comments