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