approx

infix fun Pose2d.approx(other: Pose2d): Boolean

Compare two poses with an epsilon value.

Return

whether the two poses are equal within the epsilon value 1e-6

Parameters

other

the other pose


infix fun Vector2d.approx(other: Vector2d): Boolean

Compare two vectors with an epsilon value.

Return

whether the two vectors are equal within the epsilon value 1e-6

Parameters

other

the other vector to compare