00001 #ifndef _ROS_SERVICE_GetOctomap_h 00002 #define _ROS_SERVICE_GetOctomap_h 00003 #include <stdint.h> 00004 #include <string.h> 00005 #include <stdlib.h> 00006 #include "ros/msg.h" 00007 #include "octomap_msgs/Octomap.h" 00008 00009 namespace octomap_msgs 00010 { 00011 00012 static const char GETOCTOMAP[] = "octomap_msgs/GetOctomap"; 00013 00014 class GetOctomapRequest : public ros::Msg 00015 { 00016 public: 00017 00018 virtual int serialize(unsigned char *outbuffer) const 00019 { 00020 int offset = 0; 00021 return offset; 00022 } 00023 00024 virtual int deserialize(unsigned char *inbuffer) 00025 { 00026 int offset = 0; 00027 return offset; 00028 } 00029 00030 const char * getType(){ return GETOCTOMAP; }; 00031 const char * getMD5(){ return "d41d8cd98f00b204e9800998ecf8427e"; }; 00032 00033 }; 00034 00035 class GetOctomapResponse : public ros::Msg 00036 { 00037 public: 00038 octomap_msgs::Octomap map; 00039 00040 virtual int serialize(unsigned char *outbuffer) const 00041 { 00042 int offset = 0; 00043 offset += this->map.serialize(outbuffer + offset); 00044 return offset; 00045 } 00046 00047 virtual int deserialize(unsigned char *inbuffer) 00048 { 00049 int offset = 0; 00050 offset += this->map.deserialize(inbuffer + offset); 00051 return offset; 00052 } 00053 00054 const char * getType(){ return GETOCTOMAP; }; 00055 const char * getMD5(){ return "be9d2869d24fe40d6bc21ac21f6bb2c5"; }; 00056 00057 }; 00058 00059 class GetOctomap { 00060 public: 00061 typedef GetOctomapRequest Request; 00062 typedef GetOctomapResponse Response; 00063 }; 00064 00065 } 00066 #endif