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