pcl::KdTreeFLANN<pcl::PointXYZ> gives memory corruption!
When I add the following line into my code, I get memory corruption error:
pcl::KdTreeFLANNpcl::PointXYZ kdtree;
In fact i'm subscribing to "/rtabmap/cloud_map" (using turtlebot RTAB-map) and do some processes. All the processes works well except when I add that line of KdTreeFLANN the program crashes.
I appreciate if anyone helps me. Thanks.
Asked by Reza1984 on 2016-06-02 06:29:43 UTC
Comments