withTolerance

open fun withTolerance(inchRad: Pose2d): HolonomicVectorDriveTask

Set the minimum pose error when in self-holding mode to activate correction for.

Return

this

Parameters

inchRad

a pose in inches and radians that represents the admissible error for robot auto-correction


Set the minimum pose error when in self-holding mode to activate correction for.

Return

this

Parameters

poseX

x (forward) admissible error

poseY

y (strafe) admissible error

poseR

r (heading) admissible error