Added gate model under obstacles(test)