introlab / rtabmap_ros

RTAB-Map's ROS package.
http://wiki.ros.org/rtabmap_ros
BSD 3-Clause "New" or "Revised" License
966 stars 557 forks source link

Opening Exported ply point clouds with MeshLab, CloudCompare: Scalar field #1, #2: the number of scalars doesn't match the number of points #1042

Open Twenkid opened 1 year ago

Twenkid commented 1 year ago

Hi, I was trying to import the exported ply files with Blender (also with another plugin), CloudCompare and MeshLab. I thought it was unsuccessful due to an error message and a strange view, then I discovered that it's probably correct, but one has to navigate through the points.

Screenshot from 2023-10-01 23-34-41

image

image

The error is:

_Scalar field #1: the number of scalars doesn't match the number of points (they will be ignored)!"

The same for #2

I produced the maps with the ros2 examples with d435i, all kinds: color, stereo, infrared.

Meshlab's initial view is similar (I guess it has to be something like that)

Screenshot from 2023-10-01 23-23-57

Screenshot from 2023-10-01 23-37-04

BTW, thank you for this great piece of software and admiration for the long-lasting dedication!

matlabbe commented 1 year ago

Hi,

For a D435i, if you look to export only the most accurate points, limit the max range of exported clouds to 3-4 meters. This kind of clouds is expected with stereo cameras with small baseline/resolution.

cheers, Mathieu