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

Revision history [back]

click to hide/show revision 1
initial version

It is saying that you can't just use an Eigen::Vector2f to add a point to a pointcloud2. See this example for a use case of generating a point cloud and then publishing it.

As I understand it you process the data using the pcl library, and then after you have made the pointcloud you convert it to the ROS msg pointcloud2 and then publish it.

It is saying that you can't just use an Eigen::Vector2f to add a point to a pointcloud2. See this example for a use case of generating a point cloud and then publishing it.

As I understand it the best practice is that you process the data using the pcl library, and then after you have made the pointcloud you convert it to the ROS msg pointcloud2 and then publish it. it.