Public Member Functions | Private Attributes | List of all members
grid_map_demos::IteratorsDemo Class Reference

#include <IteratorsDemo.hpp>

Public Member Functions

void demoCircleIterator ()
 
void demoEllipseIterator ()
 
void demoGridMapIterator ()
 
void demoLineIterator ()
 
void demoPolygonIterator (const bool prepareForOtherDemos=false)
 
void demoSlidingWindowIterator ()
 
void demoSpiralIterator ()
 
void demoSubmapIterator ()
 
 IteratorsDemo (ros::NodeHandle &nodeHandle)
 
void publish ()
 
virtual ~IteratorsDemo ()
 

Private Attributes

ros::Publisher gridMapPublisher_
 Grid map publisher. More...
 
grid_map::GridMap map_
 Grid map data. More...
 
ros::NodeHandlenodeHandle_
 ROS nodehandle. More...
 
ros::Publisher polygonPublisher_
 Polygon publisher. More...
 

Detailed Description

Visualizes a grid map by publishing different topics that can be viewed in Rviz.

Definition at line 22 of file IteratorsDemo.hpp.

Constructor & Destructor Documentation

grid_map_demos::IteratorsDemo::IteratorsDemo ( ros::NodeHandle nodeHandle)

Constructor.

Parameters
nodeHandlethe ROS node handle.

Definition at line 20 of file IteratorsDemo.cpp.

grid_map_demos::IteratorsDemo::~IteratorsDemo ( )
virtual

Destructor.

Definition at line 46 of file IteratorsDemo.cpp.

Member Function Documentation

void grid_map_demos::IteratorsDemo::demoCircleIterator ( )

Definition at line 91 of file IteratorsDemo.cpp.

void grid_map_demos::IteratorsDemo::demoEllipseIterator ( )

Definition at line 112 of file IteratorsDemo.cpp.

void grid_map_demos::IteratorsDemo::demoGridMapIterator ( )

Demos.

Definition at line 48 of file IteratorsDemo.cpp.

void grid_map_demos::IteratorsDemo::demoLineIterator ( )

Definition at line 154 of file IteratorsDemo.cpp.

void grid_map_demos::IteratorsDemo::demoPolygonIterator ( const bool  prepareForOtherDemos = false)

Definition at line 175 of file IteratorsDemo.cpp.

void grid_map_demos::IteratorsDemo::demoSlidingWindowIterator ( )

Definition at line 216 of file IteratorsDemo.cpp.

void grid_map_demos::IteratorsDemo::demoSpiralIterator ( )

Definition at line 133 of file IteratorsDemo.cpp.

void grid_map_demos::IteratorsDemo::demoSubmapIterator ( )

Definition at line 70 of file IteratorsDemo.cpp.

void grid_map_demos::IteratorsDemo::publish ( )

Publish the grid map to ROS.

Definition at line 249 of file IteratorsDemo.cpp.

Member Data Documentation

ros::Publisher grid_map_demos::IteratorsDemo::gridMapPublisher_
private

Grid map publisher.

Definition at line 60 of file IteratorsDemo.hpp.

grid_map::GridMap grid_map_demos::IteratorsDemo::map_
private

Grid map data.

Definition at line 66 of file IteratorsDemo.hpp.

ros::NodeHandle& grid_map_demos::IteratorsDemo::nodeHandle_
private

ROS nodehandle.

Definition at line 57 of file IteratorsDemo.hpp.

ros::Publisher grid_map_demos::IteratorsDemo::polygonPublisher_
private

Polygon publisher.

Definition at line 63 of file IteratorsDemo.hpp.


The documentation for this class was generated from the following files:


grid_map_demos
Author(s): Péter Fankhauser
autogenerated on Tue Jun 1 2021 02:13:55