$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-geometry_experimental/doc_stacks/2013-03-05_11-55-48.510119/geometry_experimental/tf2_msgs/msg/LookupTransformResult.msg */ 00002 #ifndef TF2_MSGS_MESSAGE_LOOKUPTRANSFORMRESULT_H 00003 #define TF2_MSGS_MESSAGE_LOOKUPTRANSFORMRESULT_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 "geometry_msgs/TransformStamped.h" 00018 #include "tf2_msgs/TF2Error.h" 00019 00020 namespace tf2_msgs 00021 { 00022 template <class ContainerAllocator> 00023 struct LookupTransformResult_ { 00024 typedef LookupTransformResult_<ContainerAllocator> Type; 00025 00026 LookupTransformResult_() 00027 : transform() 00028 , error() 00029 { 00030 } 00031 00032 LookupTransformResult_(const ContainerAllocator& _alloc) 00033 : transform(_alloc) 00034 , error(_alloc) 00035 { 00036 } 00037 00038 typedef ::geometry_msgs::TransformStamped_<ContainerAllocator> _transform_type; 00039 ::geometry_msgs::TransformStamped_<ContainerAllocator> transform; 00040 00041 typedef ::tf2_msgs::TF2Error_<ContainerAllocator> _error_type; 00042 ::tf2_msgs::TF2Error_<ContainerAllocator> error; 00043 00044 00045 private: 00046 static const char* __s_getDataType_() { return "tf2_msgs/LookupTransformResult"; } 00047 public: 00048 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00049 00050 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00051 00052 private: 00053 static const char* __s_getMD5Sum_() { return "3fe5db6a19ca9cfb675418c5ad875c36"; } 00054 public: 00055 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00056 00057 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00058 00059 private: 00060 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00061 geometry_msgs/TransformStamped transform\n\ 00062 tf2_msgs/TF2Error error\n\ 00063 \n\ 00064 ================================================================================\n\ 00065 MSG: geometry_msgs/TransformStamped\n\ 00066 # This expresses a transform from coordinate frame header.frame_id\n\ 00067 # to the coordinate frame child_frame_id\n\ 00068 #\n\ 00069 # This message is mostly used by the \n\ 00070 # <a href=\"http://www.ros.org/wiki/tf\">tf</a> package. \n\ 00071 # See it's documentation for more information.\n\ 00072 \n\ 00073 Header header\n\ 00074 string child_frame_id # the frame id of the child frame\n\ 00075 Transform transform\n\ 00076 \n\ 00077 ================================================================================\n\ 00078 MSG: std_msgs/Header\n\ 00079 # Standard metadata for higher-level stamped data types.\n\ 00080 # This is generally used to communicate timestamped data \n\ 00081 # in a particular coordinate frame.\n\ 00082 # \n\ 00083 # sequence ID: consecutively increasing ID \n\ 00084 uint32 seq\n\ 00085 #Two-integer timestamp that is expressed as:\n\ 00086 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00087 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00088 # time-handling sugar is provided by the client library\n\ 00089 time stamp\n\ 00090 #Frame this data is associated with\n\ 00091 # 0: no frame\n\ 00092 # 1: global frame\n\ 00093 string frame_id\n\ 00094 \n\ 00095 ================================================================================\n\ 00096 MSG: geometry_msgs/Transform\n\ 00097 # This represents the transform between two coordinate frames in free space.\n\ 00098 \n\ 00099 Vector3 translation\n\ 00100 Quaternion rotation\n\ 00101 \n\ 00102 ================================================================================\n\ 00103 MSG: geometry_msgs/Vector3\n\ 00104 # This represents a vector in free space. \n\ 00105 \n\ 00106 float64 x\n\ 00107 float64 y\n\ 00108 float64 z\n\ 00109 ================================================================================\n\ 00110 MSG: geometry_msgs/Quaternion\n\ 00111 # This represents an orientation in free space in quaternion form.\n\ 00112 \n\ 00113 float64 x\n\ 00114 float64 y\n\ 00115 float64 z\n\ 00116 float64 w\n\ 00117 \n\ 00118 ================================================================================\n\ 00119 MSG: tf2_msgs/TF2Error\n\ 00120 uint8 NO_ERROR = 0\n\ 00121 uint8 LOOKUP_ERROR = 1\n\ 00122 uint8 CONNECTIVITY_ERROR = 2\n\ 00123 uint8 EXTRAPOLATION_ERROR = 3\n\ 00124 uint8 INVALID_ARGUMENT_ERROR = 4\n\ 00125 uint8 TIMEOUT_ERROR = 5\n\ 00126 uint8 TRANSFORM_ERROR = 6\n\ 00127 \n\ 00128 uint8 error\n\ 00129 string error_string\n\ 00130 \n\ 00131 "; } 00132 public: 00133 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00134 00135 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00136 00137 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00138 { 00139 ros::serialization::OStream stream(write_ptr, 1000000000); 00140 ros::serialization::serialize(stream, transform); 00141 ros::serialization::serialize(stream, error); 00142 return stream.getData(); 00143 } 00144 00145 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00146 { 00147 ros::serialization::IStream stream(read_ptr, 1000000000); 00148 ros::serialization::deserialize(stream, transform); 00149 ros::serialization::deserialize(stream, error); 00150 return stream.getData(); 00151 } 00152 00153 ROS_DEPRECATED virtual uint32_t serializationLength() const 00154 { 00155 uint32_t size = 0; 00156 size += ros::serialization::serializationLength(transform); 00157 size += ros::serialization::serializationLength(error); 00158 return size; 00159 } 00160 00161 typedef boost::shared_ptr< ::tf2_msgs::LookupTransformResult_<ContainerAllocator> > Ptr; 00162 typedef boost::shared_ptr< ::tf2_msgs::LookupTransformResult_<ContainerAllocator> const> ConstPtr; 00163 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00164 }; // struct LookupTransformResult 00165 typedef ::tf2_msgs::LookupTransformResult_<std::allocator<void> > LookupTransformResult; 00166 00167 typedef boost::shared_ptr< ::tf2_msgs::LookupTransformResult> LookupTransformResultPtr; 00168 typedef boost::shared_ptr< ::tf2_msgs::LookupTransformResult const> LookupTransformResultConstPtr; 00169 00170 00171 template<typename ContainerAllocator> 00172 std::ostream& operator<<(std::ostream& s, const ::tf2_msgs::LookupTransformResult_<ContainerAllocator> & v) 00173 { 00174 ros::message_operations::Printer< ::tf2_msgs::LookupTransformResult_<ContainerAllocator> >::stream(s, "", v); 00175 return s;} 00176 00177 } // namespace tf2_msgs 00178 00179 namespace ros 00180 { 00181 namespace message_traits 00182 { 00183 template<class ContainerAllocator> struct IsMessage< ::tf2_msgs::LookupTransformResult_<ContainerAllocator> > : public TrueType {}; 00184 template<class ContainerAllocator> struct IsMessage< ::tf2_msgs::LookupTransformResult_<ContainerAllocator> const> : public TrueType {}; 00185 template<class ContainerAllocator> 00186 struct MD5Sum< ::tf2_msgs::LookupTransformResult_<ContainerAllocator> > { 00187 static const char* value() 00188 { 00189 return "3fe5db6a19ca9cfb675418c5ad875c36"; 00190 } 00191 00192 static const char* value(const ::tf2_msgs::LookupTransformResult_<ContainerAllocator> &) { return value(); } 00193 static const uint64_t static_value1 = 0x3fe5db6a19ca9cfbULL; 00194 static const uint64_t static_value2 = 0x675418c5ad875c36ULL; 00195 }; 00196 00197 template<class ContainerAllocator> 00198 struct DataType< ::tf2_msgs::LookupTransformResult_<ContainerAllocator> > { 00199 static const char* value() 00200 { 00201 return "tf2_msgs/LookupTransformResult"; 00202 } 00203 00204 static const char* value(const ::tf2_msgs::LookupTransformResult_<ContainerAllocator> &) { return value(); } 00205 }; 00206 00207 template<class ContainerAllocator> 00208 struct Definition< ::tf2_msgs::LookupTransformResult_<ContainerAllocator> > { 00209 static const char* value() 00210 { 00211 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00212 geometry_msgs/TransformStamped transform\n\ 00213 tf2_msgs/TF2Error error\n\ 00214 \n\ 00215 ================================================================================\n\ 00216 MSG: geometry_msgs/TransformStamped\n\ 00217 # This expresses a transform from coordinate frame header.frame_id\n\ 00218 # to the coordinate frame child_frame_id\n\ 00219 #\n\ 00220 # This message is mostly used by the \n\ 00221 # <a href=\"http://www.ros.org/wiki/tf\">tf</a> package. \n\ 00222 # See it's documentation for more information.\n\ 00223 \n\ 00224 Header header\n\ 00225 string child_frame_id # the frame id of the child frame\n\ 00226 Transform transform\n\ 00227 \n\ 00228 ================================================================================\n\ 00229 MSG: std_msgs/Header\n\ 00230 # Standard metadata for higher-level stamped data types.\n\ 00231 # This is generally used to communicate timestamped data \n\ 00232 # in a particular coordinate frame.\n\ 00233 # \n\ 00234 # sequence ID: consecutively increasing ID \n\ 00235 uint32 seq\n\ 00236 #Two-integer timestamp that is expressed as:\n\ 00237 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00238 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00239 # time-handling sugar is provided by the client library\n\ 00240 time stamp\n\ 00241 #Frame this data is associated with\n\ 00242 # 0: no frame\n\ 00243 # 1: global frame\n\ 00244 string frame_id\n\ 00245 \n\ 00246 ================================================================================\n\ 00247 MSG: geometry_msgs/Transform\n\ 00248 # This represents the transform between two coordinate frames in free space.\n\ 00249 \n\ 00250 Vector3 translation\n\ 00251 Quaternion rotation\n\ 00252 \n\ 00253 ================================================================================\n\ 00254 MSG: geometry_msgs/Vector3\n\ 00255 # This represents a vector in free space. \n\ 00256 \n\ 00257 float64 x\n\ 00258 float64 y\n\ 00259 float64 z\n\ 00260 ================================================================================\n\ 00261 MSG: geometry_msgs/Quaternion\n\ 00262 # This represents an orientation in free space in quaternion form.\n\ 00263 \n\ 00264 float64 x\n\ 00265 float64 y\n\ 00266 float64 z\n\ 00267 float64 w\n\ 00268 \n\ 00269 ================================================================================\n\ 00270 MSG: tf2_msgs/TF2Error\n\ 00271 uint8 NO_ERROR = 0\n\ 00272 uint8 LOOKUP_ERROR = 1\n\ 00273 uint8 CONNECTIVITY_ERROR = 2\n\ 00274 uint8 EXTRAPOLATION_ERROR = 3\n\ 00275 uint8 INVALID_ARGUMENT_ERROR = 4\n\ 00276 uint8 TIMEOUT_ERROR = 5\n\ 00277 uint8 TRANSFORM_ERROR = 6\n\ 00278 \n\ 00279 uint8 error\n\ 00280 string error_string\n\ 00281 \n\ 00282 "; 00283 } 00284 00285 static const char* value(const ::tf2_msgs::LookupTransformResult_<ContainerAllocator> &) { return value(); } 00286 }; 00287 00288 } // namespace message_traits 00289 } // namespace ros 00290 00291 namespace ros 00292 { 00293 namespace serialization 00294 { 00295 00296 template<class ContainerAllocator> struct Serializer< ::tf2_msgs::LookupTransformResult_<ContainerAllocator> > 00297 { 00298 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00299 { 00300 stream.next(m.transform); 00301 stream.next(m.error); 00302 } 00303 00304 ROS_DECLARE_ALLINONE_SERIALIZER; 00305 }; // struct LookupTransformResult_ 00306 } // namespace serialization 00307 } // namespace ros 00308 00309 namespace ros 00310 { 00311 namespace message_operations 00312 { 00313 00314 template<class ContainerAllocator> 00315 struct Printer< ::tf2_msgs::LookupTransformResult_<ContainerAllocator> > 00316 { 00317 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::tf2_msgs::LookupTransformResult_<ContainerAllocator> & v) 00318 { 00319 s << indent << "transform: "; 00320 s << std::endl; 00321 Printer< ::geometry_msgs::TransformStamped_<ContainerAllocator> >::stream(s, indent + " ", v.transform); 00322 s << indent << "error: "; 00323 s << std::endl; 00324 Printer< ::tf2_msgs::TF2Error_<ContainerAllocator> >::stream(s, indent + " ", v.error); 00325 } 00326 }; 00327 00328 00329 } // namespace message_operations 00330 } // namespace ros 00331 00332 #endif // TF2_MSGS_MESSAGE_LOOKUPTRANSFORMRESULT_H 00333