catchrobo2022 / Mbed 2 deprecated catchrobo2022_mbed

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers DeleteTF.h Source File

DeleteTF.h

00001 #ifndef _ROS_SERVICE_DeleteTF_h
00002 #define _ROS_SERVICE_DeleteTF_h
00003 #include <stdint.h>
00004 #include <string.h>
00005 #include <stdlib.h>
00006 #include "ros/msg.h"
00007 #include "std_msgs/Header.h"
00008 
00009 namespace dynamic_tf_publisher
00010 {
00011 
00012 static const char DELETETF[] = "dynamic_tf_publisher/DeleteTF";
00013 
00014   class DeleteTFRequest : public ros::Msg
00015   {
00016     public:
00017       typedef std_msgs::Header _header_type;
00018       _header_type header;
00019 
00020     DeleteTFRequest():
00021       header()
00022     {
00023     }
00024 
00025     virtual int serialize(unsigned char *outbuffer) const
00026     {
00027       int offset = 0;
00028       offset += this->header.serialize(outbuffer + offset);
00029       return offset;
00030     }
00031 
00032     virtual int deserialize(unsigned char *inbuffer)
00033     {
00034       int offset = 0;
00035       offset += this->header.deserialize(inbuffer + offset);
00036      return offset;
00037     }
00038 
00039     virtual const char * getType(){ return DELETETF; };
00040     virtual const char * getMD5(){ return "d7be0bb39af8fb9129d5a76e6b63a290"; };
00041 
00042   };
00043 
00044   class DeleteTFResponse : public ros::Msg
00045   {
00046     public:
00047 
00048     DeleteTFResponse()
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     virtual const char * getType(){ return DELETETF; };
00065     virtual const char * getMD5(){ return "d41d8cd98f00b204e9800998ecf8427e"; };
00066 
00067   };
00068 
00069   class DeleteTF {
00070     public:
00071     typedef DeleteTFRequest Request;
00072     typedef DeleteTFResponse Response;
00073   };
00074 
00075 }
00076 #endif