atPoint

fun atPoint(point: Vector2d, tolerance: Double = 2.0, callback: MarkerCallback): Marker

Creates a marker that triggers when the robot is within a certain tolerance of a given point.

Return

A Marker that triggers when the robot is near the specified point.

Parameters

point

The Vector2d point to check proximity against.

tolerance

The distance tolerance for triggering the marker (default: 2.0 units).

callback

The callback to execute when triggered.