MCPcopy Create free account
hub / github.com/Kitware/pyLiDAR-SLAM / grid_sample

Function grid_sample

slam/common/pointcloud.py:182–195  ·  view source on GitHub ↗

Sample one point per voxel hash, returns the sample points and the indices of the sampled points Args: pointcloud (np.ndarray): The input pointcloud `(n, 3)` [np.float32, np.float64] voxel_size (np.ndarray): The size of a voxel

(pointcloud, voxel_size: float)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

process_next_frameMethod · 0.90

Calls 2

voxeliseFunction · 0.85
voxel_hashingFunction · 0.85

Tested by

no test coverage detected