Go to the documentation of this file.00001
00002 #ifndef PR2_PLUGS_GAZEBO_DEMO_SERVICE_EXECUTECARTESIANIKTRAJECTORY_H
00003 #define PR2_PLUGS_GAZEBO_DEMO_SERVICE_EXECUTECARTESIANIKTRAJECTORY_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 "geometry_msgs/Pose.h"
00021
00022
00023
00024 namespace pr2_plugs_gazebo_demo
00025 {
00026 template <class ContainerAllocator>
00027 struct ExecuteCartesianIKTrajectoryRequest_ {
00028 typedef ExecuteCartesianIKTrajectoryRequest_<ContainerAllocator> Type;
00029
00030 ExecuteCartesianIKTrajectoryRequest_()
00031 : header()
00032 , poses()
00033 {
00034 }
00035
00036 ExecuteCartesianIKTrajectoryRequest_(const ContainerAllocator& _alloc)
00037 : header(_alloc)
00038 , poses(_alloc)
00039 {
00040 }
00041
00042 typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
00043 ::std_msgs::Header_<ContainerAllocator> header;
00044
00045 typedef std::vector< ::geometry_msgs::Pose_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Pose_<ContainerAllocator> >::other > _poses_type;
00046 std::vector< ::geometry_msgs::Pose_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Pose_<ContainerAllocator> >::other > poses;
00047
00048
00049 typedef boost::shared_ptr< ::pr2_plugs_gazebo_demo::ExecuteCartesianIKTrajectoryRequest_<ContainerAllocator> > Ptr;
00050 typedef boost::shared_ptr< ::pr2_plugs_gazebo_demo::ExecuteCartesianIKTrajectoryRequest_<ContainerAllocator> const> ConstPtr;
00051 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00052 };
00053 typedef ::pr2_plugs_gazebo_demo::ExecuteCartesianIKTrajectoryRequest_<std::allocator<void> > ExecuteCartesianIKTrajectoryRequest;
00054
00055 typedef boost::shared_ptr< ::pr2_plugs_gazebo_demo::ExecuteCartesianIKTrajectoryRequest> ExecuteCartesianIKTrajectoryRequestPtr;
00056 typedef boost::shared_ptr< ::pr2_plugs_gazebo_demo::ExecuteCartesianIKTrajectoryRequest const> ExecuteCartesianIKTrajectoryRequestConstPtr;
00057
00058
00059 template <class ContainerAllocator>
00060 struct ExecuteCartesianIKTrajectoryResponse_ {
00061 typedef ExecuteCartesianIKTrajectoryResponse_<ContainerAllocator> Type;
00062
00063 ExecuteCartesianIKTrajectoryResponse_()
00064 : success(0)
00065 {
00066 }
00067
00068 ExecuteCartesianIKTrajectoryResponse_(const ContainerAllocator& _alloc)
00069 : success(0)
00070 {
00071 }
00072
00073 typedef uint32_t _success_type;
00074 uint32_t success;
00075
00076
00077 typedef boost::shared_ptr< ::pr2_plugs_gazebo_demo::ExecuteCartesianIKTrajectoryResponse_<ContainerAllocator> > Ptr;
00078 typedef boost::shared_ptr< ::pr2_plugs_gazebo_demo::ExecuteCartesianIKTrajectoryResponse_<ContainerAllocator> const> ConstPtr;
00079 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00080 };
00081 typedef ::pr2_plugs_gazebo_demo::ExecuteCartesianIKTrajectoryResponse_<std::allocator<void> > ExecuteCartesianIKTrajectoryResponse;
00082
00083 typedef boost::shared_ptr< ::pr2_plugs_gazebo_demo::ExecuteCartesianIKTrajectoryResponse> ExecuteCartesianIKTrajectoryResponsePtr;
00084 typedef boost::shared_ptr< ::pr2_plugs_gazebo_demo::ExecuteCartesianIKTrajectoryResponse const> ExecuteCartesianIKTrajectoryResponseConstPtr;
00085
00086 struct ExecuteCartesianIKTrajectory
00087 {
00088
00089 typedef ExecuteCartesianIKTrajectoryRequest Request;
00090 typedef ExecuteCartesianIKTrajectoryResponse 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< ::pr2_plugs_gazebo_demo::ExecuteCartesianIKTrajectoryRequest_<ContainerAllocator> > : public TrueType {};
00104 template<class ContainerAllocator> struct IsMessage< ::pr2_plugs_gazebo_demo::ExecuteCartesianIKTrajectoryRequest_<ContainerAllocator> const> : public TrueType {};
00105 template<class ContainerAllocator>
00106 struct MD5Sum< ::pr2_plugs_gazebo_demo::ExecuteCartesianIKTrajectoryRequest_<ContainerAllocator> > {
00107 static const char* value()
00108 {
00109 return "916c28c5764443f268b296bb671b9d97";
00110 }
00111
00112 static const char* value(const ::pr2_plugs_gazebo_demo::ExecuteCartesianIKTrajectoryRequest_<ContainerAllocator> &) { return value(); }
00113 static const uint64_t static_value1 = 0x916c28c5764443f2ULL;
00114 static const uint64_t static_value2 = 0x68b296bb671b9d97ULL;
00115 };
00116
00117 template<class ContainerAllocator>
00118 struct DataType< ::pr2_plugs_gazebo_demo::ExecuteCartesianIKTrajectoryRequest_<ContainerAllocator> > {
00119 static const char* value()
00120 {
00121 return "pr2_plugs_gazebo_demo/ExecuteCartesianIKTrajectoryRequest";
00122 }
00123
00124 static const char* value(const ::pr2_plugs_gazebo_demo::ExecuteCartesianIKTrajectoryRequest_<ContainerAllocator> &) { return value(); }
00125 };
00126
00127 template<class ContainerAllocator>
00128 struct Definition< ::pr2_plugs_gazebo_demo::ExecuteCartesianIKTrajectoryRequest_<ContainerAllocator> > {
00129 static const char* value()
00130 {
00131 return "Header header\n\
00132 geometry_msgs/Pose[] poses\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: geometry_msgs/Pose\n\
00154 # A representation of pose in free space, composed of postion and orientation. \n\
00155 Point position\n\
00156 Quaternion orientation\n\
00157 \n\
00158 ================================================================================\n\
00159 MSG: geometry_msgs/Point\n\
00160 # This contains the position of a point in free space\n\
00161 float64 x\n\
00162 float64 y\n\
00163 float64 z\n\
00164 \n\
00165 ================================================================================\n\
00166 MSG: geometry_msgs/Quaternion\n\
00167 # This represents an orientation in free space in quaternion form.\n\
00168 \n\
00169 float64 x\n\
00170 float64 y\n\
00171 float64 z\n\
00172 float64 w\n\
00173 \n\
00174 ";
00175 }
00176
00177 static const char* value(const ::pr2_plugs_gazebo_demo::ExecuteCartesianIKTrajectoryRequest_<ContainerAllocator> &) { return value(); }
00178 };
00179
00180 template<class ContainerAllocator> struct HasHeader< ::pr2_plugs_gazebo_demo::ExecuteCartesianIKTrajectoryRequest_<ContainerAllocator> > : public TrueType {};
00181 template<class ContainerAllocator> struct HasHeader< const ::pr2_plugs_gazebo_demo::ExecuteCartesianIKTrajectoryRequest_<ContainerAllocator> > : public TrueType {};
00182 }
00183 }
00184
00185
00186 namespace ros
00187 {
00188 namespace message_traits
00189 {
00190 template<class ContainerAllocator> struct IsMessage< ::pr2_plugs_gazebo_demo::ExecuteCartesianIKTrajectoryResponse_<ContainerAllocator> > : public TrueType {};
00191 template<class ContainerAllocator> struct IsMessage< ::pr2_plugs_gazebo_demo::ExecuteCartesianIKTrajectoryResponse_<ContainerAllocator> const> : public TrueType {};
00192 template<class ContainerAllocator>
00193 struct MD5Sum< ::pr2_plugs_gazebo_demo::ExecuteCartesianIKTrajectoryResponse_<ContainerAllocator> > {
00194 static const char* value()
00195 {
00196 return "952fc3b34491dbd8ce5170ced8b373fa";
00197 }
00198
00199 static const char* value(const ::pr2_plugs_gazebo_demo::ExecuteCartesianIKTrajectoryResponse_<ContainerAllocator> &) { return value(); }
00200 static const uint64_t static_value1 = 0x952fc3b34491dbd8ULL;
00201 static const uint64_t static_value2 = 0xce5170ced8b373faULL;
00202 };
00203
00204 template<class ContainerAllocator>
00205 struct DataType< ::pr2_plugs_gazebo_demo::ExecuteCartesianIKTrajectoryResponse_<ContainerAllocator> > {
00206 static const char* value()
00207 {
00208 return "pr2_plugs_gazebo_demo/ExecuteCartesianIKTrajectoryResponse";
00209 }
00210
00211 static const char* value(const ::pr2_plugs_gazebo_demo::ExecuteCartesianIKTrajectoryResponse_<ContainerAllocator> &) { return value(); }
00212 };
00213
00214 template<class ContainerAllocator>
00215 struct Definition< ::pr2_plugs_gazebo_demo::ExecuteCartesianIKTrajectoryResponse_<ContainerAllocator> > {
00216 static const char* value()
00217 {
00218 return "uint32 success\n\
00219 \n\
00220 \n\
00221 ";
00222 }
00223
00224 static const char* value(const ::pr2_plugs_gazebo_demo::ExecuteCartesianIKTrajectoryResponse_<ContainerAllocator> &) { return value(); }
00225 };
00226
00227 template<class ContainerAllocator> struct IsFixedSize< ::pr2_plugs_gazebo_demo::ExecuteCartesianIKTrajectoryResponse_<ContainerAllocator> > : public TrueType {};
00228 }
00229 }
00230
00231 namespace ros
00232 {
00233 namespace serialization
00234 {
00235
00236 template<class ContainerAllocator> struct Serializer< ::pr2_plugs_gazebo_demo::ExecuteCartesianIKTrajectoryRequest_<ContainerAllocator> >
00237 {
00238 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00239 {
00240 stream.next(m.header);
00241 stream.next(m.poses);
00242 }
00243
00244 ROS_DECLARE_ALLINONE_SERIALIZER;
00245 };
00246 }
00247 }
00248
00249
00250 namespace ros
00251 {
00252 namespace serialization
00253 {
00254
00255 template<class ContainerAllocator> struct Serializer< ::pr2_plugs_gazebo_demo::ExecuteCartesianIKTrajectoryResponse_<ContainerAllocator> >
00256 {
00257 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00258 {
00259 stream.next(m.success);
00260 }
00261
00262 ROS_DECLARE_ALLINONE_SERIALIZER;
00263 };
00264 }
00265 }
00266
00267 namespace ros
00268 {
00269 namespace service_traits
00270 {
00271 template<>
00272 struct MD5Sum<pr2_plugs_gazebo_demo::ExecuteCartesianIKTrajectory> {
00273 static const char* value()
00274 {
00275 return "d904d75e10f01066c74bf87962ffff22";
00276 }
00277
00278 static const char* value(const pr2_plugs_gazebo_demo::ExecuteCartesianIKTrajectory&) { return value(); }
00279 };
00280
00281 template<>
00282 struct DataType<pr2_plugs_gazebo_demo::ExecuteCartesianIKTrajectory> {
00283 static const char* value()
00284 {
00285 return "pr2_plugs_gazebo_demo/ExecuteCartesianIKTrajectory";
00286 }
00287
00288 static const char* value(const pr2_plugs_gazebo_demo::ExecuteCartesianIKTrajectory&) { return value(); }
00289 };
00290
00291 template<class ContainerAllocator>
00292 struct MD5Sum<pr2_plugs_gazebo_demo::ExecuteCartesianIKTrajectoryRequest_<ContainerAllocator> > {
00293 static const char* value()
00294 {
00295 return "d904d75e10f01066c74bf87962ffff22";
00296 }
00297
00298 static const char* value(const pr2_plugs_gazebo_demo::ExecuteCartesianIKTrajectoryRequest_<ContainerAllocator> &) { return value(); }
00299 };
00300
00301 template<class ContainerAllocator>
00302 struct DataType<pr2_plugs_gazebo_demo::ExecuteCartesianIKTrajectoryRequest_<ContainerAllocator> > {
00303 static const char* value()
00304 {
00305 return "pr2_plugs_gazebo_demo/ExecuteCartesianIKTrajectory";
00306 }
00307
00308 static const char* value(const pr2_plugs_gazebo_demo::ExecuteCartesianIKTrajectoryRequest_<ContainerAllocator> &) { return value(); }
00309 };
00310
00311 template<class ContainerAllocator>
00312 struct MD5Sum<pr2_plugs_gazebo_demo::ExecuteCartesianIKTrajectoryResponse_<ContainerAllocator> > {
00313 static const char* value()
00314 {
00315 return "d904d75e10f01066c74bf87962ffff22";
00316 }
00317
00318 static const char* value(const pr2_plugs_gazebo_demo::ExecuteCartesianIKTrajectoryResponse_<ContainerAllocator> &) { return value(); }
00319 };
00320
00321 template<class ContainerAllocator>
00322 struct DataType<pr2_plugs_gazebo_demo::ExecuteCartesianIKTrajectoryResponse_<ContainerAllocator> > {
00323 static const char* value()
00324 {
00325 return "pr2_plugs_gazebo_demo/ExecuteCartesianIKTrajectory";
00326 }
00327
00328 static const char* value(const pr2_plugs_gazebo_demo::ExecuteCartesianIKTrajectoryResponse_<ContainerAllocator> &) { return value(); }
00329 };
00330
00331 }
00332 }
00333
00334 #endif // PR2_PLUGS_GAZEBO_DEMO_SERVICE_EXECUTECARTESIANIKTRAJECTORY_H
00335