-
Notifications
You must be signed in to change notification settings - Fork 215
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
PointCloud2 is not displayed correctly #249
Comments
Can you paste the contents of the "fields" (PointField list) for a frame of this cloud? We've seen issues with some non-standard field layouts. |
Hi @mvollrath , thanks for your reply. Here are the fields for a frame:
|
This was not a bug. The problem was that I was not aware that a point limit was being set by default. setting max_pts to 200000 fixed the problem for me. |
Another question About PointCloud2. It looks like that when |
@Kad91 Use |
Hello
I've built an app to display sensor data from a robot, but I can't get PointClouds to display correctly. LaserScans work without issue, so I'm quite sure the structure of my code is fine. This is the configuration I am trying to display:
The tfClient is added later, and the config is handled by a parser.
However, the point cloud is displayed very weirdly. here is a screenshot:
Here is an rviz screenshot of the same rosbag playing, subscribing to the exact same topics:

Why is it being flattened out this way? Am I missing something in the configuration? Is it even possible to display more than one point cloud at once? I had no issues displaying several laser scans.
After a few seconds this starts to lag like crazy too, but that is a separate issue and I see there is a ticket for it already.
Any help with this issue would be greatly appreciated.
The text was updated successfully, but these errors were encountered: