Go to the documentation of this file.00001
00002 #ifndef OPENRAVE_MSGS_SERVICE_STARTTRAJECTORY_H
00003 #define OPENRAVE_MSGS_SERVICE_STARTTRAJECTORY_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 "openrave_msgs/JointTrajectory.h"
00020
00021
00022 #include "openrave_msgs/JointTrajectory.h"
00023
00024 namespace openrave_msgs
00025 {
00026 template <class ContainerAllocator>
00027 struct StartTrajectoryRequest_ {
00028 typedef StartTrajectoryRequest_<ContainerAllocator> Type;
00029
00030 StartTrajectoryRequest_()
00031 : traj()
00032 , hastiming(0)
00033 , requestresult(0)
00034 {
00035 }
00036
00037 StartTrajectoryRequest_(const ContainerAllocator& _alloc)
00038 : traj(_alloc)
00039 , hastiming(0)
00040 , requestresult(0)
00041 {
00042 }
00043
00044 typedef ::openrave_msgs::JointTrajectory_<ContainerAllocator> _traj_type;
00045 ::openrave_msgs::JointTrajectory_<ContainerAllocator> traj;
00046
00047 typedef uint8_t _hastiming_type;
00048 uint8_t hastiming;
00049
00050 typedef uint8_t _requestresult_type;
00051 uint8_t requestresult;
00052
00053
00054 typedef boost::shared_ptr< ::openrave_msgs::StartTrajectoryRequest_<ContainerAllocator> > Ptr;
00055 typedef boost::shared_ptr< ::openrave_msgs::StartTrajectoryRequest_<ContainerAllocator> const> ConstPtr;
00056 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00057 };
00058 typedef ::openrave_msgs::StartTrajectoryRequest_<std::allocator<void> > StartTrajectoryRequest;
00059
00060 typedef boost::shared_ptr< ::openrave_msgs::StartTrajectoryRequest> StartTrajectoryRequestPtr;
00061 typedef boost::shared_ptr< ::openrave_msgs::StartTrajectoryRequest const> StartTrajectoryRequestConstPtr;
00062
00063
00064 template <class ContainerAllocator>
00065 struct StartTrajectoryResponse_ {
00066 typedef StartTrajectoryResponse_<ContainerAllocator> Type;
00067
00068 StartTrajectoryResponse_()
00069 : traj()
00070 , stamp()
00071 , commandid(0)
00072 {
00073 }
00074
00075 StartTrajectoryResponse_(const ContainerAllocator& _alloc)
00076 : traj(_alloc)
00077 , stamp()
00078 , commandid(0)
00079 {
00080 }
00081
00082 typedef ::openrave_msgs::JointTrajectory_<ContainerAllocator> _traj_type;
00083 ::openrave_msgs::JointTrajectory_<ContainerAllocator> traj;
00084
00085 typedef ros::Time _stamp_type;
00086 ros::Time stamp;
00087
00088 typedef uint32_t _commandid_type;
00089 uint32_t commandid;
00090
00091
00092 typedef boost::shared_ptr< ::openrave_msgs::StartTrajectoryResponse_<ContainerAllocator> > Ptr;
00093 typedef boost::shared_ptr< ::openrave_msgs::StartTrajectoryResponse_<ContainerAllocator> const> ConstPtr;
00094 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00095 };
00096 typedef ::openrave_msgs::StartTrajectoryResponse_<std::allocator<void> > StartTrajectoryResponse;
00097
00098 typedef boost::shared_ptr< ::openrave_msgs::StartTrajectoryResponse> StartTrajectoryResponsePtr;
00099 typedef boost::shared_ptr< ::openrave_msgs::StartTrajectoryResponse const> StartTrajectoryResponseConstPtr;
00100
00101 struct StartTrajectory
00102 {
00103
00104 typedef StartTrajectoryRequest Request;
00105 typedef StartTrajectoryResponse Response;
00106 Request request;
00107 Response response;
00108
00109 typedef Request RequestType;
00110 typedef Response ResponseType;
00111 };
00112 }
00113
00114 namespace ros
00115 {
00116 namespace message_traits
00117 {
00118 template<class ContainerAllocator> struct IsMessage< ::openrave_msgs::StartTrajectoryRequest_<ContainerAllocator> > : public TrueType {};
00119 template<class ContainerAllocator> struct IsMessage< ::openrave_msgs::StartTrajectoryRequest_<ContainerAllocator> const> : public TrueType {};
00120 template<class ContainerAllocator>
00121 struct MD5Sum< ::openrave_msgs::StartTrajectoryRequest_<ContainerAllocator> > {
00122 static const char* value()
00123 {
00124 return "e55409f0cdd0947dbefcb0c7119e035b";
00125 }
00126
00127 static const char* value(const ::openrave_msgs::StartTrajectoryRequest_<ContainerAllocator> &) { return value(); }
00128 static const uint64_t static_value1 = 0xe55409f0cdd0947dULL;
00129 static const uint64_t static_value2 = 0xbefcb0c7119e035bULL;
00130 };
00131
00132 template<class ContainerAllocator>
00133 struct DataType< ::openrave_msgs::StartTrajectoryRequest_<ContainerAllocator> > {
00134 static const char* value()
00135 {
00136 return "openrave_msgs/StartTrajectoryRequest";
00137 }
00138
00139 static const char* value(const ::openrave_msgs::StartTrajectoryRequest_<ContainerAllocator> &) { return value(); }
00140 };
00141
00142 template<class ContainerAllocator>
00143 struct Definition< ::openrave_msgs::StartTrajectoryRequest_<ContainerAllocator> > {
00144 static const char* value()
00145 {
00146 return "\n\
00147 openrave_msgs/JointTrajectory traj\n\
00148 uint8 hastiming\n\
00149 uint8 requestresult\n\
00150 \n\
00151 \n\
00152 ================================================================================\n\
00153 MSG: openrave_msgs/JointTrajectory\n\
00154 trajectory_msgs/JointTrajectory traj\n\
00155 \n\
00156 # retiming method to use for the trajectory points.\n\
00157 string interpolation\n\
00158 \n\
00159 ================================================================================\n\
00160 MSG: trajectory_msgs/JointTrajectory\n\
00161 Header header\n\
00162 string[] joint_names\n\
00163 JointTrajectoryPoint[] points\n\
00164 ================================================================================\n\
00165 MSG: std_msgs/Header\n\
00166 # Standard metadata for higher-level stamped data types.\n\
00167 # This is generally used to communicate timestamped data \n\
00168 # in a particular coordinate frame.\n\
00169 # \n\
00170 # sequence ID: consecutively increasing ID \n\
00171 uint32 seq\n\
00172 #Two-integer timestamp that is expressed as:\n\
00173 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00174 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00175 # time-handling sugar is provided by the client library\n\
00176 time stamp\n\
00177 #Frame this data is associated with\n\
00178 # 0: no frame\n\
00179 # 1: global frame\n\
00180 string frame_id\n\
00181 \n\
00182 ================================================================================\n\
00183 MSG: trajectory_msgs/JointTrajectoryPoint\n\
00184 float64[] positions\n\
00185 float64[] velocities\n\
00186 float64[] accelerations\n\
00187 duration time_from_start\n\
00188 ";
00189 }
00190
00191 static const char* value(const ::openrave_msgs::StartTrajectoryRequest_<ContainerAllocator> &) { return value(); }
00192 };
00193
00194 }
00195 }
00196
00197
00198 namespace ros
00199 {
00200 namespace message_traits
00201 {
00202 template<class ContainerAllocator> struct IsMessage< ::openrave_msgs::StartTrajectoryResponse_<ContainerAllocator> > : public TrueType {};
00203 template<class ContainerAllocator> struct IsMessage< ::openrave_msgs::StartTrajectoryResponse_<ContainerAllocator> const> : public TrueType {};
00204 template<class ContainerAllocator>
00205 struct MD5Sum< ::openrave_msgs::StartTrajectoryResponse_<ContainerAllocator> > {
00206 static const char* value()
00207 {
00208 return "bffe134fa190ecc28b9a992aa5186964";
00209 }
00210
00211 static const char* value(const ::openrave_msgs::StartTrajectoryResponse_<ContainerAllocator> &) { return value(); }
00212 static const uint64_t static_value1 = 0xbffe134fa190ecc2ULL;
00213 static const uint64_t static_value2 = 0x8b9a992aa5186964ULL;
00214 };
00215
00216 template<class ContainerAllocator>
00217 struct DataType< ::openrave_msgs::StartTrajectoryResponse_<ContainerAllocator> > {
00218 static const char* value()
00219 {
00220 return "openrave_msgs/StartTrajectoryResponse";
00221 }
00222
00223 static const char* value(const ::openrave_msgs::StartTrajectoryResponse_<ContainerAllocator> &) { return value(); }
00224 };
00225
00226 template<class ContainerAllocator>
00227 struct Definition< ::openrave_msgs::StartTrajectoryResponse_<ContainerAllocator> > {
00228 static const char* value()
00229 {
00230 return "openrave_msgs/JointTrajectory traj\n\
00231 time stamp\n\
00232 uint32 commandid\n\
00233 \n\
00234 \n\
00235 ================================================================================\n\
00236 MSG: openrave_msgs/JointTrajectory\n\
00237 trajectory_msgs/JointTrajectory traj\n\
00238 \n\
00239 # retiming method to use for the trajectory points.\n\
00240 string interpolation\n\
00241 \n\
00242 ================================================================================\n\
00243 MSG: trajectory_msgs/JointTrajectory\n\
00244 Header header\n\
00245 string[] joint_names\n\
00246 JointTrajectoryPoint[] points\n\
00247 ================================================================================\n\
00248 MSG: std_msgs/Header\n\
00249 # Standard metadata for higher-level stamped data types.\n\
00250 # This is generally used to communicate timestamped data \n\
00251 # in a particular coordinate frame.\n\
00252 # \n\
00253 # sequence ID: consecutively increasing ID \n\
00254 uint32 seq\n\
00255 #Two-integer timestamp that is expressed as:\n\
00256 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00257 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00258 # time-handling sugar is provided by the client library\n\
00259 time stamp\n\
00260 #Frame this data is associated with\n\
00261 # 0: no frame\n\
00262 # 1: global frame\n\
00263 string frame_id\n\
00264 \n\
00265 ================================================================================\n\
00266 MSG: trajectory_msgs/JointTrajectoryPoint\n\
00267 float64[] positions\n\
00268 float64[] velocities\n\
00269 float64[] accelerations\n\
00270 duration time_from_start\n\
00271 ";
00272 }
00273
00274 static const char* value(const ::openrave_msgs::StartTrajectoryResponse_<ContainerAllocator> &) { return value(); }
00275 };
00276
00277 }
00278 }
00279
00280 namespace ros
00281 {
00282 namespace serialization
00283 {
00284
00285 template<class ContainerAllocator> struct Serializer< ::openrave_msgs::StartTrajectoryRequest_<ContainerAllocator> >
00286 {
00287 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00288 {
00289 stream.next(m.traj);
00290 stream.next(m.hastiming);
00291 stream.next(m.requestresult);
00292 }
00293
00294 ROS_DECLARE_ALLINONE_SERIALIZER;
00295 };
00296 }
00297 }
00298
00299
00300 namespace ros
00301 {
00302 namespace serialization
00303 {
00304
00305 template<class ContainerAllocator> struct Serializer< ::openrave_msgs::StartTrajectoryResponse_<ContainerAllocator> >
00306 {
00307 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00308 {
00309 stream.next(m.traj);
00310 stream.next(m.stamp);
00311 stream.next(m.commandid);
00312 }
00313
00314 ROS_DECLARE_ALLINONE_SERIALIZER;
00315 };
00316 }
00317 }
00318
00319 namespace ros
00320 {
00321 namespace service_traits
00322 {
00323 template<>
00324 struct MD5Sum<openrave_msgs::StartTrajectory> {
00325 static const char* value()
00326 {
00327 return "38ac612d3335ec30ad6d4d954b6b63a0";
00328 }
00329
00330 static const char* value(const openrave_msgs::StartTrajectory&) { return value(); }
00331 };
00332
00333 template<>
00334 struct DataType<openrave_msgs::StartTrajectory> {
00335 static const char* value()
00336 {
00337 return "openrave_msgs/StartTrajectory";
00338 }
00339
00340 static const char* value(const openrave_msgs::StartTrajectory&) { return value(); }
00341 };
00342
00343 template<class ContainerAllocator>
00344 struct MD5Sum<openrave_msgs::StartTrajectoryRequest_<ContainerAllocator> > {
00345 static const char* value()
00346 {
00347 return "38ac612d3335ec30ad6d4d954b6b63a0";
00348 }
00349
00350 static const char* value(const openrave_msgs::StartTrajectoryRequest_<ContainerAllocator> &) { return value(); }
00351 };
00352
00353 template<class ContainerAllocator>
00354 struct DataType<openrave_msgs::StartTrajectoryRequest_<ContainerAllocator> > {
00355 static const char* value()
00356 {
00357 return "openrave_msgs/StartTrajectory";
00358 }
00359
00360 static const char* value(const openrave_msgs::StartTrajectoryRequest_<ContainerAllocator> &) { return value(); }
00361 };
00362
00363 template<class ContainerAllocator>
00364 struct MD5Sum<openrave_msgs::StartTrajectoryResponse_<ContainerAllocator> > {
00365 static const char* value()
00366 {
00367 return "38ac612d3335ec30ad6d4d954b6b63a0";
00368 }
00369
00370 static const char* value(const openrave_msgs::StartTrajectoryResponse_<ContainerAllocator> &) { return value(); }
00371 };
00372
00373 template<class ContainerAllocator>
00374 struct DataType<openrave_msgs::StartTrajectoryResponse_<ContainerAllocator> > {
00375 static const char* value()
00376 {
00377 return "openrave_msgs/StartTrajectory";
00378 }
00379
00380 static const char* value(const openrave_msgs::StartTrajectoryResponse_<ContainerAllocator> &) { return value(); }
00381 };
00382
00383 }
00384 }
00385
00386 #endif // OPENRAVE_MSGS_SERVICE_STARTTRAJECTORY_H
00387