Skip to content

Instantly share code, notes, and snippets.

@clungzta
Last active December 27, 2019 11:50
Show Gist options
  • Save clungzta/537f84f9d381c469761f9fe8322d501b to your computer and use it in GitHub Desktop.
Save clungzta/537f84f9d381c469761f9fe8322d501b to your computer and use it in GitHub Desktop.
import occupancy_grid_utils_python as gu
# geometry_msgs::Point
pt = [1.0, 0.0, 0.0]
# grid, map_info from topics
# map_info = gu.MapMetaData()
cell = pointCell(map_info, pt)
value = get_cell(grid, cell)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment