IteratorsDemo.hpp
Go to the documentation of this file.
00001 /*
00002  * IteratorsDemo.hpp
00003  *
00004  *  Created on: Nov 4, 2014
00005  *      Author: Péter Fankhauser
00006  *       Institute: ETH Zurich, Autonomous Systems Lab
00007  *
00008  */
00009 
00010 #pragma once
00011 
00012 #include <grid_map_ros/grid_map_ros.hpp>
00013 
00014 // ROS
00015 #include <ros/ros.h>
00016 
00017 namespace grid_map_demos {
00018 
00022 class IteratorsDemo
00023 {
00024  public:
00025 
00030   IteratorsDemo(ros::NodeHandle& nodeHandle);
00031 
00035   virtual ~IteratorsDemo();
00036 
00040   void demoGridMapIterator();
00041   void demoSubmapIterator();
00042   void demoCircleIterator();
00043   void demoEllipseIterator();
00044   void demoSpiralIterator();
00045   void demoLineIterator();
00046   void demoPolygonIterator(const bool prepareForOtherDemos = false);
00047   void demoSlidingWindowIterator();
00048 
00052   void publish();
00053 
00054  private:
00055 
00057   ros::NodeHandle& nodeHandle_;
00058 
00060   ros::Publisher gridMapPublisher_;
00061 
00063   ros::Publisher polygonPublisher_;
00064 
00066   grid_map::GridMap map_;
00067 };
00068 
00069 } /* namespace */


grid_map_demos
Author(s): Péter Fankhauser
autogenerated on Mon Oct 9 2017 03:09:38