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 
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 
28 {
29  public:
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 */
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)
Eigen::Vector3d Position3


grid_map_octomap
Author(s): Jeff Delmerico , Péter Fankhauser
autogenerated on Tue Jun 1 2021 02:13:34