Obstacle avoidance using the Navigation stack