base obstacle setup method