$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-vision_visp/doc_stacks/2013-03-02_14-13-07.148743/vision_visp/visp_hand2eye_calibration/srv/compute_effector_camera_quick.srv */ 00002 #ifndef VISP_HAND2EYE_CALIBRATION_SERVICE_COMPUTE_EFFECTOR_CAMERA_QUICK_H 00003 #define VISP_HAND2EYE_CALIBRATION_SERVICE_COMPUTE_EFFECTOR_CAMERA_QUICK_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 "visp_hand2eye_calibration/TransformArray.h" 00020 #include "visp_hand2eye_calibration/TransformArray.h" 00021 00022 00023 #include "geometry_msgs/Transform.h" 00024 00025 namespace visp_hand2eye_calibration 00026 { 00027 template <class ContainerAllocator> 00028 struct compute_effector_camera_quickRequest_ { 00029 typedef compute_effector_camera_quickRequest_<ContainerAllocator> Type; 00030 00031 compute_effector_camera_quickRequest_() 00032 : camera_object() 00033 , world_effector() 00034 { 00035 } 00036 00037 compute_effector_camera_quickRequest_(const ContainerAllocator& _alloc) 00038 : camera_object(_alloc) 00039 , world_effector(_alloc) 00040 { 00041 } 00042 00043 typedef ::visp_hand2eye_calibration::TransformArray_<ContainerAllocator> _camera_object_type; 00044 ::visp_hand2eye_calibration::TransformArray_<ContainerAllocator> camera_object; 00045 00046 typedef ::visp_hand2eye_calibration::TransformArray_<ContainerAllocator> _world_effector_type; 00047 ::visp_hand2eye_calibration::TransformArray_<ContainerAllocator> world_effector; 00048 00049 00050 private: 00051 static const char* __s_getDataType_() { return "visp_hand2eye_calibration/compute_effector_camera_quickRequest"; } 00052 public: 00053 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00054 00055 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00056 00057 private: 00058 static const char* __s_getMD5Sum_() { return "4ce42b1236ce32724031d598c2a332bf"; } 00059 public: 00060 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00061 00062 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00063 00064 private: 00065 static const char* __s_getServerMD5Sum_() { return "ac7e8b661c5bfedda75b54410a11cf73"; } 00066 public: 00067 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00068 00069 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00070 00071 private: 00072 static const char* __s_getMessageDefinition_() { return "\n\ 00073 \n\ 00074 \n\ 00075 visp_hand2eye_calibration/TransformArray camera_object\n\ 00076 visp_hand2eye_calibration/TransformArray world_effector\n\ 00077 \n\ 00078 ================================================================================\n\ 00079 MSG: visp_hand2eye_calibration/TransformArray\n\ 00080 # An array of transforms with a header for global reference.\n\ 00081 \n\ 00082 Header header\n\ 00083 \n\ 00084 geometry_msgs/Transform[] transforms\n\ 00085 ================================================================================\n\ 00086 MSG: std_msgs/Header\n\ 00087 # Standard metadata for higher-level stamped data types.\n\ 00088 # This is generally used to communicate timestamped data \n\ 00089 # in a particular coordinate frame.\n\ 00090 # \n\ 00091 # sequence ID: consecutively increasing ID \n\ 00092 uint32 seq\n\ 00093 #Two-integer timestamp that is expressed as:\n\ 00094 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00095 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00096 # time-handling sugar is provided by the client library\n\ 00097 time stamp\n\ 00098 #Frame this data is associated with\n\ 00099 # 0: no frame\n\ 00100 # 1: global frame\n\ 00101 string frame_id\n\ 00102 \n\ 00103 ================================================================================\n\ 00104 MSG: geometry_msgs/Transform\n\ 00105 # This represents the transform between two coordinate frames in free space.\n\ 00106 \n\ 00107 Vector3 translation\n\ 00108 Quaternion rotation\n\ 00109 \n\ 00110 ================================================================================\n\ 00111 MSG: geometry_msgs/Vector3\n\ 00112 # This represents a vector in free space. \n\ 00113 \n\ 00114 float64 x\n\ 00115 float64 y\n\ 00116 float64 z\n\ 00117 ================================================================================\n\ 00118 MSG: geometry_msgs/Quaternion\n\ 00119 # This represents an orientation in free space in quaternion form.\n\ 00120 \n\ 00121 float64 x\n\ 00122 float64 y\n\ 00123 float64 z\n\ 00124 float64 w\n\ 00125 \n\ 00126 "; } 00127 public: 00128 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00129 00130 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00131 00132 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00133 { 00134 ros::serialization::OStream stream(write_ptr, 1000000000); 00135 ros::serialization::serialize(stream, camera_object); 00136 ros::serialization::serialize(stream, world_effector); 00137 return stream.getData(); 00138 } 00139 00140 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00141 { 00142 ros::serialization::IStream stream(read_ptr, 1000000000); 00143 ros::serialization::deserialize(stream, camera_object); 00144 ros::serialization::deserialize(stream, world_effector); 00145 return stream.getData(); 00146 } 00147 00148 ROS_DEPRECATED virtual uint32_t serializationLength() const 00149 { 00150 uint32_t size = 0; 00151 size += ros::serialization::serializationLength(camera_object); 00152 size += ros::serialization::serializationLength(world_effector); 00153 return size; 00154 } 00155 00156 typedef boost::shared_ptr< ::visp_hand2eye_calibration::compute_effector_camera_quickRequest_<ContainerAllocator> > Ptr; 00157 typedef boost::shared_ptr< ::visp_hand2eye_calibration::compute_effector_camera_quickRequest_<ContainerAllocator> const> ConstPtr; 00158 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00159 }; // struct compute_effector_camera_quickRequest 00160 typedef ::visp_hand2eye_calibration::compute_effector_camera_quickRequest_<std::allocator<void> > compute_effector_camera_quickRequest; 00161 00162 typedef boost::shared_ptr< ::visp_hand2eye_calibration::compute_effector_camera_quickRequest> compute_effector_camera_quickRequestPtr; 00163 typedef boost::shared_ptr< ::visp_hand2eye_calibration::compute_effector_camera_quickRequest const> compute_effector_camera_quickRequestConstPtr; 00164 00165 00166 template <class ContainerAllocator> 00167 struct compute_effector_camera_quickResponse_ { 00168 typedef compute_effector_camera_quickResponse_<ContainerAllocator> Type; 00169 00170 compute_effector_camera_quickResponse_() 00171 : effector_camera() 00172 { 00173 } 00174 00175 compute_effector_camera_quickResponse_(const ContainerAllocator& _alloc) 00176 : effector_camera(_alloc) 00177 { 00178 } 00179 00180 typedef ::geometry_msgs::Transform_<ContainerAllocator> _effector_camera_type; 00181 ::geometry_msgs::Transform_<ContainerAllocator> effector_camera; 00182 00183 00184 private: 00185 static const char* __s_getDataType_() { return "visp_hand2eye_calibration/compute_effector_camera_quickResponse"; } 00186 public: 00187 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00188 00189 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00190 00191 private: 00192 static const char* __s_getMD5Sum_() { return "e28a9ea34e6e135a6309cbdf6fb0ad0d"; } 00193 public: 00194 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00195 00196 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00197 00198 private: 00199 static const char* __s_getServerMD5Sum_() { return "ac7e8b661c5bfedda75b54410a11cf73"; } 00200 public: 00201 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00202 00203 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00204 00205 private: 00206 static const char* __s_getMessageDefinition_() { return "geometry_msgs/Transform effector_camera\n\ 00207 \n\ 00208 ================================================================================\n\ 00209 MSG: geometry_msgs/Transform\n\ 00210 # This represents the transform between two coordinate frames in free space.\n\ 00211 \n\ 00212 Vector3 translation\n\ 00213 Quaternion rotation\n\ 00214 \n\ 00215 ================================================================================\n\ 00216 MSG: geometry_msgs/Vector3\n\ 00217 # This represents a vector in free space. \n\ 00218 \n\ 00219 float64 x\n\ 00220 float64 y\n\ 00221 float64 z\n\ 00222 ================================================================================\n\ 00223 MSG: geometry_msgs/Quaternion\n\ 00224 # This represents an orientation in free space in quaternion form.\n\ 00225 \n\ 00226 float64 x\n\ 00227 float64 y\n\ 00228 float64 z\n\ 00229 float64 w\n\ 00230 \n\ 00231 "; } 00232 public: 00233 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00234 00235 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00236 00237 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00238 { 00239 ros::serialization::OStream stream(write_ptr, 1000000000); 00240 ros::serialization::serialize(stream, effector_camera); 00241 return stream.getData(); 00242 } 00243 00244 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00245 { 00246 ros::serialization::IStream stream(read_ptr, 1000000000); 00247 ros::serialization::deserialize(stream, effector_camera); 00248 return stream.getData(); 00249 } 00250 00251 ROS_DEPRECATED virtual uint32_t serializationLength() const 00252 { 00253 uint32_t size = 0; 00254 size += ros::serialization::serializationLength(effector_camera); 00255 return size; 00256 } 00257 00258 typedef boost::shared_ptr< ::visp_hand2eye_calibration::compute_effector_camera_quickResponse_<ContainerAllocator> > Ptr; 00259 typedef boost::shared_ptr< ::visp_hand2eye_calibration::compute_effector_camera_quickResponse_<ContainerAllocator> const> ConstPtr; 00260 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00261 }; // struct compute_effector_camera_quickResponse 00262 typedef ::visp_hand2eye_calibration::compute_effector_camera_quickResponse_<std::allocator<void> > compute_effector_camera_quickResponse; 00263 00264 typedef boost::shared_ptr< ::visp_hand2eye_calibration::compute_effector_camera_quickResponse> compute_effector_camera_quickResponsePtr; 00265 typedef boost::shared_ptr< ::visp_hand2eye_calibration::compute_effector_camera_quickResponse const> compute_effector_camera_quickResponseConstPtr; 00266 00267 struct compute_effector_camera_quick 00268 { 00269 00270 typedef compute_effector_camera_quickRequest Request; 00271 typedef compute_effector_camera_quickResponse Response; 00272 Request request; 00273 Response response; 00274 00275 typedef Request RequestType; 00276 typedef Response ResponseType; 00277 }; // struct compute_effector_camera_quick 00278 } // namespace visp_hand2eye_calibration 00279 00280 namespace ros 00281 { 00282 namespace message_traits 00283 { 00284 template<class ContainerAllocator> struct IsMessage< ::visp_hand2eye_calibration::compute_effector_camera_quickRequest_<ContainerAllocator> > : public TrueType {}; 00285 template<class ContainerAllocator> struct IsMessage< ::visp_hand2eye_calibration::compute_effector_camera_quickRequest_<ContainerAllocator> const> : public TrueType {}; 00286 template<class ContainerAllocator> 00287 struct MD5Sum< ::visp_hand2eye_calibration::compute_effector_camera_quickRequest_<ContainerAllocator> > { 00288 static const char* value() 00289 { 00290 return "4ce42b1236ce32724031d598c2a332bf"; 00291 } 00292 00293 static const char* value(const ::visp_hand2eye_calibration::compute_effector_camera_quickRequest_<ContainerAllocator> &) { return value(); } 00294 static const uint64_t static_value1 = 0x4ce42b1236ce3272ULL; 00295 static const uint64_t static_value2 = 0x4031d598c2a332bfULL; 00296 }; 00297 00298 template<class ContainerAllocator> 00299 struct DataType< ::visp_hand2eye_calibration::compute_effector_camera_quickRequest_<ContainerAllocator> > { 00300 static const char* value() 00301 { 00302 return "visp_hand2eye_calibration/compute_effector_camera_quickRequest"; 00303 } 00304 00305 static const char* value(const ::visp_hand2eye_calibration::compute_effector_camera_quickRequest_<ContainerAllocator> &) { return value(); } 00306 }; 00307 00308 template<class ContainerAllocator> 00309 struct Definition< ::visp_hand2eye_calibration::compute_effector_camera_quickRequest_<ContainerAllocator> > { 00310 static const char* value() 00311 { 00312 return "\n\ 00313 \n\ 00314 \n\ 00315 visp_hand2eye_calibration/TransformArray camera_object\n\ 00316 visp_hand2eye_calibration/TransformArray world_effector\n\ 00317 \n\ 00318 ================================================================================\n\ 00319 MSG: visp_hand2eye_calibration/TransformArray\n\ 00320 # An array of transforms with a header for global reference.\n\ 00321 \n\ 00322 Header header\n\ 00323 \n\ 00324 geometry_msgs/Transform[] transforms\n\ 00325 ================================================================================\n\ 00326 MSG: std_msgs/Header\n\ 00327 # Standard metadata for higher-level stamped data types.\n\ 00328 # This is generally used to communicate timestamped data \n\ 00329 # in a particular coordinate frame.\n\ 00330 # \n\ 00331 # sequence ID: consecutively increasing ID \n\ 00332 uint32 seq\n\ 00333 #Two-integer timestamp that is expressed as:\n\ 00334 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00335 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00336 # time-handling sugar is provided by the client library\n\ 00337 time stamp\n\ 00338 #Frame this data is associated with\n\ 00339 # 0: no frame\n\ 00340 # 1: global frame\n\ 00341 string frame_id\n\ 00342 \n\ 00343 ================================================================================\n\ 00344 MSG: geometry_msgs/Transform\n\ 00345 # This represents the transform between two coordinate frames in free space.\n\ 00346 \n\ 00347 Vector3 translation\n\ 00348 Quaternion rotation\n\ 00349 \n\ 00350 ================================================================================\n\ 00351 MSG: geometry_msgs/Vector3\n\ 00352 # This represents a vector in free space. \n\ 00353 \n\ 00354 float64 x\n\ 00355 float64 y\n\ 00356 float64 z\n\ 00357 ================================================================================\n\ 00358 MSG: geometry_msgs/Quaternion\n\ 00359 # This represents an orientation in free space in quaternion form.\n\ 00360 \n\ 00361 float64 x\n\ 00362 float64 y\n\ 00363 float64 z\n\ 00364 float64 w\n\ 00365 \n\ 00366 "; 00367 } 00368 00369 static const char* value(const ::visp_hand2eye_calibration::compute_effector_camera_quickRequest_<ContainerAllocator> &) { return value(); } 00370 }; 00371 00372 } // namespace message_traits 00373 } // namespace ros 00374 00375 00376 namespace ros 00377 { 00378 namespace message_traits 00379 { 00380 template<class ContainerAllocator> struct IsMessage< ::visp_hand2eye_calibration::compute_effector_camera_quickResponse_<ContainerAllocator> > : public TrueType {}; 00381 template<class ContainerAllocator> struct IsMessage< ::visp_hand2eye_calibration::compute_effector_camera_quickResponse_<ContainerAllocator> const> : public TrueType {}; 00382 template<class ContainerAllocator> 00383 struct MD5Sum< ::visp_hand2eye_calibration::compute_effector_camera_quickResponse_<ContainerAllocator> > { 00384 static const char* value() 00385 { 00386 return "e28a9ea34e6e135a6309cbdf6fb0ad0d"; 00387 } 00388 00389 static const char* value(const ::visp_hand2eye_calibration::compute_effector_camera_quickResponse_<ContainerAllocator> &) { return value(); } 00390 static const uint64_t static_value1 = 0xe28a9ea34e6e135aULL; 00391 static const uint64_t static_value2 = 0x6309cbdf6fb0ad0dULL; 00392 }; 00393 00394 template<class ContainerAllocator> 00395 struct DataType< ::visp_hand2eye_calibration::compute_effector_camera_quickResponse_<ContainerAllocator> > { 00396 static const char* value() 00397 { 00398 return "visp_hand2eye_calibration/compute_effector_camera_quickResponse"; 00399 } 00400 00401 static const char* value(const ::visp_hand2eye_calibration::compute_effector_camera_quickResponse_<ContainerAllocator> &) { return value(); } 00402 }; 00403 00404 template<class ContainerAllocator> 00405 struct Definition< ::visp_hand2eye_calibration::compute_effector_camera_quickResponse_<ContainerAllocator> > { 00406 static const char* value() 00407 { 00408 return "geometry_msgs/Transform effector_camera\n\ 00409 \n\ 00410 ================================================================================\n\ 00411 MSG: geometry_msgs/Transform\n\ 00412 # This represents the transform between two coordinate frames in free space.\n\ 00413 \n\ 00414 Vector3 translation\n\ 00415 Quaternion rotation\n\ 00416 \n\ 00417 ================================================================================\n\ 00418 MSG: geometry_msgs/Vector3\n\ 00419 # This represents a vector in free space. \n\ 00420 \n\ 00421 float64 x\n\ 00422 float64 y\n\ 00423 float64 z\n\ 00424 ================================================================================\n\ 00425 MSG: geometry_msgs/Quaternion\n\ 00426 # This represents an orientation in free space in quaternion form.\n\ 00427 \n\ 00428 float64 x\n\ 00429 float64 y\n\ 00430 float64 z\n\ 00431 float64 w\n\ 00432 \n\ 00433 "; 00434 } 00435 00436 static const char* value(const ::visp_hand2eye_calibration::compute_effector_camera_quickResponse_<ContainerAllocator> &) { return value(); } 00437 }; 00438 00439 template<class ContainerAllocator> struct IsFixedSize< ::visp_hand2eye_calibration::compute_effector_camera_quickResponse_<ContainerAllocator> > : public TrueType {}; 00440 } // namespace message_traits 00441 } // namespace ros 00442 00443 namespace ros 00444 { 00445 namespace serialization 00446 { 00447 00448 template<class ContainerAllocator> struct Serializer< ::visp_hand2eye_calibration::compute_effector_camera_quickRequest_<ContainerAllocator> > 00449 { 00450 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00451 { 00452 stream.next(m.camera_object); 00453 stream.next(m.world_effector); 00454 } 00455 00456 ROS_DECLARE_ALLINONE_SERIALIZER; 00457 }; // struct compute_effector_camera_quickRequest_ 00458 } // namespace serialization 00459 } // namespace ros 00460 00461 00462 namespace ros 00463 { 00464 namespace serialization 00465 { 00466 00467 template<class ContainerAllocator> struct Serializer< ::visp_hand2eye_calibration::compute_effector_camera_quickResponse_<ContainerAllocator> > 00468 { 00469 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00470 { 00471 stream.next(m.effector_camera); 00472 } 00473 00474 ROS_DECLARE_ALLINONE_SERIALIZER; 00475 }; // struct compute_effector_camera_quickResponse_ 00476 } // namespace serialization 00477 } // namespace ros 00478 00479 namespace ros 00480 { 00481 namespace service_traits 00482 { 00483 template<> 00484 struct MD5Sum<visp_hand2eye_calibration::compute_effector_camera_quick> { 00485 static const char* value() 00486 { 00487 return "ac7e8b661c5bfedda75b54410a11cf73"; 00488 } 00489 00490 static const char* value(const visp_hand2eye_calibration::compute_effector_camera_quick&) { return value(); } 00491 }; 00492 00493 template<> 00494 struct DataType<visp_hand2eye_calibration::compute_effector_camera_quick> { 00495 static const char* value() 00496 { 00497 return "visp_hand2eye_calibration/compute_effector_camera_quick"; 00498 } 00499 00500 static const char* value(const visp_hand2eye_calibration::compute_effector_camera_quick&) { return value(); } 00501 }; 00502 00503 template<class ContainerAllocator> 00504 struct MD5Sum<visp_hand2eye_calibration::compute_effector_camera_quickRequest_<ContainerAllocator> > { 00505 static const char* value() 00506 { 00507 return "ac7e8b661c5bfedda75b54410a11cf73"; 00508 } 00509 00510 static const char* value(const visp_hand2eye_calibration::compute_effector_camera_quickRequest_<ContainerAllocator> &) { return value(); } 00511 }; 00512 00513 template<class ContainerAllocator> 00514 struct DataType<visp_hand2eye_calibration::compute_effector_camera_quickRequest_<ContainerAllocator> > { 00515 static const char* value() 00516 { 00517 return "visp_hand2eye_calibration/compute_effector_camera_quick"; 00518 } 00519 00520 static const char* value(const visp_hand2eye_calibration::compute_effector_camera_quickRequest_<ContainerAllocator> &) { return value(); } 00521 }; 00522 00523 template<class ContainerAllocator> 00524 struct MD5Sum<visp_hand2eye_calibration::compute_effector_camera_quickResponse_<ContainerAllocator> > { 00525 static const char* value() 00526 { 00527 return "ac7e8b661c5bfedda75b54410a11cf73"; 00528 } 00529 00530 static const char* value(const visp_hand2eye_calibration::compute_effector_camera_quickResponse_<ContainerAllocator> &) { return value(); } 00531 }; 00532 00533 template<class ContainerAllocator> 00534 struct DataType<visp_hand2eye_calibration::compute_effector_camera_quickResponse_<ContainerAllocator> > { 00535 static const char* value() 00536 { 00537 return "visp_hand2eye_calibration/compute_effector_camera_quick"; 00538 } 00539 00540 static const char* value(const visp_hand2eye_calibration::compute_effector_camera_quickResponse_<ContainerAllocator> &) { return value(); } 00541 }; 00542 00543 } // namespace service_traits 00544 } // namespace ros 00545 00546 #endif // VISP_HAND2EYE_CALIBRATION_SERVICE_COMPUTE_EFFECTOR_CAMERA_QUICK_H 00547