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