Main Page
Namespaces
Classes
Files
File List
File Members
include
grid_map_octomap
GridMapOctomapConverter.hpp
Go to the documentation of this file.
1
/*
2
* GridMapOctomapConverter.hpp
3
*
4
* Created on: May 1, 2017
5
* Author: Jeff Delmerico, Peter Fankhauser
6
* Institute: University of Zürich, Robotics and Perception Group
7
*/
8
9
#pragma once
10
11
#include <
grid_map_core/grid_map_core.hpp
>
12
13
// Octomap
14
#include <
octomap/octomap.h
>
15
16
// STD
17
#include <iostream>
18
#include <vector>
19
#include <algorithm>
20
#include <cmath>
21
22
namespace
grid_map
{
23
27
class
GridMapOctomapConverter
28
{
29
public
:
33
GridMapOctomapConverter
();
34
38
virtual
~GridMapOctomapConverter
();
39
54
static
bool
fromOctomap
(
const
octomap::OcTree
&
octomap
,
55
const
std::string& layer,
56
grid_map::GridMap
& gridMap,
57
const
grid_map::Position3
* minPoint =
nullptr
,
58
const
grid_map::Position3
* maxPoint =
nullptr
);
59
60
};
61
62
}
/* namespace */
octomap
grid_map::GridMapOctomapConverter::fromOctomap
static bool fromOctomap(const octomap::OcTree &octomap, const std::string &layer, grid_map::GridMap &gridMap, const grid_map::Position3 *minPoint=nullptr, const grid_map::Position3 *maxPoint=nullptr)
Definition:
GridMapOctomapConverter.cpp:21
octomap::OcTree
grid_map::GridMap
grid_map_core.hpp
grid_map
grid_map::Position3
Eigen::Vector3d Position3
grid_map::GridMapOctomapConverter
Definition:
GridMapOctomapConverter.hpp:27
grid_map::GridMapOctomapConverter::~GridMapOctomapConverter
virtual ~GridMapOctomapConverter()
Definition:
GridMapOctomapConverter.cpp:17
grid_map::GridMapOctomapConverter::GridMapOctomapConverter
GridMapOctomapConverter()
Definition:
GridMapOctomapConverter.cpp:13
octomap.h
grid_map_octomap
Author(s): Jeff Delmerico
, Péter Fankhauser
autogenerated on Tue Jun 1 2021 02:13:34