pcl::KdTreeFLANN<pcl::PointXYZ> gives memory corruption!

asked 2016-06-02 06:29:43 -0600

Reza1984 gravatar image

When I add the following line into my code, I get memory corruption error:

pcl::KdTreeFLANN<pcl::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.

edit retag flag offensive close merge delete