Template Function octomap_msgs::fullMapToMsg

Function Documentation

template<class OctomapT>
static inline bool octomap_msgs::fullMapToMsg(const OctomapT &octomap, octomap_msgs::msg::Octomap &msg)

Serialization of an octree into binary data e.g. for messages and services. Full probability version (stores complete state of tree, .ot file format). The data will be much smaller if you call octomap.toMaxLikelihood() and octomap.prune() before.

Returns

success of serialization