Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
Advay17 committed Nov 11, 2024
1 parent 25a147d commit 636ac3e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ public double getVelocityTolerance() {
/**
* Returns the error tolerance of this controller. Defaults to 5%.
*
* @return the error tolerance of the controller.
* @return the error tolerance of the controller.
*/
public double getErrorTolerance() {
return m_errorTolerance;
Expand Down Expand Up @@ -359,7 +359,7 @@ public void setIntegratorRange(double minimumIntegral, double maximumIntegral) {
}

/**
* Sets the error which is considered tolerable for use with atSetpoint().
* Sets the error which is considered tolerable for use with atSetpoint().
*
* @param errorTolerance Error which is tolerable.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,8 @@ 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 defaults to ∞.
* The error tolerance defauls to 5%, 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 636ac3e

Please sign in to comment.