ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
If the documentation for pcl::concatenatePointCloud()
is correct, you cannot provide cloud as a const
input and also as the output. You must provide a third cloud to be filled in the function. Then, you can set cloud = third_cloud.
2 | No.2 Revision |
If the documentation for pcl::concatenatePointCloud()
is correct, you cannot provide cloud as a const
input and also as the output. You must provide a third cloud to be filled in the function. Then, you can set cloud = third_cloud.
sensor_msgs::PointCloud2 temp_cloud;
pcl::concatenatePointCloud(cloud, c_tmp, temp_cloud);
cloud = temp_cloud;