ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

bt ("Bonsai Tree") files are a very compact binary serialized representation of OctoMap octree, and thus not directly human readable.

You can easily write a program that reads in the .bt, creates an OcTree from it and then traverse the full tree with an octree leaf_iterator to do whatever you want with the coordinates or voxels. For details see the doxygen documentation of OctoMap: http://octomap.sourceforge.net/doxygen/index.html

You can also have a look at the file "bt2vrml.cpp" in your octomap package. It reads in a .bt file and creates a VRML file of the occupied voxels (which will result in a quite large file).