Accessing intensity values of points in a pointcloud

asked 2018-07-25 20:24:53 -0600

surabhi96 gravatar image

I am using the turbo-ros-pkg to publish the coordinates of the selected points of a pointcloud. However, I also wish to access the intensity values. I tried changing the point type to pcl::PointXYZI in the cpp and .h file of the package. But it doesn't work.


edit retag flag offensive close merge delete


Can you expand on what you mean by "it doesn't work"? Not clear what the problem is.

stevejp gravatar image stevejp  ( 2018-07-26 07:24:10 -0600 )edit

Mere replacement of the point data type from pcl::PointXYZRGB to pcl::PointXYZI does not give the desired output. So, it 'doesn't work'.

surabhi96 gravatar image surabhi96  ( 2018-07-26 18:16:32 -0600 )edit

On selecting multiple points using the 'Select' tool, I can see the x, y, z values along with Intensity and ring num in the 'Selection' panel. Since the turbo-ros-pkg inherits from 'Select', I believe there could be some way of accessing and publishing the intensity values of the points

surabhi96 gravatar image surabhi96  ( 2018-07-26 18:17:52 -0600 )edit