getClosestPose

This returns the closest pose to the robot on the Path the Follower is currently following. This closest pose is calculated through a binary search method with some specified number of steps to search. By default, 10 steps are used, which should be more than enough.

Return

returns the closest pose.