add save/load for temp obstacle sample