Alfred stopping for obstacles & performing smooth trajectories