catchrobo2022 mbed LPC1768 メインプログラム
Dependencies: mbed
GetObjectInformation.h
00001 #ifndef _ROS_SERVICE_GetObjectInformation_h 00002 #define _ROS_SERVICE_GetObjectInformation_h 00003 #include <stdint.h> 00004 #include <string.h> 00005 #include <stdlib.h> 00006 #include "ros/msg.h" 00007 #include "object_recognition_msgs/ObjectType.h" 00008 #include "object_recognition_msgs/ObjectInformation.h" 00009 00010 namespace object_recognition_msgs 00011 { 00012 00013 static const char GETOBJECTINFORMATION[] = "object_recognition_msgs/GetObjectInformation"; 00014 00015 class GetObjectInformationRequest : public ros::Msg 00016 { 00017 public: 00018 typedef object_recognition_msgs::ObjectType _type_type; 00019 _type_type type; 00020 00021 GetObjectInformationRequest(): 00022 type() 00023 { 00024 } 00025 00026 virtual int serialize(unsigned char *outbuffer) const 00027 { 00028 int offset = 0; 00029 offset += this->type.serialize(outbuffer + offset); 00030 return offset; 00031 } 00032 00033 virtual int deserialize(unsigned char *inbuffer) 00034 { 00035 int offset = 0; 00036 offset += this->type.deserialize(inbuffer + offset); 00037 return offset; 00038 } 00039 00040 virtual const char * getType(){ return GETOBJECTINFORMATION; }; 00041 virtual const char * getMD5(){ return "0d72b69e80da0fe473b0bdcdd7a28d4d"; }; 00042 00043 }; 00044 00045 class GetObjectInformationResponse : public ros::Msg 00046 { 00047 public: 00048 typedef object_recognition_msgs::ObjectInformation _information_type; 00049 _information_type information; 00050 00051 GetObjectInformationResponse(): 00052 information() 00053 { 00054 } 00055 00056 virtual int serialize(unsigned char *outbuffer) const 00057 { 00058 int offset = 0; 00059 offset += this->information.serialize(outbuffer + offset); 00060 return offset; 00061 } 00062 00063 virtual int deserialize(unsigned char *inbuffer) 00064 { 00065 int offset = 0; 00066 offset += this->information.deserialize(inbuffer + offset); 00067 return offset; 00068 } 00069 00070 virtual const char * getType(){ return GETOBJECTINFORMATION; }; 00071 virtual const char * getMD5(){ return "a62c5d1c41e250373b3e8e912a13a9cb"; }; 00072 00073 }; 00074 00075 class GetObjectInformation { 00076 public: 00077 typedef GetObjectInformationRequest Request; 00078 typedef GetObjectInformationResponse Response; 00079 }; 00080 00081 } 00082 #endif
Generated on Mon Sep 26 2022 13:47:00 by
1.7.2