KennyWGH / efficient_online_segmentation

Efficient Online Segmentation of Ground&Wall Points for Multi-line Spinning LiDARs. //在线分割激光点云中的地面点和墙面点。
166 stars 22 forks source link

编译类型问题 #4

Open zhengnx0906 opened 1 year ago

zhengnx0906 commented 1 year ago

使用debug类型没问题,使用release类型程序会崩溃 /opt/ros/melodic/lib/python2.7/dist-packages/roslib/packages.py:470: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal if resource_name in files: process[efficient_online_segmentation-1]: started with pid [6515] munmap_chunk(): invalid pointer [efficient_online_segmentation-1] process has died [pid 6515, exit code -11, cmd /home/znx/znxtest_ws/devel/lib/efficient_online_segmentation/efficient_online_segmentation_node name:=efficient_online_segmentation log:=/home/znx/.ros/log/f79fb19e-ceff-11ed-b70b-409f38571777/efficient_online_segmentation-1.log]. log file: /home/znx/.ros/log/f79fb19e-ceff-11ed-b70b-409f38571777/efficient_online_segmentation-1*.log

QYChan commented 11 months ago

https://github.com/KennyWGH/efficient_online_segmentation/blob/adcc8bf2bf00ce0b16a29991b1611a8b09d78d96/core/segmentation_utility.cpp#L11C7-L11C7 The copy assignment function miss return value.