finish a traditional version of obstacle avoidance