Skip to content

Commit

Permalink
Removed gains getter from getCurrentPIDErrors
Browse files Browse the repository at this point in the history
* Was not being used inside the scope of the method
  • Loading branch information
progtologist committed Nov 30, 2017
1 parent 9080001 commit 0a36c01
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/pid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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_;
Expand Down

0 comments on commit 0a36c01

Please sign in to comment.