Skip to content

Commit 71652eb

Browse files
committed
private vars
1 parent 4fe57a8 commit 71652eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/common/pid.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ class PIDController
3030
float output_ramp; //!< Maximum speed of change of the output value
3131
float limit; //!< Maximum output value
3232

33+
protected:
34+
3335
float output_prev; //!< last pid output value
3436
float integral_prev; //!< last integral component value
35-
36-
protected:
3737
float integral_antiwindup_prev; //!< last integral antiwindup component value
3838
float error_prev; //!< last tracking error value
3939
unsigned long timestamp_prev; //!< Last execution timestamp

0 commit comments

Comments
 (0)