Closed VisionaryMind closed 3 years ago
It's not clear where the problem is, but it appears that the _fromarray method for PointCloud objects is not fully implemented. I haven't done any digging, but here is how to duplicate the problem:
testpoints = numpy.full((100,4),1.0).astype(np.float32) testcloud = pcl.PointCloud.PointXYZI() cloud.from_array(testcloud)
Using C++, this equivalent procedure would yield a fully populated pointcloud.
User error. The cloud.from_array method must be stored in a second object.
It's not clear where the problem is, but it appears that the _fromarray method for PointCloud objects is not fully implemented. I haven't done any digging, but here is how to duplicate the problem:
Using C++, this equivalent procedure would yield a fully populated pointcloud.