ROS Serial library for Mbed platforms for ROS Indigo Igloo. Check http://wiki.ros.org/rosserial_mbed/ for more information

Dependencies:   BufferedSerial

Dependents:   rosserial_mbed_hello_world_publisher rtos_base_control rosserial_mbed_F64MA ROS-RTOS ... more

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers GetPointMap.h Source File

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       sensor_msgs::PointCloud2 map;
00043 
00044     GetPointMapResponse():
00045       map()
00046     {
00047     }
00048 
00049     virtual int serialize(unsigned char *outbuffer) const
00050     {
00051       int offset = 0;
00052       offset += this->map.serialize(outbuffer + offset);
00053       return offset;
00054     }
00055 
00056     virtual int deserialize(unsigned char *inbuffer)
00057     {
00058       int offset = 0;
00059       offset += this->map.deserialize(inbuffer + offset);
00060      return offset;
00061     }
00062 
00063     const char * getType(){ return GETPOINTMAP; };
00064     const char * getMD5(){ return "b84fbb39505086eb6a62d933c75cb7b4"; };
00065 
00066   };
00067 
00068   class GetPointMap {
00069     public:
00070     typedef GetPointMapRequest Request;
00071     typedef GetPointMapResponse Response;
00072   };
00073 
00074 }
00075 #endif