ethz-asl / segmap

A map representation based on 3D segments
BSD 3-Clause "New" or "Revised" License
1.05k stars 394 forks source link

IncrementalEuclidean memory crash #146

Closed brunoeducsantos closed 5 years ago

brunoeducsantos commented 5 years ago

Hi, I try to use segmenter type IncrementalSmoothConstraints and it worked perfectly fine. Although, for some reason using IncrementalEuclidean lead to a memory crash as follows: error The issue is in growRegions method. Anyone had the same issue? Thanks, Bruno

brunoeducsantos commented 5 years ago

Apparently getPointClusterId get out of range, eventually because I don't an assigned correct ed_cluster_id. Is there way to correct this in the code?

brunoeducsantos commented 5 years ago

It was a problem with ed_cluster_id field of MapPoint. I did an hack in region growing policy by replacing by the sc_cluster_id in set and get cluster id. Not sure if it is the right approach but it fixes it.

jianrui1 commented 4 years ago

hi, i have the same problem as you met. Like:

Failed to find match for field 'ed_cluster_id'.ion: 0.000000 / 137.842093
Failed to find match for field 'sc_cluster_id'. I0916 14:28:30.037210 23323 segmatch.cpp:152] Removing too near segments from source map. I0916 14:28:30.195529 23643 segmapper.cpp:121] publishing local maps42093
[ WARN] [1568625089.479056936, 1317639668.207645304]: [SegMapper] Timeout while waiting between world and velodyne.

Can you help me out. Can you share your approach specifically to me? Thanks for advance.