Skip to content

Commit 4ba0ce8

Browse files
committed
Added missing semicolon to update method.
1 parent ab6fc00 commit 4ba0ce8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pid/include/pid/pid.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class PID
2020
{
2121
double error = set_point_ - current_value;
2222
//clamp integrator_ value between integrator_max_ and integrator_min_
23-
integrator_ += error
23+
integrator_ += error;
2424
integrator_ = (integrator_ > integrator_max_ ? integrator_max_ : (integrator_ < integrator_min_ ? integrator_min_ : integrator_));
2525

2626
double i_value = ki_ * integrator_;

0 commit comments

Comments
 (0)