From 68142caa9773f1693b808d0c7dea47712a78f5c8 Mon Sep 17 00:00:00 2001 From: Kavin Muralikrishnan <921563@lcps.org> Date: Mon, 11 Nov 2024 12:37:28 -0500 Subject: [PATCH] update from percent --- .../java/edu/wpi/first/math/controller/PIDController.java | 4 ++-- .../src/main/native/include/frc/controller/PIDController.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wpimath/src/main/java/edu/wpi/first/math/controller/PIDController.java b/wpimath/src/main/java/edu/wpi/first/math/controller/PIDController.java index 2a8357ec0f8..0bd71d4b187 100644 --- a/wpimath/src/main/java/edu/wpi/first/math/controller/PIDController.java +++ b/wpimath/src/main/java/edu/wpi/first/math/controller/PIDController.java @@ -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. */ @@ -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 ∞. * *

This will return false until at least one input value has been computed. * diff --git a/wpimath/src/main/native/include/frc/controller/PIDController.h b/wpimath/src/main/native/include/frc/controller/PIDController.h index de1e600a46d..7ba9a51541e 100644 --- a/wpimath/src/main/native/include/frc/controller/PIDController.h +++ b/wpimath/src/main/native/include/frc/controller/PIDController.h @@ -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. */ @@ -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.