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