Detect position robot, agv relative to machine to start communication