Working towards recieving twists

Dependencies:   BufferedSerial

Fork of ros_lib_kinetic by Gary Servin

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers SaveMap.h Source File

SaveMap.h

00001 #ifndef _ROS_SERVICE_SaveMap_h
00002 #define _ROS_SERVICE_SaveMap_h
00003 #include <stdint.h>
00004 #include <string.h>
00005 #include <stdlib.h>
00006 #include "ros/msg.h"
00007 #include "std_msgs/String.h"
00008 
00009 namespace map_msgs
00010 {
00011 
00012 static const char SAVEMAP[] = "map_msgs/SaveMap";
00013 
00014   class SaveMapRequest : public ros::Msg
00015   {
00016     public:
00017       typedef std_msgs::String _filename_type;
00018       _filename_type filename;
00019 
00020     SaveMapRequest():
00021       filename()
00022     {
00023     }
00024 
00025     virtual int serialize(unsigned char *outbuffer) const
00026     {
00027       int offset = 0;
00028       offset += this->filename.serialize(outbuffer + offset);
00029       return offset;
00030     }
00031 
00032     virtual int deserialize(unsigned char *inbuffer)
00033     {
00034       int offset = 0;
00035       offset += this->filename.deserialize(inbuffer + offset);
00036      return offset;
00037     }
00038 
00039     const char * getType(){ return SAVEMAP; };
00040     const char * getMD5(){ return "716e25f9d9dc76ceba197f93cbf05dc7"; };
00041 
00042   };
00043 
00044   class SaveMapResponse : public ros::Msg
00045   {
00046     public:
00047 
00048     SaveMapResponse()
00049     {
00050     }
00051 
00052     virtual int serialize(unsigned char *outbuffer) const
00053     {
00054       int offset = 0;
00055       return offset;
00056     }
00057 
00058     virtual int deserialize(unsigned char *inbuffer)
00059     {
00060       int offset = 0;
00061      return offset;
00062     }
00063 
00064     const char * getType(){ return SAVEMAP; };
00065     const char * getMD5(){ return "d41d8cd98f00b204e9800998ecf8427e"; };
00066 
00067   };
00068 
00069   class SaveMap {
00070     public:
00071     typedef SaveMapRequest Request;
00072     typedef SaveMapResponse Response;
00073   };
00074 
00075 }
00076 #endif