"constantly check for the nearest waypoint and update the path in real time"