Template Function octomap_msgs::fullMapToMsgData

Function Documentation

template<class OctomapT>
static inline bool octomap_msgs::fullMapToMsgData(const OctomapT &octomap, std::vector<int8_t> &mapData)

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