Skip to content

Conversation

ewak
Copy link
Contributor

@ewak ewak commented Jan 8, 2025

The usage of points.size() in EigenMatToPointCloud2 to CreatePointCloudMsg() was incorrect, it should have been points.rows().

Using points.size() leads to 3x more points being allocated in the point cloud than necessary which bloats the message slowing things down. These extra points are at the origin of the pointcloud. This can manifest as an artificial hump directly under the origin of the point cloud.

The usage of points.size() in EigenMatToPointCloud2 to
CreatePointCloudMsg() was incorrect, it should have been points.rows().

Using points.size() leads 3x more points being allocated in the
point cloud than necessary which bloats the message slowing things down.

These extra points are at the origin of the pointcloud.

This can manifest as an artificial hump directly under
the origin of the point cloud.

Signed-off-by: Mike Wake <macwake@gmail.com>
@LimHyungTae
Copy link
Member

Nice catch! Thanks a lot!

@LimHyungTae LimHyungTae merged commit b608129 into url-kaist:master Jan 28, 2025
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

Successfully merging this pull request may close these issues.

2 participants