Potential obstacle avoidance