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

Losing intensity values when recording from /velodyne_cloud_registered #50

Open
DevinBayly opened this issue Dec 22, 2022 · 0 comments
Open

Comments

@DevinBayly
Copy link

I'm using a-loam as part of a ros workflow to help stabilize point clouds captured with an ouster lidar scanner. I feed a-loam data played from a bag (referred to as pc.bag) containing PointCloud2 and imu messages while recording the the /velodyne_cloud_registered topic of PointCloud2 messages.

My issue when I visualize this data is I only see colored rings from bottom to top instead of intensity values.
image

After inspecting some of the code base I see that there is a line setting the intensity value to something else

point.intensity = scanID + scanPeriod * relTime;
, but when I comment it out, I still don't get the correct values.

Is there some where in the code where I can specify that I want the original values which my pc.bag has?

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