SetComplianceMargin.h
Go to the documentation of this file.
00001 #ifndef _ROS_SERVICE_SetComplianceMargin_h
00002 #define _ROS_SERVICE_SetComplianceMargin_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 SETCOMPLIANCEMARGIN[] = "dynamixel_controllers/SetComplianceMargin";
00012 
00013   class SetComplianceMarginRequest : public ros::Msg
00014   {
00015     public:
00016       uint8_t margin;
00017 
00018     virtual int serialize(unsigned char *outbuffer) const
00019     {
00020       int offset = 0;
00021       *(outbuffer + offset + 0) = (this->margin >> (8 * 0)) & 0xFF;
00022       offset += sizeof(this->margin);
00023       return offset;
00024     }
00025 
00026     virtual int deserialize(unsigned char *inbuffer)
00027     {
00028       int offset = 0;
00029       this->margin =  ((uint8_t) (*(inbuffer + offset)));
00030       offset += sizeof(this->margin);
00031      return offset;
00032     }
00033 
00034     const char * getType(){ return SETCOMPLIANCEMARGIN; };
00035     const char * getMD5(){ return "daacbf1c0642fe923f2dfb9217a97b81"; };
00036 
00037   };
00038 
00039   class SetComplianceMarginResponse : 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 SETCOMPLIANCEMARGIN; };
00056     const char * getMD5(){ return "d41d8cd98f00b204e9800998ecf8427e"; };
00057 
00058   };
00059 
00060   class SetComplianceMargin {
00061     public:
00062     typedef SetComplianceMarginRequest Request;
00063     typedef SetComplianceMarginResponse Response;
00064   };
00065 
00066 }
00067 #endif


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