Main Page
Namespaces
Classes
Files
File List
File Members
include
grid_map_visualization
visualizations
GridCellsVisualization.hpp
Go to the documentation of this file.
1
/*
2
* GridCellsVisualization.hpp
3
*
4
* Created on: Mar 28, 2015
5
* Author: Péter Fankhauser
6
* Institute: ETH Zurich, ANYbotics
7
*/
8
9
#pragma once
10
11
#include <
grid_map_visualization/visualizations/VisualizationBase.hpp
>
12
#include <
grid_map_core/GridMap.hpp
>
13
14
// ROS
15
#include <
ros/ros.h
>
16
17
namespace
grid_map_visualization
{
18
19
class
GridCellsVisualization
:
public
VisualizationBase
20
{
21
public
:
22
28
GridCellsVisualization
(
ros::NodeHandle
& nodeHandle,
const
std::string& name);
29
33
virtual
~GridCellsVisualization
();
34
40
bool
readParameters
(
XmlRpc::XmlRpcValue
& config);
41
45
bool
initialize
();
46
52
bool
visualize
(
const
grid_map::GridMap
& map);
53
54
private
:
55
57
std::string
layer_
;
58
60
float
lowerThreshold_
,
upperThreshold_
;
61
};
62
63
}
/* namespace */
ros::NodeHandle
XmlRpc::XmlRpcValue
grid_map_visualization::VisualizationBase
Definition:
VisualizationBase.hpp:20
grid_map_visualization::GridCellsVisualization::upperThreshold_
float upperThreshold_
Definition:
GridCellsVisualization.hpp:60
grid_map::GridMap
GridMap.hpp
grid_map_visualization::GridCellsVisualization::GridCellsVisualization
GridCellsVisualization(ros::NodeHandle &nodeHandle, const std::string &name)
Definition:
GridCellsVisualization.cpp:18
grid_map_visualization
Definition:
GridMapVisualization.hpp:26
grid_map_visualization::GridCellsVisualization::layer_
std::string layer_
Type that is transformed to the occupancy grid.
Definition:
GridCellsVisualization.hpp:57
grid_map_visualization::GridCellsVisualization::readParameters
bool readParameters(XmlRpc::XmlRpcValue &config)
Definition:
GridCellsVisualization.cpp:29
grid_map_visualization::GridCellsVisualization
Definition:
GridCellsVisualization.hpp:19
ros.h
grid_map_visualization::GridCellsVisualization::~GridCellsVisualization
virtual ~GridCellsVisualization()
Definition:
GridCellsVisualization.cpp:25
grid_map_visualization::GridCellsVisualization::initialize
bool initialize()
Definition:
GridCellsVisualization.cpp:49
grid_map_visualization::GridCellsVisualization::lowerThreshold_
float lowerThreshold_
Values that are between lower and upper threshold are shown.
Definition:
GridCellsVisualization.hpp:60
VisualizationBase.hpp
grid_map_visualization::GridCellsVisualization::visualize
bool visualize(const grid_map::GridMap &map)
Definition:
GridCellsVisualization.cpp:55
grid_map_visualization
Author(s): Péter Fankhauser
autogenerated on Tue Jun 25 2019 20:02:32