Fix ProfiledPIDSubsystem parameter name (#2017)

Change from goal to setpoint (these are two different things).
This commit is contained in:
Oblarg
2019-11-09 12:16:50 -05:00
committed by Peter Johnson
parent 94843adb8f
commit 5f33d6af12
2 changed files with 6 additions and 4 deletions

View File

@@ -36,8 +36,10 @@ class ProfiledPIDSubsystem : public SubsystemBase {
* Uses the output from the ProfiledPIDController.
*
* @param output the output of the ProfiledPIDController
* @param setpoint the setpoint state of the ProfiledPIDController, for
* feedforward
*/
virtual void UseOutput(double output, State state) = 0;
virtual void UseOutput(double output, State setpoint) = 0;
/**
* Returns the goal used by the ProfiledPIDController.