unable to update octomap correctly using insertPointcloud
Hi,
I would like to use octomap for turtlebot path planning. My issue is:
I want to update my map after my robot reaching the desired position. To do this, I use the octomap method insertPointCloud(pointcloud, sensor_origin). The pointcloud data is obtained from projectLaser method (which convert /scan to /poincloud2). And sensor_origin is the odometry of turtlebot.
The result map I get is "overlapping" which is not correct. (sorry for unable to upload pic here) Anyone have thoughts what could be the potential reasons for that?