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