Go to the documentation of this file.00001
00002 #ifndef SIMPLE_ARM_SERVER_SERVICE_GETTRAJECTORYVALIDITY_H
00003 #define SIMPLE_ARM_SERVER_SERVICE_GETTRAJECTORYVALIDITY_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 "std_msgs/Header.h"
00020 #include "simple_arm_server/ArmAction.h"
00021
00022
00023
00024 namespace simple_arm_server
00025 {
00026 template <class ContainerAllocator>
00027 struct GetTrajectoryValidityRequest_ {
00028 typedef GetTrajectoryValidityRequest_<ContainerAllocator> Type;
00029
00030 GetTrajectoryValidityRequest_()
00031 : header()
00032 , motions()
00033 {
00034 }
00035
00036 GetTrajectoryValidityRequest_(const ContainerAllocator& _alloc)
00037 : header(_alloc)
00038 , motions(_alloc)
00039 {
00040 }
00041
00042 typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
00043 ::std_msgs::Header_<ContainerAllocator> header;
00044
00045 typedef std::vector< ::simple_arm_server::ArmAction_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::simple_arm_server::ArmAction_<ContainerAllocator> >::other > _motions_type;
00046 std::vector< ::simple_arm_server::ArmAction_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::simple_arm_server::ArmAction_<ContainerAllocator> >::other > motions;
00047
00048
00049 typedef boost::shared_ptr< ::simple_arm_server::GetTrajectoryValidityRequest_<ContainerAllocator> > Ptr;
00050 typedef boost::shared_ptr< ::simple_arm_server::GetTrajectoryValidityRequest_<ContainerAllocator> const> ConstPtr;
00051 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00052 };
00053 typedef ::simple_arm_server::GetTrajectoryValidityRequest_<std::allocator<void> > GetTrajectoryValidityRequest;
00054
00055 typedef boost::shared_ptr< ::simple_arm_server::GetTrajectoryValidityRequest> GetTrajectoryValidityRequestPtr;
00056 typedef boost::shared_ptr< ::simple_arm_server::GetTrajectoryValidityRequest const> GetTrajectoryValidityRequestConstPtr;
00057
00058
00059
00060 template <class ContainerAllocator>
00061 struct GetTrajectoryValidityResponse_ {
00062 typedef GetTrajectoryValidityResponse_<ContainerAllocator> Type;
00063
00064 GetTrajectoryValidityResponse_()
00065 : success(false)
00066 {
00067 }
00068
00069 GetTrajectoryValidityResponse_(const ContainerAllocator& _alloc)
00070 : success(false)
00071 {
00072 }
00073
00074 typedef uint8_t _success_type;
00075 uint8_t success;
00076
00077
00078 typedef boost::shared_ptr< ::simple_arm_server::GetTrajectoryValidityResponse_<ContainerAllocator> > Ptr;
00079 typedef boost::shared_ptr< ::simple_arm_server::GetTrajectoryValidityResponse_<ContainerAllocator> const> ConstPtr;
00080 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00081 };
00082 typedef ::simple_arm_server::GetTrajectoryValidityResponse_<std::allocator<void> > GetTrajectoryValidityResponse;
00083
00084 typedef boost::shared_ptr< ::simple_arm_server::GetTrajectoryValidityResponse> GetTrajectoryValidityResponsePtr;
00085 typedef boost::shared_ptr< ::simple_arm_server::GetTrajectoryValidityResponse const> GetTrajectoryValidityResponseConstPtr;
00086
00087
00088 struct GetTrajectoryValidity
00089 {
00090
00091 typedef GetTrajectoryValidityRequest Request;
00092 typedef GetTrajectoryValidityResponse 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< ::simple_arm_server::GetTrajectoryValidityRequest_<ContainerAllocator> > : public TrueType {};
00106 template<class ContainerAllocator> struct IsMessage< ::simple_arm_server::GetTrajectoryValidityRequest_<ContainerAllocator> const> : public TrueType {};
00107 template<class ContainerAllocator>
00108 struct MD5Sum< ::simple_arm_server::GetTrajectoryValidityRequest_<ContainerAllocator> > {
00109 static const char* value()
00110 {
00111 return "ac68653317d50968c1043cdf98e3aea9";
00112 }
00113
00114 static const char* value(const ::simple_arm_server::GetTrajectoryValidityRequest_<ContainerAllocator> &) { return value(); }
00115 static const uint64_t static_value1 = 0xac68653317d50968ULL;
00116 static const uint64_t static_value2 = 0xc1043cdf98e3aea9ULL;
00117 };
00118
00119 template<class ContainerAllocator>
00120 struct DataType< ::simple_arm_server::GetTrajectoryValidityRequest_<ContainerAllocator> > {
00121 static const char* value()
00122 {
00123 return "simple_arm_server/GetTrajectoryValidityRequest";
00124 }
00125
00126 static const char* value(const ::simple_arm_server::GetTrajectoryValidityRequest_<ContainerAllocator> &) { return value(); }
00127 };
00128
00129 template<class ContainerAllocator>
00130 struct Definition< ::simple_arm_server::GetTrajectoryValidityRequest_<ContainerAllocator> > {
00131 static const char* value()
00132 {
00133 return "std_msgs/Header header\n\
00134 ArmAction[] motions\n\
00135 \n\
00136 ================================================================================\n\
00137 MSG: std_msgs/Header\n\
00138 # Standard metadata for higher-level stamped data types.\n\
00139 # This is generally used to communicate timestamped data \n\
00140 # in a particular coordinate frame.\n\
00141 # \n\
00142 # sequence ID: consecutively increasing ID \n\
00143 uint32 seq\n\
00144 #Two-integer timestamp that is expressed as:\n\
00145 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00146 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00147 # time-handling sugar is provided by the client library\n\
00148 time stamp\n\
00149 #Frame this data is associated with\n\
00150 # 0: no frame\n\
00151 # 1: global frame\n\
00152 string frame_id\n\
00153 \n\
00154 ================================================================================\n\
00155 MSG: simple_arm_server/ArmAction\n\
00156 #\n\
00157 # Move arm or adjust gripper\n\
00158 #\n\
00159 \n\
00160 byte MOVE_ARM=0\n\
00161 byte MOVE_GRIPPER=1\n\
00162 \n\
00163 byte type # move the arm or the gripper?\n\
00164 \n\
00165 geometry_msgs/Pose goal # goal for arm\n\
00166 float64 command # width to open gripper\n\
00167 \n\
00168 duration move_time\n\
00169 \n\
00170 ================================================================================\n\
00171 MSG: geometry_msgs/Pose\n\
00172 # A representation of pose in free space, composed of postion and orientation. \n\
00173 Point position\n\
00174 Quaternion orientation\n\
00175 \n\
00176 ================================================================================\n\
00177 MSG: geometry_msgs/Point\n\
00178 # This contains the position of a point in free space\n\
00179 float64 x\n\
00180 float64 y\n\
00181 float64 z\n\
00182 \n\
00183 ================================================================================\n\
00184 MSG: geometry_msgs/Quaternion\n\
00185 # This represents an orientation in free space in quaternion form.\n\
00186 \n\
00187 float64 x\n\
00188 float64 y\n\
00189 float64 z\n\
00190 float64 w\n\
00191 \n\
00192 ";
00193 }
00194
00195 static const char* value(const ::simple_arm_server::GetTrajectoryValidityRequest_<ContainerAllocator> &) { return value(); }
00196 };
00197
00198 }
00199 }
00200
00201
00202 namespace ros
00203 {
00204 namespace message_traits
00205 {
00206 template<class ContainerAllocator> struct IsMessage< ::simple_arm_server::GetTrajectoryValidityResponse_<ContainerAllocator> > : public TrueType {};
00207 template<class ContainerAllocator> struct IsMessage< ::simple_arm_server::GetTrajectoryValidityResponse_<ContainerAllocator> const> : public TrueType {};
00208 template<class ContainerAllocator>
00209 struct MD5Sum< ::simple_arm_server::GetTrajectoryValidityResponse_<ContainerAllocator> > {
00210 static const char* value()
00211 {
00212 return "358e233cde0c8a8bcfea4ce193f8fc15";
00213 }
00214
00215 static const char* value(const ::simple_arm_server::GetTrajectoryValidityResponse_<ContainerAllocator> &) { return value(); }
00216 static const uint64_t static_value1 = 0x358e233cde0c8a8bULL;
00217 static const uint64_t static_value2 = 0xcfea4ce193f8fc15ULL;
00218 };
00219
00220 template<class ContainerAllocator>
00221 struct DataType< ::simple_arm_server::GetTrajectoryValidityResponse_<ContainerAllocator> > {
00222 static const char* value()
00223 {
00224 return "simple_arm_server/GetTrajectoryValidityResponse";
00225 }
00226
00227 static const char* value(const ::simple_arm_server::GetTrajectoryValidityResponse_<ContainerAllocator> &) { return value(); }
00228 };
00229
00230 template<class ContainerAllocator>
00231 struct Definition< ::simple_arm_server::GetTrajectoryValidityResponse_<ContainerAllocator> > {
00232 static const char* value()
00233 {
00234 return "bool success\n\
00235 \n\
00236 \n\
00237 ";
00238 }
00239
00240 static const char* value(const ::simple_arm_server::GetTrajectoryValidityResponse_<ContainerAllocator> &) { return value(); }
00241 };
00242
00243 template<class ContainerAllocator> struct IsFixedSize< ::simple_arm_server::GetTrajectoryValidityResponse_<ContainerAllocator> > : public TrueType {};
00244 }
00245 }
00246
00247 namespace ros
00248 {
00249 namespace serialization
00250 {
00251
00252 template<class ContainerAllocator> struct Serializer< ::simple_arm_server::GetTrajectoryValidityRequest_<ContainerAllocator> >
00253 {
00254 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00255 {
00256 stream.next(m.header);
00257 stream.next(m.motions);
00258 }
00259
00260 ROS_DECLARE_ALLINONE_SERIALIZER;
00261 };
00262 }
00263 }
00264
00265
00266 namespace ros
00267 {
00268 namespace serialization
00269 {
00270
00271 template<class ContainerAllocator> struct Serializer< ::simple_arm_server::GetTrajectoryValidityResponse_<ContainerAllocator> >
00272 {
00273 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00274 {
00275 stream.next(m.success);
00276 }
00277
00278 ROS_DECLARE_ALLINONE_SERIALIZER;
00279 };
00280 }
00281 }
00282
00283 namespace ros
00284 {
00285 namespace service_traits
00286 {
00287 template<>
00288 struct MD5Sum<simple_arm_server::GetTrajectoryValidity> {
00289 static const char* value()
00290 {
00291 return "12941ae14efdf67a2accd5922da026b4";
00292 }
00293
00294 static const char* value(const simple_arm_server::GetTrajectoryValidity&) { return value(); }
00295 };
00296
00297 template<>
00298 struct DataType<simple_arm_server::GetTrajectoryValidity> {
00299 static const char* value()
00300 {
00301 return "simple_arm_server/GetTrajectoryValidity";
00302 }
00303
00304 static const char* value(const simple_arm_server::GetTrajectoryValidity&) { return value(); }
00305 };
00306
00307 template<class ContainerAllocator>
00308 struct MD5Sum<simple_arm_server::GetTrajectoryValidityRequest_<ContainerAllocator> > {
00309 static const char* value()
00310 {
00311 return "12941ae14efdf67a2accd5922da026b4";
00312 }
00313
00314 static const char* value(const simple_arm_server::GetTrajectoryValidityRequest_<ContainerAllocator> &) { return value(); }
00315 };
00316
00317 template<class ContainerAllocator>
00318 struct DataType<simple_arm_server::GetTrajectoryValidityRequest_<ContainerAllocator> > {
00319 static const char* value()
00320 {
00321 return "simple_arm_server/GetTrajectoryValidity";
00322 }
00323
00324 static const char* value(const simple_arm_server::GetTrajectoryValidityRequest_<ContainerAllocator> &) { return value(); }
00325 };
00326
00327 template<class ContainerAllocator>
00328 struct MD5Sum<simple_arm_server::GetTrajectoryValidityResponse_<ContainerAllocator> > {
00329 static const char* value()
00330 {
00331 return "12941ae14efdf67a2accd5922da026b4";
00332 }
00333
00334 static const char* value(const simple_arm_server::GetTrajectoryValidityResponse_<ContainerAllocator> &) { return value(); }
00335 };
00336
00337 template<class ContainerAllocator>
00338 struct DataType<simple_arm_server::GetTrajectoryValidityResponse_<ContainerAllocator> > {
00339 static const char* value()
00340 {
00341 return "simple_arm_server/GetTrajectoryValidity";
00342 }
00343
00344 static const char* value(const simple_arm_server::GetTrajectoryValidityResponse_<ContainerAllocator> &) { return value(); }
00345 };
00346
00347 }
00348 }
00349
00350 #endif // SIMPLE_ARM_SERVER_SERVICE_GETTRAJECTORYVALIDITY_H
00351