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