Getting the Ai to avoid obstacles

Did you find a solution to this?