$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-cob_object_perception/doc_stacks/2013-03-01_14-45-40.878742/cob_object_perception/cob_object_detection_msgs/msg/DetectObjectsResult.msg */ 00002 #ifndef COB_OBJECT_DETECTION_MSGS_MESSAGE_DETECTOBJECTSRESULT_H 00003 #define COB_OBJECT_DETECTION_MSGS_MESSAGE_DETECTOBJECTSRESULT_H 00004 #include <string> 00005 #include <vector> 00006 #include <map> 00007 #include <ostream> 00008 #include "ros/serialization.h" 00009 #include "ros/builtin_message_traits.h" 00010 #include "ros/message_operations.h" 00011 #include "ros/time.h" 00012 00013 #include "ros/macros.h" 00014 00015 #include "ros/assert.h" 00016 00017 #include "cob_object_detection_msgs/DetectionArray.h" 00018 00019 namespace cob_object_detection_msgs 00020 { 00021 template <class ContainerAllocator> 00022 struct DetectObjectsResult_ { 00023 typedef DetectObjectsResult_<ContainerAllocator> Type; 00024 00025 DetectObjectsResult_() 00026 : object_list() 00027 { 00028 } 00029 00030 DetectObjectsResult_(const ContainerAllocator& _alloc) 00031 : object_list(_alloc) 00032 { 00033 } 00034 00035 typedef ::cob_object_detection_msgs::DetectionArray_<ContainerAllocator> _object_list_type; 00036 ::cob_object_detection_msgs::DetectionArray_<ContainerAllocator> object_list; 00037 00038 00039 private: 00040 static const char* __s_getDataType_() { return "cob_object_detection_msgs/DetectObjectsResult"; } 00041 public: 00042 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00043 00044 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00045 00046 private: 00047 static const char* __s_getMD5Sum_() { return "6e46a64486bc23cca1c161460b4c92b6"; } 00048 public: 00049 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00050 00051 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00052 00053 private: 00054 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00055 # The result\n\ 00056 cob_object_detection_msgs/DetectionArray object_list\n\ 00057 \n\ 00058 ================================================================================\n\ 00059 MSG: cob_object_detection_msgs/DetectionArray\n\ 00060 Header header\n\ 00061 Detection[] detections\n\ 00062 \n\ 00063 ================================================================================\n\ 00064 MSG: std_msgs/Header\n\ 00065 # Standard metadata for higher-level stamped data types.\n\ 00066 # This is generally used to communicate timestamped data \n\ 00067 # in a particular coordinate frame.\n\ 00068 # \n\ 00069 # sequence ID: consecutively increasing ID \n\ 00070 uint32 seq\n\ 00071 #Two-integer timestamp that is expressed as:\n\ 00072 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00073 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00074 # time-handling sugar is provided by the client library\n\ 00075 time stamp\n\ 00076 #Frame this data is associated with\n\ 00077 # 0: no frame\n\ 00078 # 1: global frame\n\ 00079 string frame_id\n\ 00080 \n\ 00081 ================================================================================\n\ 00082 MSG: cob_object_detection_msgs/Detection\n\ 00083 Header header\n\ 00084 string label\n\ 00085 string detector\n\ 00086 float32 score\n\ 00087 Mask mask\n\ 00088 geometry_msgs/PoseStamped pose\n\ 00089 geometry_msgs/Point bounding_box_lwh\n\ 00090 \n\ 00091 ================================================================================\n\ 00092 MSG: cob_object_detection_msgs/Mask\n\ 00093 # this message is used to mark where an object is present in an image\n\ 00094 # this can be done either by a roi region on the image (less precise) or a mask (more precise)\n\ 00095 \n\ 00096 Rect roi\n\ 00097 \n\ 00098 # in the case when mask is used, 'roi' specifies the image region and 'mask'\n\ 00099 # (which should be of the same size) a binary mask in that region\n\ 00100 sensor_msgs/Image mask\n\ 00101 \n\ 00102 # in the case there is 3D data available, 'indices' are used to index the \n\ 00103 # part of the point cloud representing the object\n\ 00104 #pcl/PointIndices indices\n\ 00105 \n\ 00106 ================================================================================\n\ 00107 MSG: cob_object_detection_msgs/Rect\n\ 00108 int32 x\n\ 00109 int32 y\n\ 00110 int32 width\n\ 00111 int32 height\n\ 00112 \n\ 00113 ================================================================================\n\ 00114 MSG: sensor_msgs/Image\n\ 00115 # This message contains an uncompressed image\n\ 00116 # (0, 0) is at top-left corner of image\n\ 00117 #\n\ 00118 \n\ 00119 Header header # Header timestamp should be acquisition time of image\n\ 00120 # Header frame_id should be optical frame of camera\n\ 00121 # origin of frame should be optical center of cameara\n\ 00122 # +x should point to the right in the image\n\ 00123 # +y should point down in the image\n\ 00124 # +z should point into to plane of the image\n\ 00125 # If the frame_id here and the frame_id of the CameraInfo\n\ 00126 # message associated with the image conflict\n\ 00127 # the behavior is undefined\n\ 00128 \n\ 00129 uint32 height # image height, that is, number of rows\n\ 00130 uint32 width # image width, that is, number of columns\n\ 00131 \n\ 00132 # The legal values for encoding are in file src/image_encodings.cpp\n\ 00133 # If you want to standardize a new string format, join\n\ 00134 # ros-users@lists.sourceforge.net and send an email proposing a new encoding.\n\ 00135 \n\ 00136 string encoding # Encoding of pixels -- channel meaning, ordering, size\n\ 00137 # taken from the list of strings in src/image_encodings.cpp\n\ 00138 \n\ 00139 uint8 is_bigendian # is this data bigendian?\n\ 00140 uint32 step # Full row length in bytes\n\ 00141 uint8[] data # actual matrix data, size is (step * rows)\n\ 00142 \n\ 00143 ================================================================================\n\ 00144 MSG: geometry_msgs/PoseStamped\n\ 00145 # A Pose with reference coordinate frame and timestamp\n\ 00146 Header header\n\ 00147 Pose pose\n\ 00148 \n\ 00149 ================================================================================\n\ 00150 MSG: geometry_msgs/Pose\n\ 00151 # A representation of pose in free space, composed of postion and orientation. \n\ 00152 Point position\n\ 00153 Quaternion orientation\n\ 00154 \n\ 00155 ================================================================================\n\ 00156 MSG: geometry_msgs/Point\n\ 00157 # This contains the position of a point in free space\n\ 00158 float64 x\n\ 00159 float64 y\n\ 00160 float64 z\n\ 00161 \n\ 00162 ================================================================================\n\ 00163 MSG: geometry_msgs/Quaternion\n\ 00164 # This represents an orientation in free space in quaternion form.\n\ 00165 \n\ 00166 float64 x\n\ 00167 float64 y\n\ 00168 float64 z\n\ 00169 float64 w\n\ 00170 \n\ 00171 "; } 00172 public: 00173 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00174 00175 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00176 00177 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00178 { 00179 ros::serialization::OStream stream(write_ptr, 1000000000); 00180 ros::serialization::serialize(stream, object_list); 00181 return stream.getData(); 00182 } 00183 00184 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00185 { 00186 ros::serialization::IStream stream(read_ptr, 1000000000); 00187 ros::serialization::deserialize(stream, object_list); 00188 return stream.getData(); 00189 } 00190 00191 ROS_DEPRECATED virtual uint32_t serializationLength() const 00192 { 00193 uint32_t size = 0; 00194 size += ros::serialization::serializationLength(object_list); 00195 return size; 00196 } 00197 00198 typedef boost::shared_ptr< ::cob_object_detection_msgs::DetectObjectsResult_<ContainerAllocator> > Ptr; 00199 typedef boost::shared_ptr< ::cob_object_detection_msgs::DetectObjectsResult_<ContainerAllocator> const> ConstPtr; 00200 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00201 }; // struct DetectObjectsResult 00202 typedef ::cob_object_detection_msgs::DetectObjectsResult_<std::allocator<void> > DetectObjectsResult; 00203 00204 typedef boost::shared_ptr< ::cob_object_detection_msgs::DetectObjectsResult> DetectObjectsResultPtr; 00205 typedef boost::shared_ptr< ::cob_object_detection_msgs::DetectObjectsResult const> DetectObjectsResultConstPtr; 00206 00207 00208 template<typename ContainerAllocator> 00209 std::ostream& operator<<(std::ostream& s, const ::cob_object_detection_msgs::DetectObjectsResult_<ContainerAllocator> & v) 00210 { 00211 ros::message_operations::Printer< ::cob_object_detection_msgs::DetectObjectsResult_<ContainerAllocator> >::stream(s, "", v); 00212 return s;} 00213 00214 } // namespace cob_object_detection_msgs 00215 00216 namespace ros 00217 { 00218 namespace message_traits 00219 { 00220 template<class ContainerAllocator> struct IsMessage< ::cob_object_detection_msgs::DetectObjectsResult_<ContainerAllocator> > : public TrueType {}; 00221 template<class ContainerAllocator> struct IsMessage< ::cob_object_detection_msgs::DetectObjectsResult_<ContainerAllocator> const> : public TrueType {}; 00222 template<class ContainerAllocator> 00223 struct MD5Sum< ::cob_object_detection_msgs::DetectObjectsResult_<ContainerAllocator> > { 00224 static const char* value() 00225 { 00226 return "6e46a64486bc23cca1c161460b4c92b6"; 00227 } 00228 00229 static const char* value(const ::cob_object_detection_msgs::DetectObjectsResult_<ContainerAllocator> &) { return value(); } 00230 static const uint64_t static_value1 = 0x6e46a64486bc23ccULL; 00231 static const uint64_t static_value2 = 0xa1c161460b4c92b6ULL; 00232 }; 00233 00234 template<class ContainerAllocator> 00235 struct DataType< ::cob_object_detection_msgs::DetectObjectsResult_<ContainerAllocator> > { 00236 static const char* value() 00237 { 00238 return "cob_object_detection_msgs/DetectObjectsResult"; 00239 } 00240 00241 static const char* value(const ::cob_object_detection_msgs::DetectObjectsResult_<ContainerAllocator> &) { return value(); } 00242 }; 00243 00244 template<class ContainerAllocator> 00245 struct Definition< ::cob_object_detection_msgs::DetectObjectsResult_<ContainerAllocator> > { 00246 static const char* value() 00247 { 00248 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00249 # The result\n\ 00250 cob_object_detection_msgs/DetectionArray object_list\n\ 00251 \n\ 00252 ================================================================================\n\ 00253 MSG: cob_object_detection_msgs/DetectionArray\n\ 00254 Header header\n\ 00255 Detection[] detections\n\ 00256 \n\ 00257 ================================================================================\n\ 00258 MSG: std_msgs/Header\n\ 00259 # Standard metadata for higher-level stamped data types.\n\ 00260 # This is generally used to communicate timestamped data \n\ 00261 # in a particular coordinate frame.\n\ 00262 # \n\ 00263 # sequence ID: consecutively increasing ID \n\ 00264 uint32 seq\n\ 00265 #Two-integer timestamp that is expressed as:\n\ 00266 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00267 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00268 # time-handling sugar is provided by the client library\n\ 00269 time stamp\n\ 00270 #Frame this data is associated with\n\ 00271 # 0: no frame\n\ 00272 # 1: global frame\n\ 00273 string frame_id\n\ 00274 \n\ 00275 ================================================================================\n\ 00276 MSG: cob_object_detection_msgs/Detection\n\ 00277 Header header\n\ 00278 string label\n\ 00279 string detector\n\ 00280 float32 score\n\ 00281 Mask mask\n\ 00282 geometry_msgs/PoseStamped pose\n\ 00283 geometry_msgs/Point bounding_box_lwh\n\ 00284 \n\ 00285 ================================================================================\n\ 00286 MSG: cob_object_detection_msgs/Mask\n\ 00287 # this message is used to mark where an object is present in an image\n\ 00288 # this can be done either by a roi region on the image (less precise) or a mask (more precise)\n\ 00289 \n\ 00290 Rect roi\n\ 00291 \n\ 00292 # in the case when mask is used, 'roi' specifies the image region and 'mask'\n\ 00293 # (which should be of the same size) a binary mask in that region\n\ 00294 sensor_msgs/Image mask\n\ 00295 \n\ 00296 # in the case there is 3D data available, 'indices' are used to index the \n\ 00297 # part of the point cloud representing the object\n\ 00298 #pcl/PointIndices indices\n\ 00299 \n\ 00300 ================================================================================\n\ 00301 MSG: cob_object_detection_msgs/Rect\n\ 00302 int32 x\n\ 00303 int32 y\n\ 00304 int32 width\n\ 00305 int32 height\n\ 00306 \n\ 00307 ================================================================================\n\ 00308 MSG: sensor_msgs/Image\n\ 00309 # This message contains an uncompressed image\n\ 00310 # (0, 0) is at top-left corner of image\n\ 00311 #\n\ 00312 \n\ 00313 Header header # Header timestamp should be acquisition time of image\n\ 00314 # Header frame_id should be optical frame of camera\n\ 00315 # origin of frame should be optical center of cameara\n\ 00316 # +x should point to the right in the image\n\ 00317 # +y should point down in the image\n\ 00318 # +z should point into to plane of the image\n\ 00319 # If the frame_id here and the frame_id of the CameraInfo\n\ 00320 # message associated with the image conflict\n\ 00321 # the behavior is undefined\n\ 00322 \n\ 00323 uint32 height # image height, that is, number of rows\n\ 00324 uint32 width # image width, that is, number of columns\n\ 00325 \n\ 00326 # The legal values for encoding are in file src/image_encodings.cpp\n\ 00327 # If you want to standardize a new string format, join\n\ 00328 # ros-users@lists.sourceforge.net and send an email proposing a new encoding.\n\ 00329 \n\ 00330 string encoding # Encoding of pixels -- channel meaning, ordering, size\n\ 00331 # taken from the list of strings in src/image_encodings.cpp\n\ 00332 \n\ 00333 uint8 is_bigendian # is this data bigendian?\n\ 00334 uint32 step # Full row length in bytes\n\ 00335 uint8[] data # actual matrix data, size is (step * rows)\n\ 00336 \n\ 00337 ================================================================================\n\ 00338 MSG: geometry_msgs/PoseStamped\n\ 00339 # A Pose with reference coordinate frame and timestamp\n\ 00340 Header header\n\ 00341 Pose pose\n\ 00342 \n\ 00343 ================================================================================\n\ 00344 MSG: geometry_msgs/Pose\n\ 00345 # A representation of pose in free space, composed of postion and orientation. \n\ 00346 Point position\n\ 00347 Quaternion orientation\n\ 00348 \n\ 00349 ================================================================================\n\ 00350 MSG: geometry_msgs/Point\n\ 00351 # This contains the position of a point in free space\n\ 00352 float64 x\n\ 00353 float64 y\n\ 00354 float64 z\n\ 00355 \n\ 00356 ================================================================================\n\ 00357 MSG: geometry_msgs/Quaternion\n\ 00358 # This represents an orientation in free space in quaternion form.\n\ 00359 \n\ 00360 float64 x\n\ 00361 float64 y\n\ 00362 float64 z\n\ 00363 float64 w\n\ 00364 \n\ 00365 "; 00366 } 00367 00368 static const char* value(const ::cob_object_detection_msgs::DetectObjectsResult_<ContainerAllocator> &) { return value(); } 00369 }; 00370 00371 } // namespace message_traits 00372 } // namespace ros 00373 00374 namespace ros 00375 { 00376 namespace serialization 00377 { 00378 00379 template<class ContainerAllocator> struct Serializer< ::cob_object_detection_msgs::DetectObjectsResult_<ContainerAllocator> > 00380 { 00381 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00382 { 00383 stream.next(m.object_list); 00384 } 00385 00386 ROS_DECLARE_ALLINONE_SERIALIZER; 00387 }; // struct DetectObjectsResult_ 00388 } // namespace serialization 00389 } // namespace ros 00390 00391 namespace ros 00392 { 00393 namespace message_operations 00394 { 00395 00396 template<class ContainerAllocator> 00397 struct Printer< ::cob_object_detection_msgs::DetectObjectsResult_<ContainerAllocator> > 00398 { 00399 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::cob_object_detection_msgs::DetectObjectsResult_<ContainerAllocator> & v) 00400 { 00401 s << indent << "object_list: "; 00402 s << std::endl; 00403 Printer< ::cob_object_detection_msgs::DetectionArray_<ContainerAllocator> >::stream(s, indent + " ", v.object_list); 00404 } 00405 }; 00406 00407 00408 } // namespace message_operations 00409 } // namespace ros 00410 00411 #endif // COB_OBJECT_DETECTION_MSGS_MESSAGE_DETECTOBJECTSRESULT_H 00412