introduced wait_for_obstacle_time