mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-01 17:10:26 +08:00
Added Octomap visualization and export options
This commit is contained in:
@@ -39,6 +39,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#include <rtabmap/core/Transform.h>
|
||||
|
||||
#include <map>
|
||||
#include <string>
|
||||
|
||||
namespace rtabmap {
|
||||
|
||||
@@ -67,8 +68,9 @@ public:
|
||||
const octomap::ColorOcTree * octree() const {return octree_;}
|
||||
|
||||
pcl::PointCloud<pcl::PointXYZRGB>::Ptr createCloud(
|
||||
unsigned int treeDepth = 0,
|
||||
std::vector<int> * obstacleIndices = 0,
|
||||
std::vector<int> * groundIndices = 0) const;
|
||||
std::vector<int> * emptyIndices = 0) const;
|
||||
|
||||
cv::Mat createProjectionMap(
|
||||
float & xMin,
|
||||
@@ -76,6 +78,8 @@ public:
|
||||
float & gridCellSize,
|
||||
float minGridSize);
|
||||
|
||||
bool writeBinary(const std::string & path);
|
||||
|
||||
virtual ~OctoMap();
|
||||
void clear();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user