Robotics StackExchange | Archived questions

problem converse octomap msg to octomap tree

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

Asked by pumpkin on 2019-10-24 21:41:29 UTC

Comments

I have found the solution here: #q246411.

Asked by pumpkin on 2019-10-24 22:10:09 UTC

Answers