catchrobo2022 / Mbed 2 deprecated catchrobo2022_mbed

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers GetMotionPlan.h Source File

GetMotionPlan.h

00001 #ifndef _ROS_SERVICE_GetMotionPlan_h
00002 #define _ROS_SERVICE_GetMotionPlan_h
00003 #include <stdint.h>
00004 #include <string.h>
00005 #include <stdlib.h>
00006 #include "ros/msg.h"
00007 #include "moveit_msgs/MotionPlanRequest.h"
00008 #include "moveit_msgs/MotionPlanResponse.h"
00009 
00010 namespace moveit_msgs
00011 {
00012 
00013 static const char GETMOTIONPLAN[] = "moveit_msgs/GetMotionPlan";
00014 
00015   class GetMotionPlanRequest : public ros::Msg
00016   {
00017     public:
00018       typedef moveit_msgs::MotionPlanRequest _motion_plan_request_type;
00019       _motion_plan_request_type motion_plan_request;
00020 
00021     GetMotionPlanRequest():
00022       motion_plan_request()
00023     {
00024     }
00025 
00026     virtual int serialize(unsigned char *outbuffer) const
00027     {
00028       int offset = 0;
00029       offset += this->motion_plan_request.serialize(outbuffer + offset);
00030       return offset;
00031     }
00032 
00033     virtual int deserialize(unsigned char *inbuffer)
00034     {
00035       int offset = 0;
00036       offset += this->motion_plan_request.deserialize(inbuffer + offset);
00037      return offset;
00038     }
00039 
00040     virtual const char * getType(){ return GETMOTIONPLAN; };
00041     virtual const char * getMD5(){ return "9dcb82c5daeb2ff8a7ab1a98b642871d"; };
00042 
00043   };
00044 
00045   class GetMotionPlanResponse : public ros::Msg
00046   {
00047     public:
00048       typedef moveit_msgs::MotionPlanResponse _motion_plan_response_type;
00049       _motion_plan_response_type motion_plan_response;
00050 
00051     GetMotionPlanResponse():
00052       motion_plan_response()
00053     {
00054     }
00055 
00056     virtual int serialize(unsigned char *outbuffer) const
00057     {
00058       int offset = 0;
00059       offset += this->motion_plan_response.serialize(outbuffer + offset);
00060       return offset;
00061     }
00062 
00063     virtual int deserialize(unsigned char *inbuffer)
00064     {
00065       int offset = 0;
00066       offset += this->motion_plan_response.deserialize(inbuffer + offset);
00067      return offset;
00068     }
00069 
00070     virtual const char * getType(){ return GETMOTIONPLAN; };
00071     virtual const char * getMD5(){ return "37fe7e8f0d4dfa55ccfa53d63c86ae15"; };
00072 
00073   };
00074 
00075   class GetMotionPlan {
00076     public:
00077     typedef GetMotionPlanRequest Request;
00078     typedef GetMotionPlanResponse Response;
00079   };
00080 
00081 }
00082 #endif