catchrobo2022 / Mbed 2 deprecated catchrobo2022_mbed

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers GetPlanningScene.h Source File

GetPlanningScene.h

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       typedef moveit_msgs::PlanningSceneComponents _components_type;
00019       _components_type components;
00020 
00021     GetPlanningSceneRequest():
00022       components()
00023     {
00024     }
00025 
00026     virtual int serialize(unsigned char *outbuffer) const
00027     {
00028       int offset = 0;
00029       offset += this->components.serialize(outbuffer + offset);
00030       return offset;
00031     }
00032 
00033     virtual int deserialize(unsigned char *inbuffer)
00034     {
00035       int offset = 0;
00036       offset += this->components.deserialize(inbuffer + offset);
00037      return offset;
00038     }
00039 
00040     virtual const char * getType(){ return GETPLANNINGSCENE; };
00041     virtual const char * getMD5(){ return "d81da6c0e5e015646a4efe344f33d7dc"; };
00042 
00043   };
00044 
00045   class GetPlanningSceneResponse : public ros::Msg
00046   {
00047     public:
00048       typedef moveit_msgs::PlanningScene _scene_type;
00049       _scene_type scene;
00050 
00051     GetPlanningSceneResponse():
00052       scene()
00053     {
00054     }
00055 
00056     virtual int serialize(unsigned char *outbuffer) const
00057     {
00058       int offset = 0;
00059       offset += this->scene.serialize(outbuffer + offset);
00060       return offset;
00061     }
00062 
00063     virtual int deserialize(unsigned char *inbuffer)
00064     {
00065       int offset = 0;
00066       offset += this->scene.deserialize(inbuffer + offset);
00067      return offset;
00068     }
00069 
00070     virtual const char * getType(){ return GETPLANNINGSCENE; };
00071     virtual const char * getMD5(){ return "7bedc4871b1d0af6ec8b8996db347e7f"; };
00072 
00073   };
00074 
00075   class GetPlanningScene {
00076     public:
00077     typedef GetPlanningSceneRequest Request;
00078     typedef GetPlanningSceneResponse Response;
00079   };
00080 
00081 }
00082 #endif