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

RGBA conversion to pointcloud2 format fail #18

Open
smichaud opened this issue Jul 3, 2014 · 0 comments
Open

RGBA conversion to pointcloud2 format fail #18

smichaud opened this issue Jul 3, 2014 · 0 comments

Comments

@smichaud
Copy link

smichaud commented Jul 3, 2014

Using the function: "PointMatcher_ros::pointMatcherCloudToRosMsg" with a color descriptor of 4 values (RGBA) does not create the proper RGB8 color for the ROS pointcloud2 data.

A quick fix is to directly set the name to "rgb" (i.e. pointField.name = "rgb";) at this line :
https://github.com/ethz-asl/ethzasl_icp_mapping/blob/master/libpointmatcher_ros/src/point_cloud.cpp#L415

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