#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.
ros::Publisher grid_map_demos::IteratorsDemo::gridMapPublisher_ [private] |
Grid map publisher.
Definition at line 60 of file IteratorsDemo.hpp.
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.