Skip to content

Commit

Permalink
update from percent
Browse files Browse the repository at this point in the history
  • Loading branch information
Advay17 committed Nov 11, 2024
1 parent b8d1a6d commit 68142ca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ public double getVelocityTolerance() {
}

/**
* Returns the error tolerance of this controller. Defaults to 5%.
* Returns the error tolerance of this controller. Defaults to 0.05.
*
* @return the error tolerance of the controller.
*/
Expand Down Expand Up @@ -302,7 +302,7 @@ public double getSetpoint() {

/**
* Returns true if the error is within the tolerance of the setpoint. The error tolerance defaults
* to 5%, and the error derivative tolerance defaults to ∞.
* to 0.05, and the error derivative tolerance defaults to ∞.
*
* <p>This will return false until at least one input value has been computed.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ class WPILIB_DLLEXPORT PIDController
constexpr units::second_t GetPeriod() const { return m_period; }

/**
* Gets the error tolerance of this controller. Defaults to 5%.
* Gets the error tolerance of this controller. Defaults to 0.05.
*
* @return The error tolerance of the controller.
*/
Expand Down Expand Up @@ -252,7 +252,7 @@ class WPILIB_DLLEXPORT PIDController

/**
* Returns true if the error is within the tolerance of the setpoint.
* The error tolerance defauls to 5%, and the error derivative tolerance
* The error tolerance defauls to 0.05, and the error derivative tolerance
* defaults to ∞.
*
* This will return false until at least one input value has been computed.
Expand Down

0 comments on commit 68142ca

Please sign in to comment.