problem converse octomap msg to octomap tree [closed]

asked 2019-10-24 21:41:29 -0500

pumpkin gravatar image

Hello there,

I'm trying an example of conversing octomap_msgs/Octomap message into a oct tree.

The Sub callback function content which I wrote is:

octomap::AbstractOcTree* tree = octomap_msgs::fullMsgToMap(msg);

But an error occurred at compile time:

undefined reference to `octomap::AbstractOcTree::createTree(std::__cxx11..........

So, am I right in writing like this? How can I solve this problem?

Thanks a lot

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by pumpkin
close date 2019-10-24 22:10:30.682874

Comments

I have found the solution here: #q246411.

pumpkin gravatar image pumpkin  ( 2019-10-24 22:10:09 -0500 )edit