kernel to output obstacle ids.