Just changed OUTPUT_SIZE and INPUT_SIZE in ros/node_handle.h
Dependents: WRS2020_mecanum_node
GetPointMap.h
00001 #ifndef _ROS_SERVICE_GetPointMap_h 00002 #define _ROS_SERVICE_GetPointMap_h 00003 #include <stdint.h> 00004 #include <string.h> 00005 #include <stdlib.h> 00006 #include "ros/msg.h" 00007 #include "sensor_msgs/PointCloud2.h" 00008 00009 namespace map_msgs 00010 { 00011 00012 static const char GETPOINTMAP[] = "map_msgs/GetPointMap"; 00013 00014 class GetPointMapRequest : public ros::Msg 00015 { 00016 public: 00017 00018 GetPointMapRequest() 00019 { 00020 } 00021 00022 virtual int serialize(unsigned char *outbuffer) const 00023 { 00024 int offset = 0; 00025 return offset; 00026 } 00027 00028 virtual int deserialize(unsigned char *inbuffer) 00029 { 00030 int offset = 0; 00031 return offset; 00032 } 00033 00034 const char * getType(){ return GETPOINTMAP; }; 00035 const char * getMD5(){ return "d41d8cd98f00b204e9800998ecf8427e"; }; 00036 00037 }; 00038 00039 class GetPointMapResponse : public ros::Msg 00040 { 00041 public: 00042 typedef sensor_msgs::PointCloud2 _map_type; 00043 _map_type map; 00044 00045 GetPointMapResponse(): 00046 map() 00047 { 00048 } 00049 00050 virtual int serialize(unsigned char *outbuffer) const 00051 { 00052 int offset = 0; 00053 offset += this->map.serialize(outbuffer + offset); 00054 return offset; 00055 } 00056 00057 virtual int deserialize(unsigned char *inbuffer) 00058 { 00059 int offset = 0; 00060 offset += this->map.deserialize(inbuffer + offset); 00061 return offset; 00062 } 00063 00064 const char * getType(){ return GETPOINTMAP; }; 00065 const char * getMD5(){ return "b84fbb39505086eb6a62d933c75cb7b4"; }; 00066 00067 }; 00068 00069 class GetPointMap { 00070 public: 00071 typedef GetPointMapRequest Request; 00072 typedef GetPointMapResponse Response; 00073 }; 00074 00075 } 00076 #endif
Generated on Tue Jul 12 2022 18:49:18 by 1.7.2