$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-pal-ros-pkg/doc_stacks/2013-03-01_16-20-37.495693/perception_blort/blort_ros/srv/RecoveryCall.srv */ 00002 #ifndef BLORT_ROS_SERVICE_RECOVERYCALL_H 00003 #define BLORT_ROS_SERVICE_RECOVERYCALL_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 "ros/service_traits.h" 00018 00019 #include "sensor_msgs/Image.h" 00020 00021 00022 #include "geometry_msgs/Pose.h" 00023 00024 namespace blort_ros 00025 { 00026 template <class ContainerAllocator> 00027 struct RecoveryCallRequest_ { 00028 typedef RecoveryCallRequest_<ContainerAllocator> Type; 00029 00030 RecoveryCallRequest_() 00031 : Image() 00032 { 00033 } 00034 00035 RecoveryCallRequest_(const ContainerAllocator& _alloc) 00036 : Image(_alloc) 00037 { 00038 } 00039 00040 typedef ::sensor_msgs::Image_<ContainerAllocator> _Image_type; 00041 ::sensor_msgs::Image_<ContainerAllocator> Image; 00042 00043 00044 private: 00045 static const char* __s_getDataType_() { return "blort_ros/RecoveryCallRequest"; } 00046 public: 00047 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00048 00049 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00050 00051 private: 00052 static const char* __s_getMD5Sum_() { return "d8c981c42f573c72a3ae56e97b3577db"; } 00053 public: 00054 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00055 00056 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00057 00058 private: 00059 static const char* __s_getServerMD5Sum_() { return "69e8db3137edfcf2b5cce1855b31782b"; } 00060 public: 00061 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00062 00063 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00064 00065 private: 00066 static const char* __s_getMessageDefinition_() { return "sensor_msgs/Image Image\n\ 00067 \n\ 00068 ================================================================================\n\ 00069 MSG: sensor_msgs/Image\n\ 00070 # This message contains an uncompressed image\n\ 00071 # (0, 0) is at top-left corner of image\n\ 00072 #\n\ 00073 \n\ 00074 Header header # Header timestamp should be acquisition time of image\n\ 00075 # Header frame_id should be optical frame of camera\n\ 00076 # origin of frame should be optical center of cameara\n\ 00077 # +x should point to the right in the image\n\ 00078 # +y should point down in the image\n\ 00079 # +z should point into to plane of the image\n\ 00080 # If the frame_id here and the frame_id of the CameraInfo\n\ 00081 # message associated with the image conflict\n\ 00082 # the behavior is undefined\n\ 00083 \n\ 00084 uint32 height # image height, that is, number of rows\n\ 00085 uint32 width # image width, that is, number of columns\n\ 00086 \n\ 00087 # The legal values for encoding are in file src/image_encodings.cpp\n\ 00088 # If you want to standardize a new string format, join\n\ 00089 # ros-users@lists.sourceforge.net and send an email proposing a new encoding.\n\ 00090 \n\ 00091 string encoding # Encoding of pixels -- channel meaning, ordering, size\n\ 00092 # taken from the list of strings in src/image_encodings.cpp\n\ 00093 \n\ 00094 uint8 is_bigendian # is this data bigendian?\n\ 00095 uint32 step # Full row length in bytes\n\ 00096 uint8[] data # actual matrix data, size is (step * rows)\n\ 00097 \n\ 00098 ================================================================================\n\ 00099 MSG: std_msgs/Header\n\ 00100 # Standard metadata for higher-level stamped data types.\n\ 00101 # This is generally used to communicate timestamped data \n\ 00102 # in a particular coordinate frame.\n\ 00103 # \n\ 00104 # sequence ID: consecutively increasing ID \n\ 00105 uint32 seq\n\ 00106 #Two-integer timestamp that is expressed as:\n\ 00107 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00108 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00109 # time-handling sugar is provided by the client library\n\ 00110 time stamp\n\ 00111 #Frame this data is associated with\n\ 00112 # 0: no frame\n\ 00113 # 1: global frame\n\ 00114 string frame_id\n\ 00115 \n\ 00116 "; } 00117 public: 00118 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00119 00120 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00121 00122 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00123 { 00124 ros::serialization::OStream stream(write_ptr, 1000000000); 00125 ros::serialization::serialize(stream, Image); 00126 return stream.getData(); 00127 } 00128 00129 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00130 { 00131 ros::serialization::IStream stream(read_ptr, 1000000000); 00132 ros::serialization::deserialize(stream, Image); 00133 return stream.getData(); 00134 } 00135 00136 ROS_DEPRECATED virtual uint32_t serializationLength() const 00137 { 00138 uint32_t size = 0; 00139 size += ros::serialization::serializationLength(Image); 00140 return size; 00141 } 00142 00143 typedef boost::shared_ptr< ::blort_ros::RecoveryCallRequest_<ContainerAllocator> > Ptr; 00144 typedef boost::shared_ptr< ::blort_ros::RecoveryCallRequest_<ContainerAllocator> const> ConstPtr; 00145 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00146 }; // struct RecoveryCallRequest 00147 typedef ::blort_ros::RecoveryCallRequest_<std::allocator<void> > RecoveryCallRequest; 00148 00149 typedef boost::shared_ptr< ::blort_ros::RecoveryCallRequest> RecoveryCallRequestPtr; 00150 typedef boost::shared_ptr< ::blort_ros::RecoveryCallRequest const> RecoveryCallRequestConstPtr; 00151 00152 00153 template <class ContainerAllocator> 00154 struct RecoveryCallResponse_ { 00155 typedef RecoveryCallResponse_<ContainerAllocator> Type; 00156 00157 RecoveryCallResponse_() 00158 : Pose() 00159 { 00160 } 00161 00162 RecoveryCallResponse_(const ContainerAllocator& _alloc) 00163 : Pose(_alloc) 00164 { 00165 } 00166 00167 typedef ::geometry_msgs::Pose_<ContainerAllocator> _Pose_type; 00168 ::geometry_msgs::Pose_<ContainerAllocator> Pose; 00169 00170 00171 private: 00172 static const char* __s_getDataType_() { return "blort_ros/RecoveryCallResponse"; } 00173 public: 00174 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00175 00176 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00177 00178 private: 00179 static const char* __s_getMD5Sum_() { return "db774e2f8d3bbd66cc277b8a8ce62817"; } 00180 public: 00181 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00182 00183 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00184 00185 private: 00186 static const char* __s_getServerMD5Sum_() { return "69e8db3137edfcf2b5cce1855b31782b"; } 00187 public: 00188 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00189 00190 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00191 00192 private: 00193 static const char* __s_getMessageDefinition_() { return "geometry_msgs/Pose Pose\n\ 00194 \n\ 00195 \n\ 00196 ================================================================================\n\ 00197 MSG: geometry_msgs/Pose\n\ 00198 # A representation of pose in free space, composed of postion and orientation. \n\ 00199 Point position\n\ 00200 Quaternion orientation\n\ 00201 \n\ 00202 ================================================================================\n\ 00203 MSG: geometry_msgs/Point\n\ 00204 # This contains the position of a point in free space\n\ 00205 float64 x\n\ 00206 float64 y\n\ 00207 float64 z\n\ 00208 \n\ 00209 ================================================================================\n\ 00210 MSG: geometry_msgs/Quaternion\n\ 00211 # This represents an orientation in free space in quaternion form.\n\ 00212 \n\ 00213 float64 x\n\ 00214 float64 y\n\ 00215 float64 z\n\ 00216 float64 w\n\ 00217 \n\ 00218 "; } 00219 public: 00220 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00221 00222 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00223 00224 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00225 { 00226 ros::serialization::OStream stream(write_ptr, 1000000000); 00227 ros::serialization::serialize(stream, Pose); 00228 return stream.getData(); 00229 } 00230 00231 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00232 { 00233 ros::serialization::IStream stream(read_ptr, 1000000000); 00234 ros::serialization::deserialize(stream, Pose); 00235 return stream.getData(); 00236 } 00237 00238 ROS_DEPRECATED virtual uint32_t serializationLength() const 00239 { 00240 uint32_t size = 0; 00241 size += ros::serialization::serializationLength(Pose); 00242 return size; 00243 } 00244 00245 typedef boost::shared_ptr< ::blort_ros::RecoveryCallResponse_<ContainerAllocator> > Ptr; 00246 typedef boost::shared_ptr< ::blort_ros::RecoveryCallResponse_<ContainerAllocator> const> ConstPtr; 00247 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00248 }; // struct RecoveryCallResponse 00249 typedef ::blort_ros::RecoveryCallResponse_<std::allocator<void> > RecoveryCallResponse; 00250 00251 typedef boost::shared_ptr< ::blort_ros::RecoveryCallResponse> RecoveryCallResponsePtr; 00252 typedef boost::shared_ptr< ::blort_ros::RecoveryCallResponse const> RecoveryCallResponseConstPtr; 00253 00254 struct RecoveryCall 00255 { 00256 00257 typedef RecoveryCallRequest Request; 00258 typedef RecoveryCallResponse Response; 00259 Request request; 00260 Response response; 00261 00262 typedef Request RequestType; 00263 typedef Response ResponseType; 00264 }; // struct RecoveryCall 00265 } // namespace blort_ros 00266 00267 namespace ros 00268 { 00269 namespace message_traits 00270 { 00271 template<class ContainerAllocator> struct IsMessage< ::blort_ros::RecoveryCallRequest_<ContainerAllocator> > : public TrueType {}; 00272 template<class ContainerAllocator> struct IsMessage< ::blort_ros::RecoveryCallRequest_<ContainerAllocator> const> : public TrueType {}; 00273 template<class ContainerAllocator> 00274 struct MD5Sum< ::blort_ros::RecoveryCallRequest_<ContainerAllocator> > { 00275 static const char* value() 00276 { 00277 return "d8c981c42f573c72a3ae56e97b3577db"; 00278 } 00279 00280 static const char* value(const ::blort_ros::RecoveryCallRequest_<ContainerAllocator> &) { return value(); } 00281 static const uint64_t static_value1 = 0xd8c981c42f573c72ULL; 00282 static const uint64_t static_value2 = 0xa3ae56e97b3577dbULL; 00283 }; 00284 00285 template<class ContainerAllocator> 00286 struct DataType< ::blort_ros::RecoveryCallRequest_<ContainerAllocator> > { 00287 static const char* value() 00288 { 00289 return "blort_ros/RecoveryCallRequest"; 00290 } 00291 00292 static const char* value(const ::blort_ros::RecoveryCallRequest_<ContainerAllocator> &) { return value(); } 00293 }; 00294 00295 template<class ContainerAllocator> 00296 struct Definition< ::blort_ros::RecoveryCallRequest_<ContainerAllocator> > { 00297 static const char* value() 00298 { 00299 return "sensor_msgs/Image Image\n\ 00300 \n\ 00301 ================================================================================\n\ 00302 MSG: sensor_msgs/Image\n\ 00303 # This message contains an uncompressed image\n\ 00304 # (0, 0) is at top-left corner of image\n\ 00305 #\n\ 00306 \n\ 00307 Header header # Header timestamp should be acquisition time of image\n\ 00308 # Header frame_id should be optical frame of camera\n\ 00309 # origin of frame should be optical center of cameara\n\ 00310 # +x should point to the right in the image\n\ 00311 # +y should point down in the image\n\ 00312 # +z should point into to plane of the image\n\ 00313 # If the frame_id here and the frame_id of the CameraInfo\n\ 00314 # message associated with the image conflict\n\ 00315 # the behavior is undefined\n\ 00316 \n\ 00317 uint32 height # image height, that is, number of rows\n\ 00318 uint32 width # image width, that is, number of columns\n\ 00319 \n\ 00320 # The legal values for encoding are in file src/image_encodings.cpp\n\ 00321 # If you want to standardize a new string format, join\n\ 00322 # ros-users@lists.sourceforge.net and send an email proposing a new encoding.\n\ 00323 \n\ 00324 string encoding # Encoding of pixels -- channel meaning, ordering, size\n\ 00325 # taken from the list of strings in src/image_encodings.cpp\n\ 00326 \n\ 00327 uint8 is_bigendian # is this data bigendian?\n\ 00328 uint32 step # Full row length in bytes\n\ 00329 uint8[] data # actual matrix data, size is (step * rows)\n\ 00330 \n\ 00331 ================================================================================\n\ 00332 MSG: std_msgs/Header\n\ 00333 # Standard metadata for higher-level stamped data types.\n\ 00334 # This is generally used to communicate timestamped data \n\ 00335 # in a particular coordinate frame.\n\ 00336 # \n\ 00337 # sequence ID: consecutively increasing ID \n\ 00338 uint32 seq\n\ 00339 #Two-integer timestamp that is expressed as:\n\ 00340 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00341 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00342 # time-handling sugar is provided by the client library\n\ 00343 time stamp\n\ 00344 #Frame this data is associated with\n\ 00345 # 0: no frame\n\ 00346 # 1: global frame\n\ 00347 string frame_id\n\ 00348 \n\ 00349 "; 00350 } 00351 00352 static const char* value(const ::blort_ros::RecoveryCallRequest_<ContainerAllocator> &) { return value(); } 00353 }; 00354 00355 } // namespace message_traits 00356 } // namespace ros 00357 00358 00359 namespace ros 00360 { 00361 namespace message_traits 00362 { 00363 template<class ContainerAllocator> struct IsMessage< ::blort_ros::RecoveryCallResponse_<ContainerAllocator> > : public TrueType {}; 00364 template<class ContainerAllocator> struct IsMessage< ::blort_ros::RecoveryCallResponse_<ContainerAllocator> const> : public TrueType {}; 00365 template<class ContainerAllocator> 00366 struct MD5Sum< ::blort_ros::RecoveryCallResponse_<ContainerAllocator> > { 00367 static const char* value() 00368 { 00369 return "db774e2f8d3bbd66cc277b8a8ce62817"; 00370 } 00371 00372 static const char* value(const ::blort_ros::RecoveryCallResponse_<ContainerAllocator> &) { return value(); } 00373 static const uint64_t static_value1 = 0xdb774e2f8d3bbd66ULL; 00374 static const uint64_t static_value2 = 0xcc277b8a8ce62817ULL; 00375 }; 00376 00377 template<class ContainerAllocator> 00378 struct DataType< ::blort_ros::RecoveryCallResponse_<ContainerAllocator> > { 00379 static const char* value() 00380 { 00381 return "blort_ros/RecoveryCallResponse"; 00382 } 00383 00384 static const char* value(const ::blort_ros::RecoveryCallResponse_<ContainerAllocator> &) { return value(); } 00385 }; 00386 00387 template<class ContainerAllocator> 00388 struct Definition< ::blort_ros::RecoveryCallResponse_<ContainerAllocator> > { 00389 static const char* value() 00390 { 00391 return "geometry_msgs/Pose Pose\n\ 00392 \n\ 00393 \n\ 00394 ================================================================================\n\ 00395 MSG: geometry_msgs/Pose\n\ 00396 # A representation of pose in free space, composed of postion and orientation. \n\ 00397 Point position\n\ 00398 Quaternion orientation\n\ 00399 \n\ 00400 ================================================================================\n\ 00401 MSG: geometry_msgs/Point\n\ 00402 # This contains the position of a point in free space\n\ 00403 float64 x\n\ 00404 float64 y\n\ 00405 float64 z\n\ 00406 \n\ 00407 ================================================================================\n\ 00408 MSG: geometry_msgs/Quaternion\n\ 00409 # This represents an orientation in free space in quaternion form.\n\ 00410 \n\ 00411 float64 x\n\ 00412 float64 y\n\ 00413 float64 z\n\ 00414 float64 w\n\ 00415 \n\ 00416 "; 00417 } 00418 00419 static const char* value(const ::blort_ros::RecoveryCallResponse_<ContainerAllocator> &) { return value(); } 00420 }; 00421 00422 template<class ContainerAllocator> struct IsFixedSize< ::blort_ros::RecoveryCallResponse_<ContainerAllocator> > : public TrueType {}; 00423 } // namespace message_traits 00424 } // namespace ros 00425 00426 namespace ros 00427 { 00428 namespace serialization 00429 { 00430 00431 template<class ContainerAllocator> struct Serializer< ::blort_ros::RecoveryCallRequest_<ContainerAllocator> > 00432 { 00433 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00434 { 00435 stream.next(m.Image); 00436 } 00437 00438 ROS_DECLARE_ALLINONE_SERIALIZER; 00439 }; // struct RecoveryCallRequest_ 00440 } // namespace serialization 00441 } // namespace ros 00442 00443 00444 namespace ros 00445 { 00446 namespace serialization 00447 { 00448 00449 template<class ContainerAllocator> struct Serializer< ::blort_ros::RecoveryCallResponse_<ContainerAllocator> > 00450 { 00451 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00452 { 00453 stream.next(m.Pose); 00454 } 00455 00456 ROS_DECLARE_ALLINONE_SERIALIZER; 00457 }; // struct RecoveryCallResponse_ 00458 } // namespace serialization 00459 } // namespace ros 00460 00461 namespace ros 00462 { 00463 namespace service_traits 00464 { 00465 template<> 00466 struct MD5Sum<blort_ros::RecoveryCall> { 00467 static const char* value() 00468 { 00469 return "69e8db3137edfcf2b5cce1855b31782b"; 00470 } 00471 00472 static const char* value(const blort_ros::RecoveryCall&) { return value(); } 00473 }; 00474 00475 template<> 00476 struct DataType<blort_ros::RecoveryCall> { 00477 static const char* value() 00478 { 00479 return "blort_ros/RecoveryCall"; 00480 } 00481 00482 static const char* value(const blort_ros::RecoveryCall&) { return value(); } 00483 }; 00484 00485 template<class ContainerAllocator> 00486 struct MD5Sum<blort_ros::RecoveryCallRequest_<ContainerAllocator> > { 00487 static const char* value() 00488 { 00489 return "69e8db3137edfcf2b5cce1855b31782b"; 00490 } 00491 00492 static const char* value(const blort_ros::RecoveryCallRequest_<ContainerAllocator> &) { return value(); } 00493 }; 00494 00495 template<class ContainerAllocator> 00496 struct DataType<blort_ros::RecoveryCallRequest_<ContainerAllocator> > { 00497 static const char* value() 00498 { 00499 return "blort_ros/RecoveryCall"; 00500 } 00501 00502 static const char* value(const blort_ros::RecoveryCallRequest_<ContainerAllocator> &) { return value(); } 00503 }; 00504 00505 template<class ContainerAllocator> 00506 struct MD5Sum<blort_ros::RecoveryCallResponse_<ContainerAllocator> > { 00507 static const char* value() 00508 { 00509 return "69e8db3137edfcf2b5cce1855b31782b"; 00510 } 00511 00512 static const char* value(const blort_ros::RecoveryCallResponse_<ContainerAllocator> &) { return value(); } 00513 }; 00514 00515 template<class ContainerAllocator> 00516 struct DataType<blort_ros::RecoveryCallResponse_<ContainerAllocator> > { 00517 static const char* value() 00518 { 00519 return "blort_ros/RecoveryCall"; 00520 } 00521 00522 static const char* value(const blort_ros::RecoveryCallResponse_<ContainerAllocator> &) { return value(); } 00523 }; 00524 00525 } // namespace service_traits 00526 } // namespace ros 00527 00528 #endif // BLORT_ROS_SERVICE_RECOVERYCALL_H 00529