Skip to content

MeshBuffer::setVertexNormals(): Cannot add vertex normals without vertex definitions #5

@SaeedMohameddd

Description

@SaeedMohameddd

when launch reconstruction cmd "roslaunch lvr_ros reconstruction.launch"
the node start subscribe from /cloud_registered topic that come from Fastlio pkg
[00:00:48 688] ##### Dataset statatistics: #####

[00:00:48 688] Num points: 3483
[00:00:48 688] kn: 50
[00:00:48 688] ki: 50
[00:00:48 688] kd: 50
[00:00:48 688] BB of points:
Bounding Box[min: Vec: [-66.9727 -96.1078 -11.8544]
max: Vec: [51.9613 62.918 11.3764]
dimension: 118.934, 159.026, 23.2308]

[ INFO] [1728993353.255414536]: Using given normals.
[00:00:48 690] Used voxelsize is 0.1
[00:00:48 690] Creating grid
[00:00:48 910] Calculating distance values 100%
[00:00:48 998] Elapsed time: 0.088
[00:00:48 998] Creating mesh 100%
[00:00:49 020] Optimizing plane contours 100%
[00:00:49 028] Trying to remove all holes with size ≤ 30

[ INFO] [1728993353.593151875]: Calc normaBaseVecTls for vertices
[ INFO] [1728993353.593191842]: after normaBaseVecTls for vertices vertexNormals.size(): 1065334736
[ INFO] [1728993353.593209336]: after calcColorFromPointCloud(mesh, surface); vertexColors.size(): 1065334736
MeshBuffer::setVertexNormals(): Cannot add vertex normals without vertex definitions
[ INFO] [1728993353.593268550]: Reconstruction finished! mesh_buffer.size() 1065333984
[ INFO] [1728993353.593279176]: Reconstruction finished!
[ INFO] [1728993353.607016031]: -------------------****--------------------
[ INFO] [1728993353.607100080]: inside from createMeshBufferFromPointBuffer 1065336704
[ INFO] [1728993353.607111796]: ############inside from fromMeshBufferToMeshMessages:: 1065336160
[ INFO] [1728993353.607128633]: ############n_vertices: 0 n_faces:0
[ INFO] [1728993353.607136004]: final methos take meshbufferptr as input value:1065335504
[ INFO] [1728993353.607144551]: size_t n_vertices = buffer->numVertices():: 0
[ INFO] [1728993353.607159133]: finish createMeshMessageFromPointCloud Publish mesh geometry
[ INFO] [1728993353.607166071]: Publish mesh_geometry_publisher.publish(cache_mesh_geometry_stamped);
[ INFO] [1728993353.607176744]: finish sub pointcloud cb
also the meshgeometry topic is empty from any vertices the error was the
MeshBuffer::setVertexNormals() is give exceptions and not calculate any vertex
meshgeometry_published topic is empty
MeshBuffer_setVertexNormals

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions