Added obstacle avoidance to general taxic