Automatic ground collision avoidance system