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
ImageFeature1D.h
00001 #ifndef _ROS_posedetection_msgs_ImageFeature1D_h 00002 #define _ROS_posedetection_msgs_ImageFeature1D_h 00003 00004 #include <stdint.h> 00005 #include <string.h> 00006 #include <stdlib.h> 00007 #include "ros/msg.h" 00008 #include "sensor_msgs/Image.h" 00009 #include "sensor_msgs/CameraInfo.h" 00010 #include "posedetection_msgs/Feature1D.h" 00011 00012 namespace posedetection_msgs 00013 { 00014 00015 class ImageFeature1D : public ros::Msg 00016 { 00017 public: 00018 typedef sensor_msgs::Image _image_type; 00019 _image_type image; 00020 typedef sensor_msgs::CameraInfo _info_type; 00021 _info_type info; 00022 typedef posedetection_msgs::Feature1D _features_type; 00023 _features_type features; 00024 00025 ImageFeature1D(): 00026 image(), 00027 info(), 00028 features() 00029 { 00030 } 00031 00032 virtual int serialize(unsigned char *outbuffer) const 00033 { 00034 int offset = 0; 00035 offset += this->image.serialize(outbuffer + offset); 00036 offset += this->info.serialize(outbuffer + offset); 00037 offset += this->features.serialize(outbuffer + offset); 00038 return offset; 00039 } 00040 00041 virtual int deserialize(unsigned char *inbuffer) 00042 { 00043 int offset = 0; 00044 offset += this->image.deserialize(inbuffer + offset); 00045 offset += this->info.deserialize(inbuffer + offset); 00046 offset += this->features.deserialize(inbuffer + offset); 00047 return offset; 00048 } 00049 00050 virtual const char * getType(){ return "posedetection_msgs/ImageFeature1D"; }; 00051 virtual const char * getMD5(){ return "bfd3a262e6342c55b7e11fccf00d8b2c"; }; 00052 00053 }; 00054 00055 } 00056 #endif
Generated on Mon Sep 26 2022 13:47:01 by
