set Admissible Error
open fun setAdmissibleError(admissibleError: Pose2d, admissibleTimeout: Double): DriveConstants.Builder
Set the admissible error for the PIDVA controller for trajectory following. Usually, you won't have to call this method, as the default error is adequate.
Return
this
Parameters
admissible Error
admissible/satisfactory pose error at the end of each move (default 0.5in 5deg)
admissible Timeout
max time to wait for the error to be admissible (default 0.5 sec)