Skip to content

Commit 0a36c01

Browse files
committed
Removed gains getter from getCurrentPIDErrors
* Was not being used inside the scope of the method
1 parent 9080001 commit 0a36c01

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/pid.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -400,9 +400,6 @@ double Pid::getCurrentCmd()
400400

401401
void Pid::getCurrentPIDErrors(double *pe, double *ie, double *de)
402402
{
403-
// Get the gain parameters from the realtime buffer
404-
Gains gains = *gains_buffer_.readFromRT();
405-
406403
*pe = p_error_;
407404
*ie = i_error_;
408405
*de = d_error_;

0 commit comments

Comments
 (0)