Go to the documentation of this file.00001
00002 #ifndef ZYONZ_CAMERA_POSE_AROUND_POINT_SERVICE_GETPOSE_H
00003 #define ZYONZ_CAMERA_POSE_AROUND_POINT_SERVICE_GETPOSE_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 #include "geometry_msgs/PoseStamped.h"
00023
00024 namespace zyonz_camera_pose_around_point
00025 {
00026 template <class ContainerAllocator>
00027 struct GetPoseRequest_ {
00028 typedef GetPoseRequest_<ContainerAllocator> Type;
00029
00030 GetPoseRequest_()
00031 : view_point()
00032 , dist_m(0.0)
00033 , rad_x_rot(0.0)
00034 , rad_y_rot(0.0)
00035 {
00036 }
00037
00038 GetPoseRequest_(const ContainerAllocator& _alloc)
00039 : view_point(_alloc)
00040 , dist_m(0.0)
00041 , rad_x_rot(0.0)
00042 , rad_y_rot(0.0)
00043 {
00044 }
00045
00046 typedef ::geometry_msgs::PoseStamped_<ContainerAllocator> _view_point_type;
00047 ::geometry_msgs::PoseStamped_<ContainerAllocator> view_point;
00048
00049 typedef double _dist_m_type;
00050 double dist_m;
00051
00052 typedef double _rad_x_rot_type;
00053 double rad_x_rot;
00054
00055 typedef double _rad_y_rot_type;
00056 double rad_y_rot;
00057
00058
00059 typedef boost::shared_ptr< ::zyonz_camera_pose_around_point::GetPoseRequest_<ContainerAllocator> > Ptr;
00060 typedef boost::shared_ptr< ::zyonz_camera_pose_around_point::GetPoseRequest_<ContainerAllocator> const> ConstPtr;
00061 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00062 };
00063 typedef ::zyonz_camera_pose_around_point::GetPoseRequest_<std::allocator<void> > GetPoseRequest;
00064
00065 typedef boost::shared_ptr< ::zyonz_camera_pose_around_point::GetPoseRequest> GetPoseRequestPtr;
00066 typedef boost::shared_ptr< ::zyonz_camera_pose_around_point::GetPoseRequest const> GetPoseRequestConstPtr;
00067
00068
00069 template <class ContainerAllocator>
00070 struct GetPoseResponse_ {
00071 typedef GetPoseResponse_<ContainerAllocator> Type;
00072
00073 GetPoseResponse_()
00074 : camera_pose()
00075 {
00076 }
00077
00078 GetPoseResponse_(const ContainerAllocator& _alloc)
00079 : camera_pose(_alloc)
00080 {
00081 }
00082
00083 typedef ::geometry_msgs::PoseStamped_<ContainerAllocator> _camera_pose_type;
00084 ::geometry_msgs::PoseStamped_<ContainerAllocator> camera_pose;
00085
00086
00087 typedef boost::shared_ptr< ::zyonz_camera_pose_around_point::GetPoseResponse_<ContainerAllocator> > Ptr;
00088 typedef boost::shared_ptr< ::zyonz_camera_pose_around_point::GetPoseResponse_<ContainerAllocator> const> ConstPtr;
00089 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00090 };
00091 typedef ::zyonz_camera_pose_around_point::GetPoseResponse_<std::allocator<void> > GetPoseResponse;
00092
00093 typedef boost::shared_ptr< ::zyonz_camera_pose_around_point::GetPoseResponse> GetPoseResponsePtr;
00094 typedef boost::shared_ptr< ::zyonz_camera_pose_around_point::GetPoseResponse const> GetPoseResponseConstPtr;
00095
00096 struct GetPose
00097 {
00098
00099 typedef GetPoseRequest Request;
00100 typedef GetPoseResponse Response;
00101 Request request;
00102 Response response;
00103
00104 typedef Request RequestType;
00105 typedef Response ResponseType;
00106 };
00107 }
00108
00109 namespace ros
00110 {
00111 namespace message_traits
00112 {
00113 template<class ContainerAllocator> struct IsMessage< ::zyonz_camera_pose_around_point::GetPoseRequest_<ContainerAllocator> > : public TrueType {};
00114 template<class ContainerAllocator> struct IsMessage< ::zyonz_camera_pose_around_point::GetPoseRequest_<ContainerAllocator> const> : public TrueType {};
00115 template<class ContainerAllocator>
00116 struct MD5Sum< ::zyonz_camera_pose_around_point::GetPoseRequest_<ContainerAllocator> > {
00117 static const char* value()
00118 {
00119 return "d87fdcc7ace13b2e88e34dcc06652e84";
00120 }
00121
00122 static const char* value(const ::zyonz_camera_pose_around_point::GetPoseRequest_<ContainerAllocator> &) { return value(); }
00123 static const uint64_t static_value1 = 0xd87fdcc7ace13b2eULL;
00124 static const uint64_t static_value2 = 0x88e34dcc06652e84ULL;
00125 };
00126
00127 template<class ContainerAllocator>
00128 struct DataType< ::zyonz_camera_pose_around_point::GetPoseRequest_<ContainerAllocator> > {
00129 static const char* value()
00130 {
00131 return "zyonz_camera_pose_around_point/GetPoseRequest";
00132 }
00133
00134 static const char* value(const ::zyonz_camera_pose_around_point::GetPoseRequest_<ContainerAllocator> &) { return value(); }
00135 };
00136
00137 template<class ContainerAllocator>
00138 struct Definition< ::zyonz_camera_pose_around_point::GetPoseRequest_<ContainerAllocator> > {
00139 static const char* value()
00140 {
00141 return "\n\
00142 geometry_msgs/PoseStamped view_point\n\
00143 float64 dist_m\n\
00144 float64 rad_x_rot\n\
00145 float64 rad_y_rot\n\
00146 \n\
00147 ================================================================================\n\
00148 MSG: geometry_msgs/PoseStamped\n\
00149 # A Pose with reference coordinate frame and timestamp\n\
00150 Header header\n\
00151 Pose pose\n\
00152 \n\
00153 ================================================================================\n\
00154 MSG: std_msgs/Header\n\
00155 # Standard metadata for higher-level stamped data types.\n\
00156 # This is generally used to communicate timestamped data \n\
00157 # in a particular coordinate frame.\n\
00158 # \n\
00159 # sequence ID: consecutively increasing ID \n\
00160 uint32 seq\n\
00161 #Two-integer timestamp that is expressed as:\n\
00162 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00163 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00164 # time-handling sugar is provided by the client library\n\
00165 time stamp\n\
00166 #Frame this data is associated with\n\
00167 # 0: no frame\n\
00168 # 1: global frame\n\
00169 string frame_id\n\
00170 \n\
00171 ================================================================================\n\
00172 MSG: geometry_msgs/Pose\n\
00173 # A representation of pose in free space, composed of postion and orientation. \n\
00174 Point position\n\
00175 Quaternion orientation\n\
00176 \n\
00177 ================================================================================\n\
00178 MSG: geometry_msgs/Point\n\
00179 # This contains the position of a point in free space\n\
00180 float64 x\n\
00181 float64 y\n\
00182 float64 z\n\
00183 \n\
00184 ================================================================================\n\
00185 MSG: geometry_msgs/Quaternion\n\
00186 # This represents an orientation in free space in quaternion form.\n\
00187 \n\
00188 float64 x\n\
00189 float64 y\n\
00190 float64 z\n\
00191 float64 w\n\
00192 \n\
00193 ";
00194 }
00195
00196 static const char* value(const ::zyonz_camera_pose_around_point::GetPoseRequest_<ContainerAllocator> &) { return value(); }
00197 };
00198
00199 }
00200 }
00201
00202
00203 namespace ros
00204 {
00205 namespace message_traits
00206 {
00207 template<class ContainerAllocator> struct IsMessage< ::zyonz_camera_pose_around_point::GetPoseResponse_<ContainerAllocator> > : public TrueType {};
00208 template<class ContainerAllocator> struct IsMessage< ::zyonz_camera_pose_around_point::GetPoseResponse_<ContainerAllocator> const> : public TrueType {};
00209 template<class ContainerAllocator>
00210 struct MD5Sum< ::zyonz_camera_pose_around_point::GetPoseResponse_<ContainerAllocator> > {
00211 static const char* value()
00212 {
00213 return "246a9de5f3aa72a785c6eca7097a1af8";
00214 }
00215
00216 static const char* value(const ::zyonz_camera_pose_around_point::GetPoseResponse_<ContainerAllocator> &) { return value(); }
00217 static const uint64_t static_value1 = 0x246a9de5f3aa72a7ULL;
00218 static const uint64_t static_value2 = 0x85c6eca7097a1af8ULL;
00219 };
00220
00221 template<class ContainerAllocator>
00222 struct DataType< ::zyonz_camera_pose_around_point::GetPoseResponse_<ContainerAllocator> > {
00223 static const char* value()
00224 {
00225 return "zyonz_camera_pose_around_point/GetPoseResponse";
00226 }
00227
00228 static const char* value(const ::zyonz_camera_pose_around_point::GetPoseResponse_<ContainerAllocator> &) { return value(); }
00229 };
00230
00231 template<class ContainerAllocator>
00232 struct Definition< ::zyonz_camera_pose_around_point::GetPoseResponse_<ContainerAllocator> > {
00233 static const char* value()
00234 {
00235 return "\n\
00236 geometry_msgs/PoseStamped camera_pose\n\
00237 \n\
00238 \n\
00239 ================================================================================\n\
00240 MSG: geometry_msgs/PoseStamped\n\
00241 # A Pose with reference coordinate frame and timestamp\n\
00242 Header header\n\
00243 Pose pose\n\
00244 \n\
00245 ================================================================================\n\
00246 MSG: std_msgs/Header\n\
00247 # Standard metadata for higher-level stamped data types.\n\
00248 # This is generally used to communicate timestamped data \n\
00249 # in a particular coordinate frame.\n\
00250 # \n\
00251 # sequence ID: consecutively increasing ID \n\
00252 uint32 seq\n\
00253 #Two-integer timestamp that is expressed as:\n\
00254 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00255 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00256 # time-handling sugar is provided by the client library\n\
00257 time stamp\n\
00258 #Frame this data is associated with\n\
00259 # 0: no frame\n\
00260 # 1: global frame\n\
00261 string frame_id\n\
00262 \n\
00263 ================================================================================\n\
00264 MSG: geometry_msgs/Pose\n\
00265 # A representation of pose in free space, composed of postion and orientation. \n\
00266 Point position\n\
00267 Quaternion orientation\n\
00268 \n\
00269 ================================================================================\n\
00270 MSG: geometry_msgs/Point\n\
00271 # This contains the position of a point in free space\n\
00272 float64 x\n\
00273 float64 y\n\
00274 float64 z\n\
00275 \n\
00276 ================================================================================\n\
00277 MSG: geometry_msgs/Quaternion\n\
00278 # This represents an orientation in free space in quaternion form.\n\
00279 \n\
00280 float64 x\n\
00281 float64 y\n\
00282 float64 z\n\
00283 float64 w\n\
00284 \n\
00285 ";
00286 }
00287
00288 static const char* value(const ::zyonz_camera_pose_around_point::GetPoseResponse_<ContainerAllocator> &) { return value(); }
00289 };
00290
00291 }
00292 }
00293
00294 namespace ros
00295 {
00296 namespace serialization
00297 {
00298
00299 template<class ContainerAllocator> struct Serializer< ::zyonz_camera_pose_around_point::GetPoseRequest_<ContainerAllocator> >
00300 {
00301 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00302 {
00303 stream.next(m.view_point);
00304 stream.next(m.dist_m);
00305 stream.next(m.rad_x_rot);
00306 stream.next(m.rad_y_rot);
00307 }
00308
00309 ROS_DECLARE_ALLINONE_SERIALIZER;
00310 };
00311 }
00312 }
00313
00314
00315 namespace ros
00316 {
00317 namespace serialization
00318 {
00319
00320 template<class ContainerAllocator> struct Serializer< ::zyonz_camera_pose_around_point::GetPoseResponse_<ContainerAllocator> >
00321 {
00322 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00323 {
00324 stream.next(m.camera_pose);
00325 }
00326
00327 ROS_DECLARE_ALLINONE_SERIALIZER;
00328 };
00329 }
00330 }
00331
00332 namespace ros
00333 {
00334 namespace service_traits
00335 {
00336 template<>
00337 struct MD5Sum<zyonz_camera_pose_around_point::GetPose> {
00338 static const char* value()
00339 {
00340 return "25411257a55fefcb48accdecf353d3dc";
00341 }
00342
00343 static const char* value(const zyonz_camera_pose_around_point::GetPose&) { return value(); }
00344 };
00345
00346 template<>
00347 struct DataType<zyonz_camera_pose_around_point::GetPose> {
00348 static const char* value()
00349 {
00350 return "zyonz_camera_pose_around_point/GetPose";
00351 }
00352
00353 static const char* value(const zyonz_camera_pose_around_point::GetPose&) { return value(); }
00354 };
00355
00356 template<class ContainerAllocator>
00357 struct MD5Sum<zyonz_camera_pose_around_point::GetPoseRequest_<ContainerAllocator> > {
00358 static const char* value()
00359 {
00360 return "25411257a55fefcb48accdecf353d3dc";
00361 }
00362
00363 static const char* value(const zyonz_camera_pose_around_point::GetPoseRequest_<ContainerAllocator> &) { return value(); }
00364 };
00365
00366 template<class ContainerAllocator>
00367 struct DataType<zyonz_camera_pose_around_point::GetPoseRequest_<ContainerAllocator> > {
00368 static const char* value()
00369 {
00370 return "zyonz_camera_pose_around_point/GetPose";
00371 }
00372
00373 static const char* value(const zyonz_camera_pose_around_point::GetPoseRequest_<ContainerAllocator> &) { return value(); }
00374 };
00375
00376 template<class ContainerAllocator>
00377 struct MD5Sum<zyonz_camera_pose_around_point::GetPoseResponse_<ContainerAllocator> > {
00378 static const char* value()
00379 {
00380 return "25411257a55fefcb48accdecf353d3dc";
00381 }
00382
00383 static const char* value(const zyonz_camera_pose_around_point::GetPoseResponse_<ContainerAllocator> &) { return value(); }
00384 };
00385
00386 template<class ContainerAllocator>
00387 struct DataType<zyonz_camera_pose_around_point::GetPoseResponse_<ContainerAllocator> > {
00388 static const char* value()
00389 {
00390 return "zyonz_camera_pose_around_point/GetPose";
00391 }
00392
00393 static const char* value(const zyonz_camera_pose_around_point::GetPoseResponse_<ContainerAllocator> &) { return value(); }
00394 };
00395
00396 }
00397 }
00398
00399 #endif // ZYONZ_CAMERA_POSE_AROUND_POINT_SERVICE_GETPOSE_H
00400