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