Minor changes for obstacle detection.