How can I convert image array data to PointCloud2?

asked 2018-02-06 04:11:44 -0600

kite9240 gravatar image

I have special image array data and I want convert it to PointCloud2.

But I can't understand meaning of PointCloud2's parameter, so I can't do converting.

Every pixel of Image array data have straight distance in the floor and have the angle from the center of bottom. ( angle and distance in real world)

This is my questions.

  1. What is point_step, row_step, height, width in PointCloud2,msg?

  2. What is offset and count in PointField.msg?

  3. How cant I convert image array data to PointCloud2?

edit retag flag offensive close merge delete

Comments

Can depth_image_proc point_cloud_xyz do it for you? http://wiki.ros.org/depth_image_proc#...

lucasw gravatar image lucasw  ( 2018-02-06 09:42:49 -0600 )edit