ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Visualizing a point cloud previously stored in an array

asked 2012-10-01 05:17:36 -0500

tordalk gravatar image

Hello, I'd like to visualize a point cloud by using rviz. The points' coordinates were previously stored in an array that contains the x-, y- and z-coordinates of each point within a struct data type. I tried to store this data in the corresponding ~.x, ~.y, ~.z members of a pcl::PointXYZ object. However, I am not sure if this works and if so, how to make it to the publication of this cloud, so I can see something on rviz. It would be great if someone could tell how this works. Kevin

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-10-01 06:18:07 -0500

Lorenz gravatar image

Have a look here to find some example code.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-10-01 05:17:36 -0500

Seen: 1,173 times

Last updated: Oct 01 '12