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