00001
00002 #ifndef KINEMATICS_MSGS_SERVICE_GETKINEMATICSOLVERINFO_H
00003 #define KINEMATICS_MSGS_SERVICE_GETKINEMATICSOLVERINFO_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 "kinematics_msgs/KinematicSolverInfo.h"
00022
00023 namespace kinematics_msgs
00024 {
00025 template <class ContainerAllocator>
00026 struct GetKinematicSolverInfoRequest_ {
00027 typedef GetKinematicSolverInfoRequest_<ContainerAllocator> Type;
00028
00029 GetKinematicSolverInfoRequest_()
00030 {
00031 }
00032
00033 GetKinematicSolverInfoRequest_(const ContainerAllocator& _alloc)
00034 {
00035 }
00036
00037
00038 private:
00039 static const char* __s_getDataType_() { return "kinematics_msgs/GetKinematicSolverInfoRequest"; }
00040 public:
00041 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00042
00043 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00044
00045 private:
00046 static const char* __s_getMD5Sum_() { return "d41d8cd98f00b204e9800998ecf8427e"; }
00047 public:
00048 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00049
00050 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00051
00052 private:
00053 static const char* __s_getServerMD5Sum_() { return "9b591d98efeb66095c1b33a70221cab5"; }
00054 public:
00055 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }
00056
00057 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }
00058
00059 private:
00060 static const char* __s_getMessageDefinition_() { return "\n\
00061 \n\
00062 "; }
00063 public:
00064 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00065
00066 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00067
00068 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00069 {
00070 ros::serialization::OStream stream(write_ptr, 1000000000);
00071 return stream.getData();
00072 }
00073
00074 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00075 {
00076 ros::serialization::IStream stream(read_ptr, 1000000000);
00077 return stream.getData();
00078 }
00079
00080 ROS_DEPRECATED virtual uint32_t serializationLength() const
00081 {
00082 uint32_t size = 0;
00083 return size;
00084 }
00085
00086 typedef boost::shared_ptr< ::kinematics_msgs::GetKinematicSolverInfoRequest_<ContainerAllocator> > Ptr;
00087 typedef boost::shared_ptr< ::kinematics_msgs::GetKinematicSolverInfoRequest_<ContainerAllocator> const> ConstPtr;
00088 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00089 };
00090 typedef ::kinematics_msgs::GetKinematicSolverInfoRequest_<std::allocator<void> > GetKinematicSolverInfoRequest;
00091
00092 typedef boost::shared_ptr< ::kinematics_msgs::GetKinematicSolverInfoRequest> GetKinematicSolverInfoRequestPtr;
00093 typedef boost::shared_ptr< ::kinematics_msgs::GetKinematicSolverInfoRequest const> GetKinematicSolverInfoRequestConstPtr;
00094
00095
00096 template <class ContainerAllocator>
00097 struct GetKinematicSolverInfoResponse_ {
00098 typedef GetKinematicSolverInfoResponse_<ContainerAllocator> Type;
00099
00100 GetKinematicSolverInfoResponse_()
00101 : kinematic_solver_info()
00102 {
00103 }
00104
00105 GetKinematicSolverInfoResponse_(const ContainerAllocator& _alloc)
00106 : kinematic_solver_info(_alloc)
00107 {
00108 }
00109
00110 typedef ::kinematics_msgs::KinematicSolverInfo_<ContainerAllocator> _kinematic_solver_info_type;
00111 ::kinematics_msgs::KinematicSolverInfo_<ContainerAllocator> kinematic_solver_info;
00112
00113
00114 private:
00115 static const char* __s_getDataType_() { return "kinematics_msgs/GetKinematicSolverInfoResponse"; }
00116 public:
00117 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00118
00119 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00120
00121 private:
00122 static const char* __s_getMD5Sum_() { return "9b591d98efeb66095c1b33a70221cab5"; }
00123 public:
00124 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00125
00126 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00127
00128 private:
00129 static const char* __s_getServerMD5Sum_() { return "9b591d98efeb66095c1b33a70221cab5"; }
00130 public:
00131 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }
00132
00133 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }
00134
00135 private:
00136 static const char* __s_getMessageDefinition_() { return "kinematics_msgs/KinematicSolverInfo kinematic_solver_info\n\
00137 \n\
00138 ================================================================================\n\
00139 MSG: kinematics_msgs/KinematicSolverInfo\n\
00140 # A list of joints in the kinematic tree\n\
00141 string[] joint_names\n\
00142 # A list of joint limits corresponding to the joint names\n\
00143 arm_navigation_msgs/JointLimits[] limits\n\
00144 # A list of links that the kinematics node provides solutions for\n\
00145 string[] link_names\n\
00146 \n\
00147 ================================================================================\n\
00148 MSG: arm_navigation_msgs/JointLimits\n\
00149 # This message contains information about limits of a particular joint (or control dimension)\n\
00150 string joint_name\n\
00151 \n\
00152 # true if the joint has position limits\n\
00153 bool has_position_limits\n\
00154 \n\
00155 # min and max position limits\n\
00156 float64 min_position\n\
00157 float64 max_position\n\
00158 \n\
00159 # true if joint has velocity limits\n\
00160 bool has_velocity_limits\n\
00161 \n\
00162 # max velocity limit\n\
00163 float64 max_velocity\n\
00164 # min_velocity is assumed to be -max_velocity\n\
00165 \n\
00166 # true if joint has acceleration limits\n\
00167 bool has_acceleration_limits\n\
00168 # max acceleration limit\n\
00169 float64 max_acceleration\n\
00170 # min_acceleration is assumed to be -max_acceleration\n\
00171 \n\
00172 "; }
00173 public:
00174 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00175
00176 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00177
00178 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00179 {
00180 ros::serialization::OStream stream(write_ptr, 1000000000);
00181 ros::serialization::serialize(stream, kinematic_solver_info);
00182 return stream.getData();
00183 }
00184
00185 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00186 {
00187 ros::serialization::IStream stream(read_ptr, 1000000000);
00188 ros::serialization::deserialize(stream, kinematic_solver_info);
00189 return stream.getData();
00190 }
00191
00192 ROS_DEPRECATED virtual uint32_t serializationLength() const
00193 {
00194 uint32_t size = 0;
00195 size += ros::serialization::serializationLength(kinematic_solver_info);
00196 return size;
00197 }
00198
00199 typedef boost::shared_ptr< ::kinematics_msgs::GetKinematicSolverInfoResponse_<ContainerAllocator> > Ptr;
00200 typedef boost::shared_ptr< ::kinematics_msgs::GetKinematicSolverInfoResponse_<ContainerAllocator> const> ConstPtr;
00201 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00202 };
00203 typedef ::kinematics_msgs::GetKinematicSolverInfoResponse_<std::allocator<void> > GetKinematicSolverInfoResponse;
00204
00205 typedef boost::shared_ptr< ::kinematics_msgs::GetKinematicSolverInfoResponse> GetKinematicSolverInfoResponsePtr;
00206 typedef boost::shared_ptr< ::kinematics_msgs::GetKinematicSolverInfoResponse const> GetKinematicSolverInfoResponseConstPtr;
00207
00208 struct GetKinematicSolverInfo
00209 {
00210
00211 typedef GetKinematicSolverInfoRequest Request;
00212 typedef GetKinematicSolverInfoResponse Response;
00213 Request request;
00214 Response response;
00215
00216 typedef Request RequestType;
00217 typedef Response ResponseType;
00218 };
00219 }
00220
00221 namespace ros
00222 {
00223 namespace message_traits
00224 {
00225 template<class ContainerAllocator> struct IsMessage< ::kinematics_msgs::GetKinematicSolverInfoRequest_<ContainerAllocator> > : public TrueType {};
00226 template<class ContainerAllocator> struct IsMessage< ::kinematics_msgs::GetKinematicSolverInfoRequest_<ContainerAllocator> const> : public TrueType {};
00227 template<class ContainerAllocator>
00228 struct MD5Sum< ::kinematics_msgs::GetKinematicSolverInfoRequest_<ContainerAllocator> > {
00229 static const char* value()
00230 {
00231 return "d41d8cd98f00b204e9800998ecf8427e";
00232 }
00233
00234 static const char* value(const ::kinematics_msgs::GetKinematicSolverInfoRequest_<ContainerAllocator> &) { return value(); }
00235 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00236 static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00237 };
00238
00239 template<class ContainerAllocator>
00240 struct DataType< ::kinematics_msgs::GetKinematicSolverInfoRequest_<ContainerAllocator> > {
00241 static const char* value()
00242 {
00243 return "kinematics_msgs/GetKinematicSolverInfoRequest";
00244 }
00245
00246 static const char* value(const ::kinematics_msgs::GetKinematicSolverInfoRequest_<ContainerAllocator> &) { return value(); }
00247 };
00248
00249 template<class ContainerAllocator>
00250 struct Definition< ::kinematics_msgs::GetKinematicSolverInfoRequest_<ContainerAllocator> > {
00251 static const char* value()
00252 {
00253 return "\n\
00254 \n\
00255 ";
00256 }
00257
00258 static const char* value(const ::kinematics_msgs::GetKinematicSolverInfoRequest_<ContainerAllocator> &) { return value(); }
00259 };
00260
00261 template<class ContainerAllocator> struct IsFixedSize< ::kinematics_msgs::GetKinematicSolverInfoRequest_<ContainerAllocator> > : public TrueType {};
00262 }
00263 }
00264
00265
00266 namespace ros
00267 {
00268 namespace message_traits
00269 {
00270 template<class ContainerAllocator> struct IsMessage< ::kinematics_msgs::GetKinematicSolverInfoResponse_<ContainerAllocator> > : public TrueType {};
00271 template<class ContainerAllocator> struct IsMessage< ::kinematics_msgs::GetKinematicSolverInfoResponse_<ContainerAllocator> const> : public TrueType {};
00272 template<class ContainerAllocator>
00273 struct MD5Sum< ::kinematics_msgs::GetKinematicSolverInfoResponse_<ContainerAllocator> > {
00274 static const char* value()
00275 {
00276 return "9b591d98efeb66095c1b33a70221cab5";
00277 }
00278
00279 static const char* value(const ::kinematics_msgs::GetKinematicSolverInfoResponse_<ContainerAllocator> &) { return value(); }
00280 static const uint64_t static_value1 = 0x9b591d98efeb6609ULL;
00281 static const uint64_t static_value2 = 0x5c1b33a70221cab5ULL;
00282 };
00283
00284 template<class ContainerAllocator>
00285 struct DataType< ::kinematics_msgs::GetKinematicSolverInfoResponse_<ContainerAllocator> > {
00286 static const char* value()
00287 {
00288 return "kinematics_msgs/GetKinematicSolverInfoResponse";
00289 }
00290
00291 static const char* value(const ::kinematics_msgs::GetKinematicSolverInfoResponse_<ContainerAllocator> &) { return value(); }
00292 };
00293
00294 template<class ContainerAllocator>
00295 struct Definition< ::kinematics_msgs::GetKinematicSolverInfoResponse_<ContainerAllocator> > {
00296 static const char* value()
00297 {
00298 return "kinematics_msgs/KinematicSolverInfo kinematic_solver_info\n\
00299 \n\
00300 ================================================================================\n\
00301 MSG: kinematics_msgs/KinematicSolverInfo\n\
00302 # A list of joints in the kinematic tree\n\
00303 string[] joint_names\n\
00304 # A list of joint limits corresponding to the joint names\n\
00305 arm_navigation_msgs/JointLimits[] limits\n\
00306 # A list of links that the kinematics node provides solutions for\n\
00307 string[] link_names\n\
00308 \n\
00309 ================================================================================\n\
00310 MSG: arm_navigation_msgs/JointLimits\n\
00311 # This message contains information about limits of a particular joint (or control dimension)\n\
00312 string joint_name\n\
00313 \n\
00314 # true if the joint has position limits\n\
00315 bool has_position_limits\n\
00316 \n\
00317 # min and max position limits\n\
00318 float64 min_position\n\
00319 float64 max_position\n\
00320 \n\
00321 # true if joint has velocity limits\n\
00322 bool has_velocity_limits\n\
00323 \n\
00324 # max velocity limit\n\
00325 float64 max_velocity\n\
00326 # min_velocity is assumed to be -max_velocity\n\
00327 \n\
00328 # true if joint has acceleration limits\n\
00329 bool has_acceleration_limits\n\
00330 # max acceleration limit\n\
00331 float64 max_acceleration\n\
00332 # min_acceleration is assumed to be -max_acceleration\n\
00333 \n\
00334 ";
00335 }
00336
00337 static const char* value(const ::kinematics_msgs::GetKinematicSolverInfoResponse_<ContainerAllocator> &) { return value(); }
00338 };
00339
00340 }
00341 }
00342
00343 namespace ros
00344 {
00345 namespace serialization
00346 {
00347
00348 template<class ContainerAllocator> struct Serializer< ::kinematics_msgs::GetKinematicSolverInfoRequest_<ContainerAllocator> >
00349 {
00350 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00351 {
00352 }
00353
00354 ROS_DECLARE_ALLINONE_SERIALIZER;
00355 };
00356 }
00357 }
00358
00359
00360 namespace ros
00361 {
00362 namespace serialization
00363 {
00364
00365 template<class ContainerAllocator> struct Serializer< ::kinematics_msgs::GetKinematicSolverInfoResponse_<ContainerAllocator> >
00366 {
00367 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00368 {
00369 stream.next(m.kinematic_solver_info);
00370 }
00371
00372 ROS_DECLARE_ALLINONE_SERIALIZER;
00373 };
00374 }
00375 }
00376
00377 namespace ros
00378 {
00379 namespace service_traits
00380 {
00381 template<>
00382 struct MD5Sum<kinematics_msgs::GetKinematicSolverInfo> {
00383 static const char* value()
00384 {
00385 return "9b591d98efeb66095c1b33a70221cab5";
00386 }
00387
00388 static const char* value(const kinematics_msgs::GetKinematicSolverInfo&) { return value(); }
00389 };
00390
00391 template<>
00392 struct DataType<kinematics_msgs::GetKinematicSolverInfo> {
00393 static const char* value()
00394 {
00395 return "kinematics_msgs/GetKinematicSolverInfo";
00396 }
00397
00398 static const char* value(const kinematics_msgs::GetKinematicSolverInfo&) { return value(); }
00399 };
00400
00401 template<class ContainerAllocator>
00402 struct MD5Sum<kinematics_msgs::GetKinematicSolverInfoRequest_<ContainerAllocator> > {
00403 static const char* value()
00404 {
00405 return "9b591d98efeb66095c1b33a70221cab5";
00406 }
00407
00408 static const char* value(const kinematics_msgs::GetKinematicSolverInfoRequest_<ContainerAllocator> &) { return value(); }
00409 };
00410
00411 template<class ContainerAllocator>
00412 struct DataType<kinematics_msgs::GetKinematicSolverInfoRequest_<ContainerAllocator> > {
00413 static const char* value()
00414 {
00415 return "kinematics_msgs/GetKinematicSolverInfo";
00416 }
00417
00418 static const char* value(const kinematics_msgs::GetKinematicSolverInfoRequest_<ContainerAllocator> &) { return value(); }
00419 };
00420
00421 template<class ContainerAllocator>
00422 struct MD5Sum<kinematics_msgs::GetKinematicSolverInfoResponse_<ContainerAllocator> > {
00423 static const char* value()
00424 {
00425 return "9b591d98efeb66095c1b33a70221cab5";
00426 }
00427
00428 static const char* value(const kinematics_msgs::GetKinematicSolverInfoResponse_<ContainerAllocator> &) { return value(); }
00429 };
00430
00431 template<class ContainerAllocator>
00432 struct DataType<kinematics_msgs::GetKinematicSolverInfoResponse_<ContainerAllocator> > {
00433 static const char* value()
00434 {
00435 return "kinematics_msgs/GetKinematicSolverInfo";
00436 }
00437
00438 static const char* value(const kinematics_msgs::GetKinematicSolverInfoResponse_<ContainerAllocator> &) { return value(); }
00439 };
00440
00441 }
00442 }
00443
00444 #endif // KINEMATICS_MSGS_SERVICE_GETKINEMATICSOLVERINFO_H
00445