add obstacle field and samples