Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set custom name for fields of point cloud data #29

Open
kargarisaac opened this issue Dec 12, 2018 · 1 comment
Open

set custom name for fields of point cloud data #29

kargarisaac opened this issue Dec 12, 2018 · 1 comment

Comments

@kargarisaac
Copy link

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::PointCloudpcl::PointXYZI::Ptr current_sensor_cloud_ptr(new pcl::PointCloudpcl::PointXYZI);
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"?

@lucasjinreal
Copy link

@kargarisaac Seems this package does not solve the intensity feild which is very useful to build point cloud recognition features.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants