Function octomap_msgs::msgToMap

Function Documentation

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

Convert an octomap representation to a new octree (full probabilities or binary). You will need to free the memory. Return NULL on error.