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
CallSnapIt.h
00001 #ifndef _ROS_SERVICE_CallSnapIt_h 00002 #define _ROS_SERVICE_CallSnapIt_h 00003 #include <stdint.h> 00004 #include <string.h> 00005 #include <stdlib.h> 00006 #include "ros/msg.h" 00007 #include "jsk_recognition_msgs/SnapItRequest.h" 00008 #include "geometry_msgs/Pose.h" 00009 00010 namespace jsk_recognition_msgs 00011 { 00012 00013 static const char CALLSNAPIT[] = "jsk_recognition_msgs/CallSnapIt"; 00014 00015 class CallSnapItRequest : public ros::Msg 00016 { 00017 public: 00018 typedef jsk_recognition_msgs::SnapItRequest _request_type; 00019 _request_type request; 00020 00021 CallSnapItRequest(): 00022 request() 00023 { 00024 } 00025 00026 virtual int serialize(unsigned char *outbuffer) const 00027 { 00028 int offset = 0; 00029 offset += this->request.serialize(outbuffer + offset); 00030 return offset; 00031 } 00032 00033 virtual int deserialize(unsigned char *inbuffer) 00034 { 00035 int offset = 0; 00036 offset += this->request.deserialize(inbuffer + offset); 00037 return offset; 00038 } 00039 00040 virtual const char * getType(){ return CALLSNAPIT; }; 00041 virtual const char * getMD5(){ return "5bf1ef2f060949ff03f39c08eb7bc6de"; }; 00042 00043 }; 00044 00045 class CallSnapItResponse : public ros::Msg 00046 { 00047 public: 00048 typedef geometry_msgs::Pose _transformation_type; 00049 _transformation_type transformation; 00050 00051 CallSnapItResponse(): 00052 transformation() 00053 { 00054 } 00055 00056 virtual int serialize(unsigned char *outbuffer) const 00057 { 00058 int offset = 0; 00059 offset += this->transformation.serialize(outbuffer + offset); 00060 return offset; 00061 } 00062 00063 virtual int deserialize(unsigned char *inbuffer) 00064 { 00065 int offset = 0; 00066 offset += this->transformation.deserialize(inbuffer + offset); 00067 return offset; 00068 } 00069 00070 virtual const char * getType(){ return CALLSNAPIT; }; 00071 virtual const char * getMD5(){ return "d787e2767b5ea7b19a81c647df92a8de"; }; 00072 00073 }; 00074 00075 class CallSnapIt { 00076 public: 00077 typedef CallSnapItRequest Request; 00078 typedef CallSnapItResponse Response; 00079 }; 00080 00081 } 00082 #endif
Generated on Mon Sep 26 2022 13:47:00 by
