Hello,
I converted the kitti data to bag file using kitti2bag. When I want to use it in ros and using the following command:
pcl::PointCloud::Ptr current_sensor_cloud_ptr(new pcl::PointCloud);
pcl::fromROSMsg(in_sensor_cloud, *current_sensor_cloud_ptr);
it says that "Failed to find match for field 'intensity'.".
When I print names of filed of point cloud data I see that the third filed name is "i". how can I change the name or set the name manually to "intensity"?
Hello, I converted the kitti data to bag file using kitti2bag. When I want to use it in ros and using the following command: pcl::PointCloud::Ptr current_sensor_cloud_ptr(new pcl::PointCloud);
pcl::fromROSMsg(in_sensor_cloud, *current_sensor_cloud_ptr);
it says that "Failed to find match for field 'intensity'.". When I print names of filed of point cloud data I see that the third filed name is "i". how can I change the name or set the name manually to "intensity"?