atPoint

public boolean atPoint(Point point, double xTolerance, double yTolerance)

Checks if the robot is at a certain point within certain tolerances

Parameters

point

Point to compare with the current point

xTolerance

Tolerance for the x position

yTolerance

Tolerance for the y position