hector_elevation_mapping.h
Go to the documentation of this file.
1 #include "pcl_ros/point_cloud.h"
2 #include "pcl/point_types.h"
3 
4 #include <pcl_ros/transforms.h>
5 
6 #include <tf/transform_listener.h>
7 
8 #include <std_msgs/String.h>
10 
11 #include <hector_elevation_msgs/ElevationMapMetaData.h>
12 #include <hector_elevation_msgs/ElevationGrid.h>
13 
14 #include <nav_msgs/OccupancyGrid.h>
15 #include <nav_msgs/MapMetaData.h>
16 
18 
19 #include <geometry_msgs/PoseWithCovarianceStamped.h>
20 
21 #include <nodelet/nodelet.h>
22 
24 {
25 
27 
28 public:
30  virtual void onInit();
31 
34 
36 
39  void cloudCallback(const sensor_msgs::PointCloud2ConstPtr& pointcloud2_sensor_msg);
40 
42 
45  void sysMessageCallback(const std_msgs::String& string);
46 
47 
49 
52  void updateParamsCallback(const nav_msgs::MapMetaData& map_meta_data);
53 
54 
56 
59  void timerCallback(const ros::TimerEvent& event);
60 
61 private:
63 
67 
71 
76 
78 
80 
81  hector_elevation_msgs::ElevationMapMetaData elevation_map_meta;
82  hector_elevation_msgs::ElevationGrid local_elevation_map;
83  hector_elevation_msgs::ElevationGrid global_elevation_map;
84  std::vector<double> cell_variance;
85 
86  nav_msgs::MapMetaData map_meta;
87 
90 
93 
97 
100 
101 };
102 }
virtual void onInit()
Default plugin constructor.
hector_elevation_msgs::ElevationGrid global_elevation_map
void updateParamsCallback(const nav_msgs::MapMetaData &map_meta_data)
updateMapParamsCallback updates the map meta information if someone has changed it ...
HectorMapTools::CoordinateTransformer< float > world_map_transform
hector_elevation_msgs::ElevationGrid local_elevation_map
void timerCallback(const ros::TimerEvent &event)
timerCallback publishes periodically a height pose update
void sysMessageCallback(const std_msgs::String &string)
sysMessageCallback This function listen to system messages
void cloudCallback(const sensor_msgs::PointCloud2ConstPtr &pointcloud2_sensor_msg)
cloudCallback get called if a new 3D point cloud is avaible
hector_elevation_msgs::ElevationMapMetaData elevation_map_meta


hector_elevation_mapping
Author(s):
autogenerated on Mon Jun 10 2019 13:34:35