catchrobo2022 / Mbed 2 deprecated catchrobo2022_mbed

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers SnapFootstep.h Source File

SnapFootstep.h

00001 #ifndef _ROS_SERVICE_SnapFootstep_h
00002 #define _ROS_SERVICE_SnapFootstep_h
00003 #include <stdint.h>
00004 #include <string.h>
00005 #include <stdlib.h>
00006 #include "ros/msg.h"
00007 #include "jsk_footstep_msgs/FootstepArray.h"
00008 
00009 namespace jsk_recognition_msgs
00010 {
00011 
00012 static const char SNAPFOOTSTEP[] = "jsk_recognition_msgs/SnapFootstep";
00013 
00014   class SnapFootstepRequest : public ros::Msg
00015   {
00016     public:
00017       typedef jsk_footstep_msgs::FootstepArray _input_type;
00018       _input_type input;
00019 
00020     SnapFootstepRequest():
00021       input()
00022     {
00023     }
00024 
00025     virtual int serialize(unsigned char *outbuffer) const
00026     {
00027       int offset = 0;
00028       offset += this->input.serialize(outbuffer + offset);
00029       return offset;
00030     }
00031 
00032     virtual int deserialize(unsigned char *inbuffer)
00033     {
00034       int offset = 0;
00035       offset += this->input.deserialize(inbuffer + offset);
00036      return offset;
00037     }
00038 
00039     virtual const char * getType(){ return SNAPFOOTSTEP; };
00040     virtual const char * getMD5(){ return "acbed27d6a2c527657315248d9480de2"; };
00041 
00042   };
00043 
00044   class SnapFootstepResponse : public ros::Msg
00045   {
00046     public:
00047       typedef jsk_footstep_msgs::FootstepArray _output_type;
00048       _output_type output;
00049 
00050     SnapFootstepResponse():
00051       output()
00052     {
00053     }
00054 
00055     virtual int serialize(unsigned char *outbuffer) const
00056     {
00057       int offset = 0;
00058       offset += this->output.serialize(outbuffer + offset);
00059       return offset;
00060     }
00061 
00062     virtual int deserialize(unsigned char *inbuffer)
00063     {
00064       int offset = 0;
00065       offset += this->output.deserialize(inbuffer + offset);
00066      return offset;
00067     }
00068 
00069     virtual const char * getType(){ return SNAPFOOTSTEP; };
00070     virtual const char * getMD5(){ return "626bcd752f55cb0f7d967a8b0b14cc89"; };
00071 
00072   };
00073 
00074   class SnapFootstep {
00075     public:
00076     typedef SnapFootstepRequest Request;
00077     typedef SnapFootstepResponse Response;
00078   };
00079 
00080 }
00081 #endif