leggedrobotics / elevation_mapping_cupy

Elevation Mapping on GPU.
MIT License
551 stars 117 forks source link

A question about the pointcloud_class_* plugin #69

Open HT-hlf opened 11 months ago

HT-hlf commented 11 months ago

I can't make sense of the following code on the PointCloud Category Processing plugin, which appears to be a confusing. U id = floorf(i/pcl_channels[1]); int layer = i % pcl_channels[1]; U idx = p[id * pcl_channels[0]];