Go to the documentation of this file.00001
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 typedef boost::shared_ptr< ::nao_msgs::GetTrueposeRequest_<ContainerAllocator> > Ptr;
00039 typedef boost::shared_ptr< ::nao_msgs::GetTrueposeRequest_<ContainerAllocator> const> ConstPtr;
00040 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00041 };
00042 typedef ::nao_msgs::GetTrueposeRequest_<std::allocator<void> > GetTrueposeRequest;
00043
00044 typedef boost::shared_ptr< ::nao_msgs::GetTrueposeRequest> GetTrueposeRequestPtr;
00045 typedef boost::shared_ptr< ::nao_msgs::GetTrueposeRequest const> GetTrueposeRequestConstPtr;
00046
00047
00048 template <class ContainerAllocator>
00049 struct GetTrueposeResponse_ {
00050 typedef GetTrueposeResponse_<ContainerAllocator> Type;
00051
00052 GetTrueposeResponse_()
00053 : pose()
00054 {
00055 }
00056
00057 GetTrueposeResponse_(const ContainerAllocator& _alloc)
00058 : pose(_alloc)
00059 {
00060 }
00061
00062 typedef ::geometry_msgs::PoseWithCovarianceStamped_<ContainerAllocator> _pose_type;
00063 ::geometry_msgs::PoseWithCovarianceStamped_<ContainerAllocator> pose;
00064
00065
00066 typedef boost::shared_ptr< ::nao_msgs::GetTrueposeResponse_<ContainerAllocator> > Ptr;
00067 typedef boost::shared_ptr< ::nao_msgs::GetTrueposeResponse_<ContainerAllocator> const> ConstPtr;
00068 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00069 };
00070 typedef ::nao_msgs::GetTrueposeResponse_<std::allocator<void> > GetTrueposeResponse;
00071
00072 typedef boost::shared_ptr< ::nao_msgs::GetTrueposeResponse> GetTrueposeResponsePtr;
00073 typedef boost::shared_ptr< ::nao_msgs::GetTrueposeResponse const> GetTrueposeResponseConstPtr;
00074
00075 struct GetTruepose
00076 {
00077
00078 typedef GetTrueposeRequest Request;
00079 typedef GetTrueposeResponse Response;
00080 Request request;
00081 Response response;
00082
00083 typedef Request RequestType;
00084 typedef Response ResponseType;
00085 };
00086 }
00087
00088 namespace ros
00089 {
00090 namespace message_traits
00091 {
00092 template<class ContainerAllocator> struct IsMessage< ::nao_msgs::GetTrueposeRequest_<ContainerAllocator> > : public TrueType {};
00093 template<class ContainerAllocator> struct IsMessage< ::nao_msgs::GetTrueposeRequest_<ContainerAllocator> const> : public TrueType {};
00094 template<class ContainerAllocator>
00095 struct MD5Sum< ::nao_msgs::GetTrueposeRequest_<ContainerAllocator> > {
00096 static const char* value()
00097 {
00098 return "d41d8cd98f00b204e9800998ecf8427e";
00099 }
00100
00101 static const char* value(const ::nao_msgs::GetTrueposeRequest_<ContainerAllocator> &) { return value(); }
00102 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00103 static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00104 };
00105
00106 template<class ContainerAllocator>
00107 struct DataType< ::nao_msgs::GetTrueposeRequest_<ContainerAllocator> > {
00108 static const char* value()
00109 {
00110 return "nao_msgs/GetTrueposeRequest";
00111 }
00112
00113 static const char* value(const ::nao_msgs::GetTrueposeRequest_<ContainerAllocator> &) { return value(); }
00114 };
00115
00116 template<class ContainerAllocator>
00117 struct Definition< ::nao_msgs::GetTrueposeRequest_<ContainerAllocator> > {
00118 static const char* value()
00119 {
00120 return "\n\
00121 \n\
00122 ";
00123 }
00124
00125 static const char* value(const ::nao_msgs::GetTrueposeRequest_<ContainerAllocator> &) { return value(); }
00126 };
00127
00128 template<class ContainerAllocator> struct IsFixedSize< ::nao_msgs::GetTrueposeRequest_<ContainerAllocator> > : public TrueType {};
00129 }
00130 }
00131
00132
00133 namespace ros
00134 {
00135 namespace message_traits
00136 {
00137 template<class ContainerAllocator> struct IsMessage< ::nao_msgs::GetTrueposeResponse_<ContainerAllocator> > : public TrueType {};
00138 template<class ContainerAllocator> struct IsMessage< ::nao_msgs::GetTrueposeResponse_<ContainerAllocator> const> : public TrueType {};
00139 template<class ContainerAllocator>
00140 struct MD5Sum< ::nao_msgs::GetTrueposeResponse_<ContainerAllocator> > {
00141 static const char* value()
00142 {
00143 return "4f3e0bbe7a24e1f929488cd1970222d3";
00144 }
00145
00146 static const char* value(const ::nao_msgs::GetTrueposeResponse_<ContainerAllocator> &) { return value(); }
00147 static const uint64_t static_value1 = 0x4f3e0bbe7a24e1f9ULL;
00148 static const uint64_t static_value2 = 0x29488cd1970222d3ULL;
00149 };
00150
00151 template<class ContainerAllocator>
00152 struct DataType< ::nao_msgs::GetTrueposeResponse_<ContainerAllocator> > {
00153 static const char* value()
00154 {
00155 return "nao_msgs/GetTrueposeResponse";
00156 }
00157
00158 static const char* value(const ::nao_msgs::GetTrueposeResponse_<ContainerAllocator> &) { return value(); }
00159 };
00160
00161 template<class ContainerAllocator>
00162 struct Definition< ::nao_msgs::GetTrueposeResponse_<ContainerAllocator> > {
00163 static const char* value()
00164 {
00165 return "geometry_msgs/PoseWithCovarianceStamped pose\n\
00166 \n\
00167 ================================================================================\n\
00168 MSG: geometry_msgs/PoseWithCovarianceStamped\n\
00169 # This expresses an estimated pose with a reference coordinate frame and timestamp\n\
00170 \n\
00171 Header header\n\
00172 PoseWithCovariance pose\n\
00173 \n\
00174 ================================================================================\n\
00175 MSG: std_msgs/Header\n\
00176 # Standard metadata for higher-level stamped data types.\n\
00177 # This is generally used to communicate timestamped data \n\
00178 # in a particular coordinate frame.\n\
00179 # \n\
00180 # sequence ID: consecutively increasing ID \n\
00181 uint32 seq\n\
00182 #Two-integer timestamp that is expressed as:\n\
00183 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00184 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00185 # time-handling sugar is provided by the client library\n\
00186 time stamp\n\
00187 #Frame this data is associated with\n\
00188 # 0: no frame\n\
00189 # 1: global frame\n\
00190 string frame_id\n\
00191 \n\
00192 ================================================================================\n\
00193 MSG: geometry_msgs/PoseWithCovariance\n\
00194 # This represents a pose in free space with uncertainty.\n\
00195 \n\
00196 Pose pose\n\
00197 \n\
00198 # Row-major representation of the 6x6 covariance matrix\n\
00199 # The orientation parameters use a fixed-axis representation.\n\
00200 # In order, the parameters are:\n\
00201 # (x, y, z, rotation about X axis, rotation about Y axis, rotation about Z axis)\n\
00202 float64[36] covariance\n\
00203 \n\
00204 ================================================================================\n\
00205 MSG: geometry_msgs/Pose\n\
00206 # A representation of pose in free space, composed of postion and orientation. \n\
00207 Point position\n\
00208 Quaternion orientation\n\
00209 \n\
00210 ================================================================================\n\
00211 MSG: geometry_msgs/Point\n\
00212 # This contains the position of a point in free space\n\
00213 float64 x\n\
00214 float64 y\n\
00215 float64 z\n\
00216 \n\
00217 ================================================================================\n\
00218 MSG: geometry_msgs/Quaternion\n\
00219 # This represents an orientation in free space in quaternion form.\n\
00220 \n\
00221 float64 x\n\
00222 float64 y\n\
00223 float64 z\n\
00224 float64 w\n\
00225 \n\
00226 ";
00227 }
00228
00229 static const char* value(const ::nao_msgs::GetTrueposeResponse_<ContainerAllocator> &) { return value(); }
00230 };
00231
00232 }
00233 }
00234
00235 namespace ros
00236 {
00237 namespace serialization
00238 {
00239
00240 template<class ContainerAllocator> struct Serializer< ::nao_msgs::GetTrueposeRequest_<ContainerAllocator> >
00241 {
00242 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00243 {
00244 }
00245
00246 ROS_DECLARE_ALLINONE_SERIALIZER;
00247 };
00248 }
00249 }
00250
00251
00252 namespace ros
00253 {
00254 namespace serialization
00255 {
00256
00257 template<class ContainerAllocator> struct Serializer< ::nao_msgs::GetTrueposeResponse_<ContainerAllocator> >
00258 {
00259 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00260 {
00261 stream.next(m.pose);
00262 }
00263
00264 ROS_DECLARE_ALLINONE_SERIALIZER;
00265 };
00266 }
00267 }
00268
00269 namespace ros
00270 {
00271 namespace service_traits
00272 {
00273 template<>
00274 struct MD5Sum<nao_msgs::GetTruepose> {
00275 static const char* value()
00276 {
00277 return "4f3e0bbe7a24e1f929488cd1970222d3";
00278 }
00279
00280 static const char* value(const nao_msgs::GetTruepose&) { return value(); }
00281 };
00282
00283 template<>
00284 struct DataType<nao_msgs::GetTruepose> {
00285 static const char* value()
00286 {
00287 return "nao_msgs/GetTruepose";
00288 }
00289
00290 static const char* value(const nao_msgs::GetTruepose&) { return value(); }
00291 };
00292
00293 template<class ContainerAllocator>
00294 struct MD5Sum<nao_msgs::GetTrueposeRequest_<ContainerAllocator> > {
00295 static const char* value()
00296 {
00297 return "4f3e0bbe7a24e1f929488cd1970222d3";
00298 }
00299
00300 static const char* value(const nao_msgs::GetTrueposeRequest_<ContainerAllocator> &) { return value(); }
00301 };
00302
00303 template<class ContainerAllocator>
00304 struct DataType<nao_msgs::GetTrueposeRequest_<ContainerAllocator> > {
00305 static const char* value()
00306 {
00307 return "nao_msgs/GetTruepose";
00308 }
00309
00310 static const char* value(const nao_msgs::GetTrueposeRequest_<ContainerAllocator> &) { return value(); }
00311 };
00312
00313 template<class ContainerAllocator>
00314 struct MD5Sum<nao_msgs::GetTrueposeResponse_<ContainerAllocator> > {
00315 static const char* value()
00316 {
00317 return "4f3e0bbe7a24e1f929488cd1970222d3";
00318 }
00319
00320 static const char* value(const nao_msgs::GetTrueposeResponse_<ContainerAllocator> &) { return value(); }
00321 };
00322
00323 template<class ContainerAllocator>
00324 struct DataType<nao_msgs::GetTrueposeResponse_<ContainerAllocator> > {
00325 static const char* value()
00326 {
00327 return "nao_msgs/GetTruepose";
00328 }
00329
00330 static const char* value(const nao_msgs::GetTrueposeResponse_<ContainerAllocator> &) { return value(); }
00331 };
00332
00333 }
00334 }
00335
00336 #endif // NAO_MSGS_SERVICE_GETTRUEPOSE_H
00337