fixed sensor adding boundary and obstacles