Go to the documentation of this file.00001
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 typedef boost::shared_ptr< ::tf2_msgs::LookupTransformResult_<ContainerAllocator> > Ptr;
00046 typedef boost::shared_ptr< ::tf2_msgs::LookupTransformResult_<ContainerAllocator> const> ConstPtr;
00047 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00048 };
00049 typedef ::tf2_msgs::LookupTransformResult_<std::allocator<void> > LookupTransformResult;
00050
00051 typedef boost::shared_ptr< ::tf2_msgs::LookupTransformResult> LookupTransformResultPtr;
00052 typedef boost::shared_ptr< ::tf2_msgs::LookupTransformResult const> LookupTransformResultConstPtr;
00053
00054
00055 template<typename ContainerAllocator>
00056 std::ostream& operator<<(std::ostream& s, const ::tf2_msgs::LookupTransformResult_<ContainerAllocator> & v)
00057 {
00058 ros::message_operations::Printer< ::tf2_msgs::LookupTransformResult_<ContainerAllocator> >::stream(s, "", v);
00059 return s;}
00060
00061 }
00062
00063 namespace ros
00064 {
00065 namespace message_traits
00066 {
00067 template<class ContainerAllocator> struct IsMessage< ::tf2_msgs::LookupTransformResult_<ContainerAllocator> > : public TrueType {};
00068 template<class ContainerAllocator> struct IsMessage< ::tf2_msgs::LookupTransformResult_<ContainerAllocator> const> : public TrueType {};
00069 template<class ContainerAllocator>
00070 struct MD5Sum< ::tf2_msgs::LookupTransformResult_<ContainerAllocator> > {
00071 static const char* value()
00072 {
00073 return "3fe5db6a19ca9cfb675418c5ad875c36";
00074 }
00075
00076 static const char* value(const ::tf2_msgs::LookupTransformResult_<ContainerAllocator> &) { return value(); }
00077 static const uint64_t static_value1 = 0x3fe5db6a19ca9cfbULL;
00078 static const uint64_t static_value2 = 0x675418c5ad875c36ULL;
00079 };
00080
00081 template<class ContainerAllocator>
00082 struct DataType< ::tf2_msgs::LookupTransformResult_<ContainerAllocator> > {
00083 static const char* value()
00084 {
00085 return "tf2_msgs/LookupTransformResult";
00086 }
00087
00088 static const char* value(const ::tf2_msgs::LookupTransformResult_<ContainerAllocator> &) { return value(); }
00089 };
00090
00091 template<class ContainerAllocator>
00092 struct Definition< ::tf2_msgs::LookupTransformResult_<ContainerAllocator> > {
00093 static const char* value()
00094 {
00095 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00096 geometry_msgs/TransformStamped transform\n\
00097 tf2_msgs/TF2Error error\n\
00098 \n\
00099 ================================================================================\n\
00100 MSG: geometry_msgs/TransformStamped\n\
00101 # This expresses a transform from coordinate frame header.frame_id\n\
00102 # to the coordinate frame child_frame_id\n\
00103 #\n\
00104 # This message is mostly used by the \n\
00105 # <a href=\"http://www.ros.org/wiki/tf\">tf</a> package. \n\
00106 # See it's documentation for more information.\n\
00107 \n\
00108 Header header\n\
00109 string child_frame_id # the frame id of the child frame\n\
00110 Transform transform\n\
00111 \n\
00112 ================================================================================\n\
00113 MSG: std_msgs/Header\n\
00114 # Standard metadata for higher-level stamped data types.\n\
00115 # This is generally used to communicate timestamped data \n\
00116 # in a particular coordinate frame.\n\
00117 # \n\
00118 # sequence ID: consecutively increasing ID \n\
00119 uint32 seq\n\
00120 #Two-integer timestamp that is expressed as:\n\
00121 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00122 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00123 # time-handling sugar is provided by the client library\n\
00124 time stamp\n\
00125 #Frame this data is associated with\n\
00126 # 0: no frame\n\
00127 # 1: global frame\n\
00128 string frame_id\n\
00129 \n\
00130 ================================================================================\n\
00131 MSG: geometry_msgs/Transform\n\
00132 # This represents the transform between two coordinate frames in free space.\n\
00133 \n\
00134 Vector3 translation\n\
00135 Quaternion rotation\n\
00136 \n\
00137 ================================================================================\n\
00138 MSG: geometry_msgs/Vector3\n\
00139 # This represents a vector in free space. \n\
00140 \n\
00141 float64 x\n\
00142 float64 y\n\
00143 float64 z\n\
00144 ================================================================================\n\
00145 MSG: geometry_msgs/Quaternion\n\
00146 # This represents an orientation in free space in quaternion form.\n\
00147 \n\
00148 float64 x\n\
00149 float64 y\n\
00150 float64 z\n\
00151 float64 w\n\
00152 \n\
00153 ================================================================================\n\
00154 MSG: tf2_msgs/TF2Error\n\
00155 uint8 NO_ERROR = 0\n\
00156 uint8 LOOKUP_ERROR = 1\n\
00157 uint8 CONNECTIVITY_ERROR = 2\n\
00158 uint8 EXTRAPOLATION_ERROR = 3\n\
00159 uint8 INVALID_ARGUMENT_ERROR = 4\n\
00160 uint8 TIMEOUT_ERROR = 5\n\
00161 uint8 TRANSFORM_ERROR = 6\n\
00162 \n\
00163 uint8 error\n\
00164 string error_string\n\
00165 \n\
00166 ";
00167 }
00168
00169 static const char* value(const ::tf2_msgs::LookupTransformResult_<ContainerAllocator> &) { return value(); }
00170 };
00171
00172 }
00173 }
00174
00175 namespace ros
00176 {
00177 namespace serialization
00178 {
00179
00180 template<class ContainerAllocator> struct Serializer< ::tf2_msgs::LookupTransformResult_<ContainerAllocator> >
00181 {
00182 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00183 {
00184 stream.next(m.transform);
00185 stream.next(m.error);
00186 }
00187
00188 ROS_DECLARE_ALLINONE_SERIALIZER;
00189 };
00190 }
00191 }
00192
00193 namespace ros
00194 {
00195 namespace message_operations
00196 {
00197
00198 template<class ContainerAllocator>
00199 struct Printer< ::tf2_msgs::LookupTransformResult_<ContainerAllocator> >
00200 {
00201 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::tf2_msgs::LookupTransformResult_<ContainerAllocator> & v)
00202 {
00203 s << indent << "transform: ";
00204 s << std::endl;
00205 Printer< ::geometry_msgs::TransformStamped_<ContainerAllocator> >::stream(s, indent + " ", v.transform);
00206 s << indent << "error: ";
00207 s << std::endl;
00208 Printer< ::tf2_msgs::TF2Error_<ContainerAllocator> >::stream(s, indent + " ", v.error);
00209 }
00210 };
00211
00212
00213 }
00214 }
00215
00216 #endif // TF2_MSGS_MESSAGE_LOOKUPTRANSFORMRESULT_H
00217