def progresser_high_res(sample, grid, auto_position=True, write_safe=False, blocking=True, progress=False): sample_in_B = transformMaceCloudToIMU(sample) sample_sphere = Sphere(sample_in_B) return sample_sphere.sampleUsingGrid(grid)
def progresser(submap, grid, auto_position=True, write_safe=False, blocking=True, progress=False): dense_map = submap.get_dense_map() sample_sphere = Sphere(dense_map) return sample_sphere.sampleUsingGrid(grid)