gaoxiang12 / octomap_tutor

A tutorial about octomap. Please check my blog for detail: cnblogs.com/gaoxiang12
MIT License
214 stars 88 forks source link

how to convert the coloroctree to octree #5

Open chengm0-0 opened 3 years ago

chengm0-0 commented 3 years ago

Hi, when I use the fcl library to do the path planning, I want to convert the coloroctree to octree, but I do not find any method. I have tried the following way, but it did not make any difference. octomap::ColorOcTree octree = new octomap::ColorOcTree(0.1); octomap::OcTree octree1 = dynamic_castoctomap::OcTree*(octree); Could you help me solve this question? Thanks! :)