mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
Fix ProfiledPIDSubsystem parameter name (#2017)
Change from goal to setpoint (these are two different things).
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user