-
Notifications
You must be signed in to change notification settings - Fork 709
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
Migrate to point_cloud_msg_wrapper #1199
Comments
This pull request has been automatically marked as stale because it has not had recent activity. |
This pull request has been automatically marked as stale because it has not had recent activity. |
…timation fix(shape estimation): 5330 + 6157 + 6598
The error message referenced in this GitHub issue indicates that the problem is caused by this line of code. The Pointcloud message wrapper claims to offer safer handling for point cloud types and fields. Recently, @knzo25 has been working on migrating the point cloud type and providing checks for both the point cloud field and type. Therefore, from my perspective, investing additional effort in this area might not be necessary. @knzo25 How do you think about this? Thanks |
Since we just did some cleaning regarding point types, it would certainly be a good time to try this.
As this would develop into a bigger task, is there any opinion from an architect point of view (the dependency is in rosdep so there would not be issues https://index.ros.org/p/point_cloud_msg_wrapper/gitlab-ApexAI-point_cloud_msg_wrapper/) @xmfcx @mitsudome-r and if and how much priority would this be assigned @drwnz |
I've had a quick look at this, and while @knzo25 has made some big improvements to checking the field and type, this does look like an additional step to provide a better API for handling pointclouds. I would say that it is worth investing some time into this now that we have clarified point types. @xmfcx would be great to get your input on this. |
Unassigning myself since I haven't worked on this for a long time. |
@knzo25 This shouldn't add an overhead for runtime. It's a more methodical/safe way of doing a reinterpret_cast:
I will add comparison of point_cloud_msg_wrapper, point_cloud2_iterator and raw reinterpret_cast later here. But we can go on with implementing this. |
This pull request has been automatically marked as stale because it has not had recent activity. |
…dation#1199) Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
Checklist
Description
The current codebase uses the
PointCloud2Iterator
class for handling point clouds. However, this translates into code that's brittle and unreadable. Point Cloud Message Wrapper provides a more robust and natural API for handling point clouds.Purpose
Make the point cloud handling code more robust and readable
Possible approaches
Use
point_coud_msg_wrapper
to handle point cloudsDefinition of done
The point cloud iterator classes from
sensor_msgs
are no longer used, in favor of point_cloud_msg_wrapperThe text was updated successfully, but these errors were encountered: