Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
UpdateOffset.h
00001 #ifndef _ROS_SERVICE_UpdateOffset_h 00002 #define _ROS_SERVICE_UpdateOffset_h 00003 #include <stdint.h> 00004 #include <string.h> 00005 #include <stdlib.h> 00006 #include "ros/msg.h" 00007 #include "geometry_msgs/TransformStamped.h" 00008 00009 namespace jsk_recognition_msgs 00010 { 00011 00012 static const char UPDATEOFFSET[] = "jsk_recognition_msgs/UpdateOffset"; 00013 00014 class UpdateOffsetRequest : public ros::Msg 00015 { 00016 public: 00017 typedef geometry_msgs::TransformStamped _transformation_type; 00018 _transformation_type transformation; 00019 00020 UpdateOffsetRequest(): 00021 transformation() 00022 { 00023 } 00024 00025 virtual int serialize(unsigned char *outbuffer) const 00026 { 00027 int offset = 0; 00028 offset += this->transformation.serialize(outbuffer + offset); 00029 return offset; 00030 } 00031 00032 virtual int deserialize(unsigned char *inbuffer) 00033 { 00034 int offset = 0; 00035 offset += this->transformation.deserialize(inbuffer + offset); 00036 return offset; 00037 } 00038 00039 virtual const char * getType(){ return UPDATEOFFSET; }; 00040 virtual const char * getMD5(){ return "72c98a75ad1f2a3dcf256e7c072420a2"; }; 00041 00042 }; 00043 00044 class UpdateOffsetResponse : public ros::Msg 00045 { 00046 public: 00047 00048 UpdateOffsetResponse() 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 UPDATEOFFSET; }; 00065 virtual const char * getMD5(){ return "d41d8cd98f00b204e9800998ecf8427e"; }; 00066 00067 }; 00068 00069 class UpdateOffset { 00070 public: 00071 typedef UpdateOffsetRequest Request; 00072 typedef UpdateOffsetResponse Response; 00073 }; 00074 00075 } 00076 #endif
Generated on Mon Sep 26 2022 13:47:04 by
