From 0a36c01d1065dfa45b9ecbac697ba6745e1f5ace Mon Sep 17 00:00:00 2001 From: Aris Synodinos Date: Thu, 30 Nov 2017 12:10:43 -0500 Subject: [PATCH] Removed gains getter from getCurrentPIDErrors * Was not being used inside the scope of the method --- src/pid.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/pid.cpp b/src/pid.cpp index 741e4dbc..2bad2a3e 100644 --- a/src/pid.cpp +++ b/src/pid.cpp @@ -400,9 +400,6 @@ double Pid::getCurrentCmd() void Pid::getCurrentPIDErrors(double *pe, double *ie, double *de) { - // Get the gain parameters from the realtime buffer - Gains gains = *gains_buffer_.readFromRT(); - *pe = p_error_; *ie = i_error_; *de = d_error_;