Skip to content

Commit

Permalink
PIDController
Browse files Browse the repository at this point in the history
  • Loading branch information
pschatzmann committed Nov 6, 2023
1 parent db98bdb commit 7e2a8f6
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/AudioLibs/PIDController.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,14 @@ class PIDController {
}

protected:
float dt;
float max;
float min;
float kp;
float kd;
float ki;
float preerror = 0;
float integral = 0;
float dt = 1.0f;
float max = 0.0f;
float min = 0.0f;
float kp = 0.0f;
float kd = 0.0f;
float ki = 0.0f;
float preerror = 0.0f;
float integral = 0.0f;

}; // namespace audiotools

Expand Down

0 comments on commit 7e2a8f6

Please sign in to comment.