Skip to content

Add support for pointcloud normals#35

Open
alexnavtt wants to merge 10 commits into
ros-perception:ros2from
alexnavtt:ros2
Open

Add support for pointcloud normals#35
alexnavtt wants to merge 10 commits into
ros-perception:ros2from
alexnavtt:ros2

Conversation

@alexnavtt
Copy link
Copy Markdown
Contributor

Previously, open3d_conversions only migrated point fields that are supported by sensor_msgs::PointCloud2Modifier::setPointCloud2FieldsByString, which does not include point normals. Open3D pointclouds support position, color, normals, and covariances. This PR moves away from using sensor_msgs::PointCloud2Modified, which has awkward syntax (eg. fields cannot be added incrementally and must all be added in one monolithic step), and adds support for the normal_x, normal_y, and normal_z fields. This PR does not add support for covariance conversion.

Two new tests were added to cover point normal conversions.

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