fixed obstacle generation