Function octomap_msgs::binaryMsgToMap

Function Documentation

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

Creates a new octree by deserializing from msg, e.g. from a message or service (binary: only free and occupied .bt file format). This creates a new OcTree object and returns a pointer to it. You will need to free the memory when you’re done.