mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
[wpimath] Document default tolerances of PIDController (#7377)
This commit is contained in:
committed by
GitHub
parent
425bf83036
commit
07345712dc
@@ -246,7 +246,7 @@ public class PIDController implements Sendable, AutoCloseable {
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the error tolerance of this controller.
|
||||
* Returns the error tolerance of this controller. Defaults to 0.05.
|
||||
*
|
||||
* @return the error tolerance of the controller.
|
||||
*/
|
||||
@@ -255,7 +255,7 @@ public class PIDController implements Sendable, AutoCloseable {
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the error derivative tolerance of this controller.
|
||||
* Returns the error derivative tolerance of this controller. Defaults to ∞.
|
||||
*
|
||||
* @return the error derivative tolerance of the controller.
|
||||
*/
|
||||
@@ -301,7 +301,8 @@ public class PIDController implements Sendable, AutoCloseable {
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns true if the error is within the tolerance of the setpoint.
|
||||
* Returns true if the error is within the tolerance of the setpoint. The error tolerance defaults
|
||||
* to 0.05, and the error derivative tolerance defaults to ∞.
|
||||
*
|
||||
* <p>This will return false until at least one input value has been computed.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user