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

Inquiry into saving intensity values in the map file #36

Open
yorklyb opened this issue Feb 19, 2022 · 0 comments
Open

Inquiry into saving intensity values in the map file #36

yorklyb opened this issue Feb 19, 2022 · 0 comments

Comments

@yorklyb
Copy link

yorklyb commented Feb 19, 2022

Thanks for your work!
I'm trying to save the intensity values in the map file. However, according to the following command, the intensity values are not saved by default.

pcd_writer.writeBinary(all_points_filename, *laserCloudFullResColor_pcd);

So I changed it to pcd_writer.writeASCII(all_points_filename, *laserCloudFullResColor_pcd);
But then I realized that the points pointed by *laserCloudFullResColor_pcd are in the format of pcl::PointXYZRGB

pcl::PointXYZRGB temp_point;

I'm pretty confused about this. I'm wondering why the points are not in format pcl::PointXYZI?
Can I change it to pcl::PointXYZI?

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

1 participant