00001 #ifndef _ROS_octomap_msgs_OctomapWithPose_h 00002 #define _ROS_octomap_msgs_OctomapWithPose_h 00003 00004 #include <stdint.h> 00005 #include <string.h> 00006 #include <stdlib.h> 00007 #include "ros/msg.h" 00008 #include "std_msgs/Header.h" 00009 #include "geometry_msgs/Pose.h" 00010 #include "octomap_msgs/Octomap.h" 00011 00012 namespace octomap_msgs 00013 { 00014 00015 class OctomapWithPose : public ros::Msg 00016 { 00017 public: 00018 std_msgs::Header header; 00019 geometry_msgs::Pose origin; 00020 octomap_msgs::Octomap octomap; 00021 00022 virtual int serialize(unsigned char *outbuffer) const 00023 { 00024 int offset = 0; 00025 offset += this->header.serialize(outbuffer + offset); 00026 offset += this->origin.serialize(outbuffer + offset); 00027 offset += this->octomap.serialize(outbuffer + offset); 00028 return offset; 00029 } 00030 00031 virtual int deserialize(unsigned char *inbuffer) 00032 { 00033 int offset = 0; 00034 offset += this->header.deserialize(inbuffer + offset); 00035 offset += this->origin.deserialize(inbuffer + offset); 00036 offset += this->octomap.deserialize(inbuffer + offset); 00037 return offset; 00038 } 00039 00040 const char * getType(){ return "octomap_msgs/OctomapWithPose"; }; 00041 const char * getMD5(){ return "20b380aca6a508a657e95526cddaf618"; }; 00042 00043 }; 00044 00045 } 00046 #endif