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