00001
00002 #ifndef VREP_COMMON_SERVICE_SIMROSGETJOINTMATRIX_H
00003 #define VREP_COMMON_SERVICE_SIMROSGETJOINTMATRIX_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/TransformStamped.h"
00022
00023 namespace vrep_common
00024 {
00025 template <class ContainerAllocator>
00026 struct simRosGetJointMatrixRequest_ {
00027 typedef simRosGetJointMatrixRequest_<ContainerAllocator> Type;
00028
00029 simRosGetJointMatrixRequest_()
00030 : handle(0)
00031 {
00032 }
00033
00034 simRosGetJointMatrixRequest_(const ContainerAllocator& _alloc)
00035 : handle(0)
00036 {
00037 }
00038
00039 typedef int32_t _handle_type;
00040 int32_t handle;
00041
00042
00043 typedef boost::shared_ptr< ::vrep_common::simRosGetJointMatrixRequest_<ContainerAllocator> > Ptr;
00044 typedef boost::shared_ptr< ::vrep_common::simRosGetJointMatrixRequest_<ContainerAllocator> const> ConstPtr;
00045 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00046 };
00047 typedef ::vrep_common::simRosGetJointMatrixRequest_<std::allocator<void> > simRosGetJointMatrixRequest;
00048
00049 typedef boost::shared_ptr< ::vrep_common::simRosGetJointMatrixRequest> simRosGetJointMatrixRequestPtr;
00050 typedef boost::shared_ptr< ::vrep_common::simRosGetJointMatrixRequest const> simRosGetJointMatrixRequestConstPtr;
00051
00052
00053 template <class ContainerAllocator>
00054 struct simRosGetJointMatrixResponse_ {
00055 typedef simRosGetJointMatrixResponse_<ContainerAllocator> Type;
00056
00057 simRosGetJointMatrixResponse_()
00058 : result(0)
00059 , transform()
00060 {
00061 }
00062
00063 simRosGetJointMatrixResponse_(const ContainerAllocator& _alloc)
00064 : result(0)
00065 , transform(_alloc)
00066 {
00067 }
00068
00069 typedef int32_t _result_type;
00070 int32_t result;
00071
00072 typedef ::geometry_msgs::TransformStamped_<ContainerAllocator> _transform_type;
00073 ::geometry_msgs::TransformStamped_<ContainerAllocator> transform;
00074
00075
00076 typedef boost::shared_ptr< ::vrep_common::simRosGetJointMatrixResponse_<ContainerAllocator> > Ptr;
00077 typedef boost::shared_ptr< ::vrep_common::simRosGetJointMatrixResponse_<ContainerAllocator> const> ConstPtr;
00078 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00079 };
00080 typedef ::vrep_common::simRosGetJointMatrixResponse_<std::allocator<void> > simRosGetJointMatrixResponse;
00081
00082 typedef boost::shared_ptr< ::vrep_common::simRosGetJointMatrixResponse> simRosGetJointMatrixResponsePtr;
00083 typedef boost::shared_ptr< ::vrep_common::simRosGetJointMatrixResponse const> simRosGetJointMatrixResponseConstPtr;
00084
00085 struct simRosGetJointMatrix
00086 {
00087
00088 typedef simRosGetJointMatrixRequest Request;
00089 typedef simRosGetJointMatrixResponse Response;
00090 Request request;
00091 Response response;
00092
00093 typedef Request RequestType;
00094 typedef Response ResponseType;
00095 };
00096 }
00097
00098 namespace ros
00099 {
00100 namespace message_traits
00101 {
00102 template<class ContainerAllocator> struct IsMessage< ::vrep_common::simRosGetJointMatrixRequest_<ContainerAllocator> > : public TrueType {};
00103 template<class ContainerAllocator> struct IsMessage< ::vrep_common::simRosGetJointMatrixRequest_<ContainerAllocator> const> : public TrueType {};
00104 template<class ContainerAllocator>
00105 struct MD5Sum< ::vrep_common::simRosGetJointMatrixRequest_<ContainerAllocator> > {
00106 static const char* value()
00107 {
00108 return "92535b678299d2bdda959704e78c275e";
00109 }
00110
00111 static const char* value(const ::vrep_common::simRosGetJointMatrixRequest_<ContainerAllocator> &) { return value(); }
00112 static const uint64_t static_value1 = 0x92535b678299d2bdULL;
00113 static const uint64_t static_value2 = 0xda959704e78c275eULL;
00114 };
00115
00116 template<class ContainerAllocator>
00117 struct DataType< ::vrep_common::simRosGetJointMatrixRequest_<ContainerAllocator> > {
00118 static const char* value()
00119 {
00120 return "vrep_common/simRosGetJointMatrixRequest";
00121 }
00122
00123 static const char* value(const ::vrep_common::simRosGetJointMatrixRequest_<ContainerAllocator> &) { return value(); }
00124 };
00125
00126 template<class ContainerAllocator>
00127 struct Definition< ::vrep_common::simRosGetJointMatrixRequest_<ContainerAllocator> > {
00128 static const char* value()
00129 {
00130 return "\n\
00131 \n\
00132 \n\
00133 \n\
00134 int32 handle\n\
00135 \n\
00136 ";
00137 }
00138
00139 static const char* value(const ::vrep_common::simRosGetJointMatrixRequest_<ContainerAllocator> &) { return value(); }
00140 };
00141
00142 template<class ContainerAllocator> struct IsFixedSize< ::vrep_common::simRosGetJointMatrixRequest_<ContainerAllocator> > : public TrueType {};
00143 }
00144 }
00145
00146
00147 namespace ros
00148 {
00149 namespace message_traits
00150 {
00151 template<class ContainerAllocator> struct IsMessage< ::vrep_common::simRosGetJointMatrixResponse_<ContainerAllocator> > : public TrueType {};
00152 template<class ContainerAllocator> struct IsMessage< ::vrep_common::simRosGetJointMatrixResponse_<ContainerAllocator> const> : public TrueType {};
00153 template<class ContainerAllocator>
00154 struct MD5Sum< ::vrep_common::simRosGetJointMatrixResponse_<ContainerAllocator> > {
00155 static const char* value()
00156 {
00157 return "ea4c0896312fb5454e09fdc654d37fab";
00158 }
00159
00160 static const char* value(const ::vrep_common::simRosGetJointMatrixResponse_<ContainerAllocator> &) { return value(); }
00161 static const uint64_t static_value1 = 0xea4c0896312fb545ULL;
00162 static const uint64_t static_value2 = 0x4e09fdc654d37fabULL;
00163 };
00164
00165 template<class ContainerAllocator>
00166 struct DataType< ::vrep_common::simRosGetJointMatrixResponse_<ContainerAllocator> > {
00167 static const char* value()
00168 {
00169 return "vrep_common/simRosGetJointMatrixResponse";
00170 }
00171
00172 static const char* value(const ::vrep_common::simRosGetJointMatrixResponse_<ContainerAllocator> &) { return value(); }
00173 };
00174
00175 template<class ContainerAllocator>
00176 struct Definition< ::vrep_common::simRosGetJointMatrixResponse_<ContainerAllocator> > {
00177 static const char* value()
00178 {
00179 return "int32 result\n\
00180 geometry_msgs/TransformStamped transform\n\
00181 \n\
00182 \n\
00183 ================================================================================\n\
00184 MSG: geometry_msgs/TransformStamped\n\
00185 # This expresses a transform from coordinate frame header.frame_id\n\
00186 # to the coordinate frame child_frame_id\n\
00187 #\n\
00188 # This message is mostly used by the \n\
00189 # <a href=\"http://www.ros.org/wiki/tf\">tf</a> package. \n\
00190 # See it's documentation for more information.\n\
00191 \n\
00192 Header header\n\
00193 string child_frame_id # the frame id of the child frame\n\
00194 Transform transform\n\
00195 \n\
00196 ================================================================================\n\
00197 MSG: std_msgs/Header\n\
00198 # Standard metadata for higher-level stamped data types.\n\
00199 # This is generally used to communicate timestamped data \n\
00200 # in a particular coordinate frame.\n\
00201 # \n\
00202 # sequence ID: consecutively increasing ID \n\
00203 uint32 seq\n\
00204 #Two-integer timestamp that is expressed as:\n\
00205 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00206 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00207 # time-handling sugar is provided by the client library\n\
00208 time stamp\n\
00209 #Frame this data is associated with\n\
00210 # 0: no frame\n\
00211 # 1: global frame\n\
00212 string frame_id\n\
00213 \n\
00214 ================================================================================\n\
00215 MSG: geometry_msgs/Transform\n\
00216 # This represents the transform between two coordinate frames in free space.\n\
00217 \n\
00218 Vector3 translation\n\
00219 Quaternion rotation\n\
00220 \n\
00221 ================================================================================\n\
00222 MSG: geometry_msgs/Vector3\n\
00223 # This represents a vector in free space. \n\
00224 \n\
00225 float64 x\n\
00226 float64 y\n\
00227 float64 z\n\
00228 ================================================================================\n\
00229 MSG: geometry_msgs/Quaternion\n\
00230 # This represents an orientation in free space in quaternion form.\n\
00231 \n\
00232 float64 x\n\
00233 float64 y\n\
00234 float64 z\n\
00235 float64 w\n\
00236 \n\
00237 ";
00238 }
00239
00240 static const char* value(const ::vrep_common::simRosGetJointMatrixResponse_<ContainerAllocator> &) { return value(); }
00241 };
00242
00243 }
00244 }
00245
00246 namespace ros
00247 {
00248 namespace serialization
00249 {
00250
00251 template<class ContainerAllocator> struct Serializer< ::vrep_common::simRosGetJointMatrixRequest_<ContainerAllocator> >
00252 {
00253 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00254 {
00255 stream.next(m.handle);
00256 }
00257
00258 ROS_DECLARE_ALLINONE_SERIALIZER;
00259 };
00260 }
00261 }
00262
00263
00264 namespace ros
00265 {
00266 namespace serialization
00267 {
00268
00269 template<class ContainerAllocator> struct Serializer< ::vrep_common::simRosGetJointMatrixResponse_<ContainerAllocator> >
00270 {
00271 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00272 {
00273 stream.next(m.result);
00274 stream.next(m.transform);
00275 }
00276
00277 ROS_DECLARE_ALLINONE_SERIALIZER;
00278 };
00279 }
00280 }
00281
00282 namespace ros
00283 {
00284 namespace service_traits
00285 {
00286 template<>
00287 struct MD5Sum<vrep_common::simRosGetJointMatrix> {
00288 static const char* value()
00289 {
00290 return "a4cf19b442f7dd0e7c71aebcc49e75d2";
00291 }
00292
00293 static const char* value(const vrep_common::simRosGetJointMatrix&) { return value(); }
00294 };
00295
00296 template<>
00297 struct DataType<vrep_common::simRosGetJointMatrix> {
00298 static const char* value()
00299 {
00300 return "vrep_common/simRosGetJointMatrix";
00301 }
00302
00303 static const char* value(const vrep_common::simRosGetJointMatrix&) { return value(); }
00304 };
00305
00306 template<class ContainerAllocator>
00307 struct MD5Sum<vrep_common::simRosGetJointMatrixRequest_<ContainerAllocator> > {
00308 static const char* value()
00309 {
00310 return "a4cf19b442f7dd0e7c71aebcc49e75d2";
00311 }
00312
00313 static const char* value(const vrep_common::simRosGetJointMatrixRequest_<ContainerAllocator> &) { return value(); }
00314 };
00315
00316 template<class ContainerAllocator>
00317 struct DataType<vrep_common::simRosGetJointMatrixRequest_<ContainerAllocator> > {
00318 static const char* value()
00319 {
00320 return "vrep_common/simRosGetJointMatrix";
00321 }
00322
00323 static const char* value(const vrep_common::simRosGetJointMatrixRequest_<ContainerAllocator> &) { return value(); }
00324 };
00325
00326 template<class ContainerAllocator>
00327 struct MD5Sum<vrep_common::simRosGetJointMatrixResponse_<ContainerAllocator> > {
00328 static const char* value()
00329 {
00330 return "a4cf19b442f7dd0e7c71aebcc49e75d2";
00331 }
00332
00333 static const char* value(const vrep_common::simRosGetJointMatrixResponse_<ContainerAllocator> &) { return value(); }
00334 };
00335
00336 template<class ContainerAllocator>
00337 struct DataType<vrep_common::simRosGetJointMatrixResponse_<ContainerAllocator> > {
00338 static const char* value()
00339 {
00340 return "vrep_common/simRosGetJointMatrix";
00341 }
00342
00343 static const char* value(const vrep_common::simRosGetJointMatrixResponse_<ContainerAllocator> &) { return value(); }
00344 };
00345
00346 }
00347 }
00348
00349 #endif // VREP_COMMON_SERVICE_SIMROSGETJOINTMATRIX_H
00350