Go to the documentation of this file.00001
00002 #ifndef COB_SRVS_SERVICE_SETJOINTTRAJECTORY_H
00003 #define COB_SRVS_SERVICE_SETJOINTTRAJECTORY_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 "trajectory_msgs/JointTrajectory.h"
00020
00021
00022 #include "std_msgs/String.h"
00023
00024 namespace cob_srvs
00025 {
00026 template <class ContainerAllocator>
00027 struct SetJointTrajectoryRequest_ {
00028 typedef SetJointTrajectoryRequest_<ContainerAllocator> Type;
00029
00030 SetJointTrajectoryRequest_()
00031 : trajectory()
00032 {
00033 }
00034
00035 SetJointTrajectoryRequest_(const ContainerAllocator& _alloc)
00036 : trajectory(_alloc)
00037 {
00038 }
00039
00040 typedef ::trajectory_msgs::JointTrajectory_<ContainerAllocator> _trajectory_type;
00041 ::trajectory_msgs::JointTrajectory_<ContainerAllocator> trajectory;
00042
00043
00044 typedef boost::shared_ptr< ::cob_srvs::SetJointTrajectoryRequest_<ContainerAllocator> > Ptr;
00045 typedef boost::shared_ptr< ::cob_srvs::SetJointTrajectoryRequest_<ContainerAllocator> const> ConstPtr;
00046 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00047 };
00048 typedef ::cob_srvs::SetJointTrajectoryRequest_<std::allocator<void> > SetJointTrajectoryRequest;
00049
00050 typedef boost::shared_ptr< ::cob_srvs::SetJointTrajectoryRequest> SetJointTrajectoryRequestPtr;
00051 typedef boost::shared_ptr< ::cob_srvs::SetJointTrajectoryRequest const> SetJointTrajectoryRequestConstPtr;
00052
00053
00054
00055 template <class ContainerAllocator>
00056 struct SetJointTrajectoryResponse_ {
00057 typedef SetJointTrajectoryResponse_<ContainerAllocator> Type;
00058
00059 SetJointTrajectoryResponse_()
00060 : success(0)
00061 , errorMessage()
00062 {
00063 }
00064
00065 SetJointTrajectoryResponse_(const ContainerAllocator& _alloc)
00066 : success(0)
00067 , errorMessage(_alloc)
00068 {
00069 }
00070
00071 typedef int64_t _success_type;
00072 int64_t success;
00073
00074 typedef ::std_msgs::String_<ContainerAllocator> _errorMessage_type;
00075 ::std_msgs::String_<ContainerAllocator> errorMessage;
00076
00077
00078 typedef boost::shared_ptr< ::cob_srvs::SetJointTrajectoryResponse_<ContainerAllocator> > Ptr;
00079 typedef boost::shared_ptr< ::cob_srvs::SetJointTrajectoryResponse_<ContainerAllocator> const> ConstPtr;
00080 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00081 };
00082 typedef ::cob_srvs::SetJointTrajectoryResponse_<std::allocator<void> > SetJointTrajectoryResponse;
00083
00084 typedef boost::shared_ptr< ::cob_srvs::SetJointTrajectoryResponse> SetJointTrajectoryResponsePtr;
00085 typedef boost::shared_ptr< ::cob_srvs::SetJointTrajectoryResponse const> SetJointTrajectoryResponseConstPtr;
00086
00087
00088 struct SetJointTrajectory
00089 {
00090
00091 typedef SetJointTrajectoryRequest Request;
00092 typedef SetJointTrajectoryResponse Response;
00093 Request request;
00094 Response response;
00095
00096 typedef Request RequestType;
00097 typedef Response ResponseType;
00098 };
00099 }
00100
00101 namespace ros
00102 {
00103 namespace message_traits
00104 {
00105 template<class ContainerAllocator> struct IsMessage< ::cob_srvs::SetJointTrajectoryRequest_<ContainerAllocator> > : public TrueType {};
00106 template<class ContainerAllocator> struct IsMessage< ::cob_srvs::SetJointTrajectoryRequest_<ContainerAllocator> const> : public TrueType {};
00107 template<class ContainerAllocator>
00108 struct MD5Sum< ::cob_srvs::SetJointTrajectoryRequest_<ContainerAllocator> > {
00109 static const char* value()
00110 {
00111 return "48a668811b715b51af6b3383511ae27f";
00112 }
00113
00114 static const char* value(const ::cob_srvs::SetJointTrajectoryRequest_<ContainerAllocator> &) { return value(); }
00115 static const uint64_t static_value1 = 0x48a668811b715b51ULL;
00116 static const uint64_t static_value2 = 0xaf6b3383511ae27fULL;
00117 };
00118
00119 template<class ContainerAllocator>
00120 struct DataType< ::cob_srvs::SetJointTrajectoryRequest_<ContainerAllocator> > {
00121 static const char* value()
00122 {
00123 return "cob_srvs/SetJointTrajectoryRequest";
00124 }
00125
00126 static const char* value(const ::cob_srvs::SetJointTrajectoryRequest_<ContainerAllocator> &) { return value(); }
00127 };
00128
00129 template<class ContainerAllocator>
00130 struct Definition< ::cob_srvs::SetJointTrajectoryRequest_<ContainerAllocator> > {
00131 static const char* value()
00132 {
00133 return "trajectory_msgs/JointTrajectory trajectory\n\
00134 \n\
00135 ================================================================================\n\
00136 MSG: trajectory_msgs/JointTrajectory\n\
00137 Header header\n\
00138 string[] joint_names\n\
00139 JointTrajectoryPoint[] points\n\
00140 ================================================================================\n\
00141 MSG: std_msgs/Header\n\
00142 # Standard metadata for higher-level stamped data types.\n\
00143 # This is generally used to communicate timestamped data \n\
00144 # in a particular coordinate frame.\n\
00145 # \n\
00146 # sequence ID: consecutively increasing ID \n\
00147 uint32 seq\n\
00148 #Two-integer timestamp that is expressed as:\n\
00149 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00150 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00151 # time-handling sugar is provided by the client library\n\
00152 time stamp\n\
00153 #Frame this data is associated with\n\
00154 # 0: no frame\n\
00155 # 1: global frame\n\
00156 string frame_id\n\
00157 \n\
00158 ================================================================================\n\
00159 MSG: trajectory_msgs/JointTrajectoryPoint\n\
00160 float64[] positions\n\
00161 float64[] velocities\n\
00162 float64[] accelerations\n\
00163 duration time_from_start\n\
00164 ";
00165 }
00166
00167 static const char* value(const ::cob_srvs::SetJointTrajectoryRequest_<ContainerAllocator> &) { return value(); }
00168 };
00169
00170 }
00171 }
00172
00173
00174 namespace ros
00175 {
00176 namespace message_traits
00177 {
00178 template<class ContainerAllocator> struct IsMessage< ::cob_srvs::SetJointTrajectoryResponse_<ContainerAllocator> > : public TrueType {};
00179 template<class ContainerAllocator> struct IsMessage< ::cob_srvs::SetJointTrajectoryResponse_<ContainerAllocator> const> : public TrueType {};
00180 template<class ContainerAllocator>
00181 struct MD5Sum< ::cob_srvs::SetJointTrajectoryResponse_<ContainerAllocator> > {
00182 static const char* value()
00183 {
00184 return "fff2fd61c570b3016de5f27e6dc433be";
00185 }
00186
00187 static const char* value(const ::cob_srvs::SetJointTrajectoryResponse_<ContainerAllocator> &) { return value(); }
00188 static const uint64_t static_value1 = 0xfff2fd61c570b301ULL;
00189 static const uint64_t static_value2 = 0x6de5f27e6dc433beULL;
00190 };
00191
00192 template<class ContainerAllocator>
00193 struct DataType< ::cob_srvs::SetJointTrajectoryResponse_<ContainerAllocator> > {
00194 static const char* value()
00195 {
00196 return "cob_srvs/SetJointTrajectoryResponse";
00197 }
00198
00199 static const char* value(const ::cob_srvs::SetJointTrajectoryResponse_<ContainerAllocator> &) { return value(); }
00200 };
00201
00202 template<class ContainerAllocator>
00203 struct Definition< ::cob_srvs::SetJointTrajectoryResponse_<ContainerAllocator> > {
00204 static const char* value()
00205 {
00206 return "int64 success\n\
00207 std_msgs/String errorMessage\n\
00208 \n\
00209 \n\
00210 ================================================================================\n\
00211 MSG: std_msgs/String\n\
00212 string data\n\
00213 \n\
00214 ";
00215 }
00216
00217 static const char* value(const ::cob_srvs::SetJointTrajectoryResponse_<ContainerAllocator> &) { return value(); }
00218 };
00219
00220 }
00221 }
00222
00223 namespace ros
00224 {
00225 namespace serialization
00226 {
00227
00228 template<class ContainerAllocator> struct Serializer< ::cob_srvs::SetJointTrajectoryRequest_<ContainerAllocator> >
00229 {
00230 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00231 {
00232 stream.next(m.trajectory);
00233 }
00234
00235 ROS_DECLARE_ALLINONE_SERIALIZER;
00236 };
00237 }
00238 }
00239
00240
00241 namespace ros
00242 {
00243 namespace serialization
00244 {
00245
00246 template<class ContainerAllocator> struct Serializer< ::cob_srvs::SetJointTrajectoryResponse_<ContainerAllocator> >
00247 {
00248 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00249 {
00250 stream.next(m.success);
00251 stream.next(m.errorMessage);
00252 }
00253
00254 ROS_DECLARE_ALLINONE_SERIALIZER;
00255 };
00256 }
00257 }
00258
00259 namespace ros
00260 {
00261 namespace service_traits
00262 {
00263 template<>
00264 struct MD5Sum<cob_srvs::SetJointTrajectory> {
00265 static const char* value()
00266 {
00267 return "09ae52e52b4c7dae8badb976ba693ba3";
00268 }
00269
00270 static const char* value(const cob_srvs::SetJointTrajectory&) { return value(); }
00271 };
00272
00273 template<>
00274 struct DataType<cob_srvs::SetJointTrajectory> {
00275 static const char* value()
00276 {
00277 return "cob_srvs/SetJointTrajectory";
00278 }
00279
00280 static const char* value(const cob_srvs::SetJointTrajectory&) { return value(); }
00281 };
00282
00283 template<class ContainerAllocator>
00284 struct MD5Sum<cob_srvs::SetJointTrajectoryRequest_<ContainerAllocator> > {
00285 static const char* value()
00286 {
00287 return "09ae52e52b4c7dae8badb976ba693ba3";
00288 }
00289
00290 static const char* value(const cob_srvs::SetJointTrajectoryRequest_<ContainerAllocator> &) { return value(); }
00291 };
00292
00293 template<class ContainerAllocator>
00294 struct DataType<cob_srvs::SetJointTrajectoryRequest_<ContainerAllocator> > {
00295 static const char* value()
00296 {
00297 return "cob_srvs/SetJointTrajectory";
00298 }
00299
00300 static const char* value(const cob_srvs::SetJointTrajectoryRequest_<ContainerAllocator> &) { return value(); }
00301 };
00302
00303 template<class ContainerAllocator>
00304 struct MD5Sum<cob_srvs::SetJointTrajectoryResponse_<ContainerAllocator> > {
00305 static const char* value()
00306 {
00307 return "09ae52e52b4c7dae8badb976ba693ba3";
00308 }
00309
00310 static const char* value(const cob_srvs::SetJointTrajectoryResponse_<ContainerAllocator> &) { return value(); }
00311 };
00312
00313 template<class ContainerAllocator>
00314 struct DataType<cob_srvs::SetJointTrajectoryResponse_<ContainerAllocator> > {
00315 static const char* value()
00316 {
00317 return "cob_srvs/SetJointTrajectory";
00318 }
00319
00320 static const char* value(const cob_srvs::SetJointTrajectoryResponse_<ContainerAllocator> &) { return value(); }
00321 };
00322
00323 }
00324 }
00325
00326 #endif // COB_SRVS_SERVICE_SETJOINTTRAJECTORY_H
00327