Open youliangtan opened 1 year ago
Thanks a lot for this!
I seemed to be having a problem with the colors (Blue was seen as red, etc.) I ended up changing the bit conversion
colors = colors[:,0] * BIT_MOVE_16 +colors[:,1] * BIT_MOVE_8 + colors[:,2]
Worked perfectly after this update
Although it seems that this repo is not maintained for a while, hopefully this is still helpful for ppl who wish to quickly find the solution to convert open3d pcd to ros pointcloud2 msg.
Fixes to make
convertCloudFromOpen3dToRos
works: Tested on open3d0.17.0
, rosnoetic
when viz on rviz, show it in
RGB8