getClosestPoint

open fun getClosestPoint(position: Pose): Pose

Gets the closest point on the path to the given position

Return

The closest point on the path to the given position

Parameters

position

The position to get the closest point to