SetCompliancePunch.h
Go to the documentation of this file.
00001 #ifndef _ROS_SERVICE_SetCompliancePunch_h
00002 #define _ROS_SERVICE_SetCompliancePunch_h
00003 #include <stdint.h>
00004 #include <string.h>
00005 #include <stdlib.h>
00006 #include "ros/msg.h"
00007 
00008 namespace dynamixel_controllers
00009 {
00010 
00011 static const char SETCOMPLIANCEPUNCH[] = "dynamixel_controllers/SetCompliancePunch";
00012 
00013   class SetCompliancePunchRequest : public ros::Msg
00014   {
00015     public:
00016       uint8_t punch;
00017 
00018     virtual int serialize(unsigned char *outbuffer) const
00019     {
00020       int offset = 0;
00021       *(outbuffer + offset + 0) = (this->punch >> (8 * 0)) & 0xFF;
00022       offset += sizeof(this->punch);
00023       return offset;
00024     }
00025 
00026     virtual int deserialize(unsigned char *inbuffer)
00027     {
00028       int offset = 0;
00029       this->punch =  ((uint8_t) (*(inbuffer + offset)));
00030       offset += sizeof(this->punch);
00031      return offset;
00032     }
00033 
00034     const char * getType(){ return SETCOMPLIANCEPUNCH; };
00035     const char * getMD5(){ return "6f1db06d3f143058321215213d1c3bef"; };
00036 
00037   };
00038 
00039   class SetCompliancePunchResponse : public ros::Msg
00040   {
00041     public:
00042 
00043     virtual int serialize(unsigned char *outbuffer) const
00044     {
00045       int offset = 0;
00046       return offset;
00047     }
00048 
00049     virtual int deserialize(unsigned char *inbuffer)
00050     {
00051       int offset = 0;
00052      return offset;
00053     }
00054 
00055     const char * getType(){ return SETCOMPLIANCEPUNCH; };
00056     const char * getMD5(){ return "d41d8cd98f00b204e9800998ecf8427e"; };
00057 
00058   };
00059 
00060   class SetCompliancePunch {
00061     public:
00062     typedef SetCompliancePunchRequest Request;
00063     typedef SetCompliancePunchResponse Response;
00064   };
00065 
00066 }
00067 #endif


ric_mc
Author(s): RoboTiCan
autogenerated on Fri May 20 2016 03:48:56