#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::NodeHandle & | nodeHandle_ |
ROS nodehandle. More... | |
ros::Publisher | polygonPublisher_ |
Polygon publisher. More... | |
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 |
Destructor.
Definition at line 46 of file IteratorsDemo.cpp.
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.
|
private |
Grid map publisher.
Definition at line 60 of file IteratorsDemo.hpp.
|
private |
Grid map data.
Definition at line 66 of file IteratorsDemo.hpp.
|
private |
ROS nodehandle.
Definition at line 57 of file IteratorsDemo.hpp.
|
private |
Polygon publisher.
Definition at line 63 of file IteratorsDemo.hpp.