#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. | |
grid_map::GridMap | map_ |
Grid map data. | |
ros::NodeHandle & | nodeHandle_ |
ROS nodehandle. | |
ros::Publisher | polygonPublisher_ |
Polygon publisher. |
Visualizes a grid map by publishing different topics that can be viewed in Rviz.
Definition at line 22 of file IteratorsDemo.hpp.
grid_map_demos::IteratorsDemo::IteratorsDemo | ( | ros::NodeHandle & | nodeHandle | ) |
Constructor.
nodeHandle | the ROS node handle. |
Definition at line 20 of file IteratorsDemo.cpp.
virtual grid_map_demos::IteratorsDemo::~IteratorsDemo | ( | ) | [virtual] |
Destructor.
Demos.
void grid_map_demos::IteratorsDemo::demoPolygonIterator | ( | const bool | prepareForOtherDemos = false | ) |
Publish the grid map to ROS.
Grid map publisher.
Definition at line 60 of file IteratorsDemo.hpp.
Grid map data.
Definition at line 66 of file IteratorsDemo.hpp.
ROS nodehandle.
Definition at line 57 of file IteratorsDemo.hpp.
Polygon publisher.
Definition at line 63 of file IteratorsDemo.hpp.