Function octomap_msgs::fullMsgToMap

Function Documentation

static inline octomap::AbstractOcTree *octomap_msgs::fullMsgToMap(const octomap_msgs::msg::Octomap &msg)

Creates a new octree by deserializing from a message that contains the full map information (i.e., binary is false) and returns an AbstractOcTree* to it. You will need to free the memory when you’re done.