$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-srs_public/doc_stacks/2013-03-05_12-22-34.333426/srs_public/srs_grasping/srv/GetPreGrasp.srv */ 00002 #ifndef SRS_GRASPING_SERVICE_GETPREGRASP_H 00003 #define SRS_GRASPING_SERVICE_GETPREGRASP_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/Pose.h" 00020 00021 00022 #include "srs_msgs/DBGrasp.h" 00023 #include "srs_msgs/DBGrasp.h" 00024 #include "srs_msgs/DBGrasp.h" 00025 #include "srs_msgs/DBGrasp.h" 00026 00027 namespace srs_grasping 00028 { 00029 template <class ContainerAllocator> 00030 struct GetPreGraspRequest_ { 00031 typedef GetPreGraspRequest_<ContainerAllocator> Type; 00032 00033 GetPreGraspRequest_() 00034 : object_id(0) 00035 , object_pose() 00036 , pregrasp_offsets() 00037 , num_configurations(0) 00038 { 00039 } 00040 00041 GetPreGraspRequest_(const ContainerAllocator& _alloc) 00042 : object_id(0) 00043 , object_pose(_alloc) 00044 , pregrasp_offsets(_alloc) 00045 , num_configurations(0) 00046 { 00047 } 00048 00049 typedef int32_t _object_id_type; 00050 int32_t object_id; 00051 00052 typedef ::geometry_msgs::Pose_<ContainerAllocator> _object_pose_type; 00053 ::geometry_msgs::Pose_<ContainerAllocator> object_pose; 00054 00055 typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other > _pregrasp_offsets_type; 00056 std::vector<float, typename ContainerAllocator::template rebind<float>::other > pregrasp_offsets; 00057 00058 typedef int32_t _num_configurations_type; 00059 int32_t num_configurations; 00060 00061 00062 ROS_DEPRECATED uint32_t get_pregrasp_offsets_size() const { return (uint32_t)pregrasp_offsets.size(); } 00063 ROS_DEPRECATED void set_pregrasp_offsets_size(uint32_t size) { pregrasp_offsets.resize((size_t)size); } 00064 ROS_DEPRECATED void get_pregrasp_offsets_vec(std::vector<float, typename ContainerAllocator::template rebind<float>::other > & vec) const { vec = this->pregrasp_offsets; } 00065 ROS_DEPRECATED void set_pregrasp_offsets_vec(const std::vector<float, typename ContainerAllocator::template rebind<float>::other > & vec) { this->pregrasp_offsets = vec; } 00066 private: 00067 static const char* __s_getDataType_() { return "srs_grasping/GetPreGraspRequest"; } 00068 public: 00069 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00070 00071 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00072 00073 private: 00074 static const char* __s_getMD5Sum_() { return "75ce1ecb5a310c421ca60df09c23681a"; } 00075 public: 00076 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00077 00078 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00079 00080 private: 00081 static const char* __s_getServerMD5Sum_() { return "e606f4d802b5d457bfadfd961329be5b"; } 00082 public: 00083 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00084 00085 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00086 00087 private: 00088 static const char* __s_getMessageDefinition_() { return "int32 object_id\n\ 00089 geometry_msgs/Pose object_pose\n\ 00090 float32[] pregrasp_offsets\n\ 00091 int32 num_configurations\n\ 00092 \n\ 00093 ================================================================================\n\ 00094 MSG: geometry_msgs/Pose\n\ 00095 # A representation of pose in free space, composed of postion and orientation. \n\ 00096 Point position\n\ 00097 Quaternion orientation\n\ 00098 \n\ 00099 ================================================================================\n\ 00100 MSG: geometry_msgs/Point\n\ 00101 # This contains the position of a point in free space\n\ 00102 float64 x\n\ 00103 float64 y\n\ 00104 float64 z\n\ 00105 \n\ 00106 ================================================================================\n\ 00107 MSG: geometry_msgs/Quaternion\n\ 00108 # This represents an orientation in free space in quaternion form.\n\ 00109 \n\ 00110 float64 x\n\ 00111 float64 y\n\ 00112 float64 z\n\ 00113 float64 w\n\ 00114 \n\ 00115 "; } 00116 public: 00117 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00118 00119 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00120 00121 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00122 { 00123 ros::serialization::OStream stream(write_ptr, 1000000000); 00124 ros::serialization::serialize(stream, object_id); 00125 ros::serialization::serialize(stream, object_pose); 00126 ros::serialization::serialize(stream, pregrasp_offsets); 00127 ros::serialization::serialize(stream, num_configurations); 00128 return stream.getData(); 00129 } 00130 00131 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00132 { 00133 ros::serialization::IStream stream(read_ptr, 1000000000); 00134 ros::serialization::deserialize(stream, object_id); 00135 ros::serialization::deserialize(stream, object_pose); 00136 ros::serialization::deserialize(stream, pregrasp_offsets); 00137 ros::serialization::deserialize(stream, num_configurations); 00138 return stream.getData(); 00139 } 00140 00141 ROS_DEPRECATED virtual uint32_t serializationLength() const 00142 { 00143 uint32_t size = 0; 00144 size += ros::serialization::serializationLength(object_id); 00145 size += ros::serialization::serializationLength(object_pose); 00146 size += ros::serialization::serializationLength(pregrasp_offsets); 00147 size += ros::serialization::serializationLength(num_configurations); 00148 return size; 00149 } 00150 00151 typedef boost::shared_ptr< ::srs_grasping::GetPreGraspRequest_<ContainerAllocator> > Ptr; 00152 typedef boost::shared_ptr< ::srs_grasping::GetPreGraspRequest_<ContainerAllocator> const> ConstPtr; 00153 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00154 }; // struct GetPreGraspRequest 00155 typedef ::srs_grasping::GetPreGraspRequest_<std::allocator<void> > GetPreGraspRequest; 00156 00157 typedef boost::shared_ptr< ::srs_grasping::GetPreGraspRequest> GetPreGraspRequestPtr; 00158 typedef boost::shared_ptr< ::srs_grasping::GetPreGraspRequest const> GetPreGraspRequestConstPtr; 00159 00160 00161 template <class ContainerAllocator> 00162 struct GetPreGraspResponse_ { 00163 typedef GetPreGraspResponse_<ContainerAllocator> Type; 00164 00165 GetPreGraspResponse_() 00166 : side() 00167 , mside() 00168 , front() 00169 , top() 00170 { 00171 } 00172 00173 GetPreGraspResponse_(const ContainerAllocator& _alloc) 00174 : side(_alloc) 00175 , mside(_alloc) 00176 , front(_alloc) 00177 , top(_alloc) 00178 { 00179 } 00180 00181 typedef std::vector< ::srs_msgs::DBGrasp_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::srs_msgs::DBGrasp_<ContainerAllocator> >::other > _side_type; 00182 std::vector< ::srs_msgs::DBGrasp_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::srs_msgs::DBGrasp_<ContainerAllocator> >::other > side; 00183 00184 typedef std::vector< ::srs_msgs::DBGrasp_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::srs_msgs::DBGrasp_<ContainerAllocator> >::other > _mside_type; 00185 std::vector< ::srs_msgs::DBGrasp_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::srs_msgs::DBGrasp_<ContainerAllocator> >::other > mside; 00186 00187 typedef std::vector< ::srs_msgs::DBGrasp_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::srs_msgs::DBGrasp_<ContainerAllocator> >::other > _front_type; 00188 std::vector< ::srs_msgs::DBGrasp_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::srs_msgs::DBGrasp_<ContainerAllocator> >::other > front; 00189 00190 typedef std::vector< ::srs_msgs::DBGrasp_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::srs_msgs::DBGrasp_<ContainerAllocator> >::other > _top_type; 00191 std::vector< ::srs_msgs::DBGrasp_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::srs_msgs::DBGrasp_<ContainerAllocator> >::other > top; 00192 00193 00194 ROS_DEPRECATED uint32_t get_side_size() const { return (uint32_t)side.size(); } 00195 ROS_DEPRECATED void set_side_size(uint32_t size) { side.resize((size_t)size); } 00196 ROS_DEPRECATED void get_side_vec(std::vector< ::srs_msgs::DBGrasp_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::srs_msgs::DBGrasp_<ContainerAllocator> >::other > & vec) const { vec = this->side; } 00197 ROS_DEPRECATED void set_side_vec(const std::vector< ::srs_msgs::DBGrasp_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::srs_msgs::DBGrasp_<ContainerAllocator> >::other > & vec) { this->side = vec; } 00198 ROS_DEPRECATED uint32_t get_mside_size() const { return (uint32_t)mside.size(); } 00199 ROS_DEPRECATED void set_mside_size(uint32_t size) { mside.resize((size_t)size); } 00200 ROS_DEPRECATED void get_mside_vec(std::vector< ::srs_msgs::DBGrasp_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::srs_msgs::DBGrasp_<ContainerAllocator> >::other > & vec) const { vec = this->mside; } 00201 ROS_DEPRECATED void set_mside_vec(const std::vector< ::srs_msgs::DBGrasp_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::srs_msgs::DBGrasp_<ContainerAllocator> >::other > & vec) { this->mside = vec; } 00202 ROS_DEPRECATED uint32_t get_front_size() const { return (uint32_t)front.size(); } 00203 ROS_DEPRECATED void set_front_size(uint32_t size) { front.resize((size_t)size); } 00204 ROS_DEPRECATED void get_front_vec(std::vector< ::srs_msgs::DBGrasp_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::srs_msgs::DBGrasp_<ContainerAllocator> >::other > & vec) const { vec = this->front; } 00205 ROS_DEPRECATED void set_front_vec(const std::vector< ::srs_msgs::DBGrasp_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::srs_msgs::DBGrasp_<ContainerAllocator> >::other > & vec) { this->front = vec; } 00206 ROS_DEPRECATED uint32_t get_top_size() const { return (uint32_t)top.size(); } 00207 ROS_DEPRECATED void set_top_size(uint32_t size) { top.resize((size_t)size); } 00208 ROS_DEPRECATED void get_top_vec(std::vector< ::srs_msgs::DBGrasp_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::srs_msgs::DBGrasp_<ContainerAllocator> >::other > & vec) const { vec = this->top; } 00209 ROS_DEPRECATED void set_top_vec(const std::vector< ::srs_msgs::DBGrasp_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::srs_msgs::DBGrasp_<ContainerAllocator> >::other > & vec) { this->top = vec; } 00210 private: 00211 static const char* __s_getDataType_() { return "srs_grasping/GetPreGraspResponse"; } 00212 public: 00213 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00214 00215 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00216 00217 private: 00218 static const char* __s_getMD5Sum_() { return "538836881add1e5a4677110d671fd2fd"; } 00219 public: 00220 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00221 00222 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00223 00224 private: 00225 static const char* __s_getServerMD5Sum_() { return "e606f4d802b5d457bfadfd961329be5b"; } 00226 public: 00227 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00228 00229 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00230 00231 private: 00232 static const char* __s_getMessageDefinition_() { return "srs_msgs/DBGrasp[] side\n\ 00233 srs_msgs/DBGrasp[] mside\n\ 00234 srs_msgs/DBGrasp[] front\n\ 00235 srs_msgs/DBGrasp[] top\n\ 00236 \n\ 00237 \n\ 00238 ================================================================================\n\ 00239 MSG: srs_msgs/DBGrasp\n\ 00240 int32 object_id\n\ 00241 string hand_type\n\ 00242 float64[] sdh_joint_values\n\ 00243 geometry_msgs/PoseStamped pre_grasp\n\ 00244 geometry_msgs/PoseStamped grasp\n\ 00245 string category\n\ 00246 \n\ 00247 ================================================================================\n\ 00248 MSG: geometry_msgs/PoseStamped\n\ 00249 # A Pose with reference coordinate frame and timestamp\n\ 00250 Header header\n\ 00251 Pose pose\n\ 00252 \n\ 00253 ================================================================================\n\ 00254 MSG: std_msgs/Header\n\ 00255 # Standard metadata for higher-level stamped data types.\n\ 00256 # This is generally used to communicate timestamped data \n\ 00257 # in a particular coordinate frame.\n\ 00258 # \n\ 00259 # sequence ID: consecutively increasing ID \n\ 00260 uint32 seq\n\ 00261 #Two-integer timestamp that is expressed as:\n\ 00262 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00263 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00264 # time-handling sugar is provided by the client library\n\ 00265 time stamp\n\ 00266 #Frame this data is associated with\n\ 00267 # 0: no frame\n\ 00268 # 1: global frame\n\ 00269 string frame_id\n\ 00270 \n\ 00271 ================================================================================\n\ 00272 MSG: geometry_msgs/Pose\n\ 00273 # A representation of pose in free space, composed of postion and orientation. \n\ 00274 Point position\n\ 00275 Quaternion orientation\n\ 00276 \n\ 00277 ================================================================================\n\ 00278 MSG: geometry_msgs/Point\n\ 00279 # This contains the position of a point in free space\n\ 00280 float64 x\n\ 00281 float64 y\n\ 00282 float64 z\n\ 00283 \n\ 00284 ================================================================================\n\ 00285 MSG: geometry_msgs/Quaternion\n\ 00286 # This represents an orientation in free space in quaternion form.\n\ 00287 \n\ 00288 float64 x\n\ 00289 float64 y\n\ 00290 float64 z\n\ 00291 float64 w\n\ 00292 \n\ 00293 "; } 00294 public: 00295 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00296 00297 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00298 00299 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00300 { 00301 ros::serialization::OStream stream(write_ptr, 1000000000); 00302 ros::serialization::serialize(stream, side); 00303 ros::serialization::serialize(stream, mside); 00304 ros::serialization::serialize(stream, front); 00305 ros::serialization::serialize(stream, top); 00306 return stream.getData(); 00307 } 00308 00309 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00310 { 00311 ros::serialization::IStream stream(read_ptr, 1000000000); 00312 ros::serialization::deserialize(stream, side); 00313 ros::serialization::deserialize(stream, mside); 00314 ros::serialization::deserialize(stream, front); 00315 ros::serialization::deserialize(stream, top); 00316 return stream.getData(); 00317 } 00318 00319 ROS_DEPRECATED virtual uint32_t serializationLength() const 00320 { 00321 uint32_t size = 0; 00322 size += ros::serialization::serializationLength(side); 00323 size += ros::serialization::serializationLength(mside); 00324 size += ros::serialization::serializationLength(front); 00325 size += ros::serialization::serializationLength(top); 00326 return size; 00327 } 00328 00329 typedef boost::shared_ptr< ::srs_grasping::GetPreGraspResponse_<ContainerAllocator> > Ptr; 00330 typedef boost::shared_ptr< ::srs_grasping::GetPreGraspResponse_<ContainerAllocator> const> ConstPtr; 00331 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00332 }; // struct GetPreGraspResponse 00333 typedef ::srs_grasping::GetPreGraspResponse_<std::allocator<void> > GetPreGraspResponse; 00334 00335 typedef boost::shared_ptr< ::srs_grasping::GetPreGraspResponse> GetPreGraspResponsePtr; 00336 typedef boost::shared_ptr< ::srs_grasping::GetPreGraspResponse const> GetPreGraspResponseConstPtr; 00337 00338 struct GetPreGrasp 00339 { 00340 00341 typedef GetPreGraspRequest Request; 00342 typedef GetPreGraspResponse Response; 00343 Request request; 00344 Response response; 00345 00346 typedef Request RequestType; 00347 typedef Response ResponseType; 00348 }; // struct GetPreGrasp 00349 } // namespace srs_grasping 00350 00351 namespace ros 00352 { 00353 namespace message_traits 00354 { 00355 template<class ContainerAllocator> struct IsMessage< ::srs_grasping::GetPreGraspRequest_<ContainerAllocator> > : public TrueType {}; 00356 template<class ContainerAllocator> struct IsMessage< ::srs_grasping::GetPreGraspRequest_<ContainerAllocator> const> : public TrueType {}; 00357 template<class ContainerAllocator> 00358 struct MD5Sum< ::srs_grasping::GetPreGraspRequest_<ContainerAllocator> > { 00359 static const char* value() 00360 { 00361 return "75ce1ecb5a310c421ca60df09c23681a"; 00362 } 00363 00364 static const char* value(const ::srs_grasping::GetPreGraspRequest_<ContainerAllocator> &) { return value(); } 00365 static const uint64_t static_value1 = 0x75ce1ecb5a310c42ULL; 00366 static const uint64_t static_value2 = 0x1ca60df09c23681aULL; 00367 }; 00368 00369 template<class ContainerAllocator> 00370 struct DataType< ::srs_grasping::GetPreGraspRequest_<ContainerAllocator> > { 00371 static const char* value() 00372 { 00373 return "srs_grasping/GetPreGraspRequest"; 00374 } 00375 00376 static const char* value(const ::srs_grasping::GetPreGraspRequest_<ContainerAllocator> &) { return value(); } 00377 }; 00378 00379 template<class ContainerAllocator> 00380 struct Definition< ::srs_grasping::GetPreGraspRequest_<ContainerAllocator> > { 00381 static const char* value() 00382 { 00383 return "int32 object_id\n\ 00384 geometry_msgs/Pose object_pose\n\ 00385 float32[] pregrasp_offsets\n\ 00386 int32 num_configurations\n\ 00387 \n\ 00388 ================================================================================\n\ 00389 MSG: geometry_msgs/Pose\n\ 00390 # A representation of pose in free space, composed of postion and orientation. \n\ 00391 Point position\n\ 00392 Quaternion orientation\n\ 00393 \n\ 00394 ================================================================================\n\ 00395 MSG: geometry_msgs/Point\n\ 00396 # This contains the position of a point in free space\n\ 00397 float64 x\n\ 00398 float64 y\n\ 00399 float64 z\n\ 00400 \n\ 00401 ================================================================================\n\ 00402 MSG: geometry_msgs/Quaternion\n\ 00403 # This represents an orientation in free space in quaternion form.\n\ 00404 \n\ 00405 float64 x\n\ 00406 float64 y\n\ 00407 float64 z\n\ 00408 float64 w\n\ 00409 \n\ 00410 "; 00411 } 00412 00413 static const char* value(const ::srs_grasping::GetPreGraspRequest_<ContainerAllocator> &) { return value(); } 00414 }; 00415 00416 } // namespace message_traits 00417 } // namespace ros 00418 00419 00420 namespace ros 00421 { 00422 namespace message_traits 00423 { 00424 template<class ContainerAllocator> struct IsMessage< ::srs_grasping::GetPreGraspResponse_<ContainerAllocator> > : public TrueType {}; 00425 template<class ContainerAllocator> struct IsMessage< ::srs_grasping::GetPreGraspResponse_<ContainerAllocator> const> : public TrueType {}; 00426 template<class ContainerAllocator> 00427 struct MD5Sum< ::srs_grasping::GetPreGraspResponse_<ContainerAllocator> > { 00428 static const char* value() 00429 { 00430 return "538836881add1e5a4677110d671fd2fd"; 00431 } 00432 00433 static const char* value(const ::srs_grasping::GetPreGraspResponse_<ContainerAllocator> &) { return value(); } 00434 static const uint64_t static_value1 = 0x538836881add1e5aULL; 00435 static const uint64_t static_value2 = 0x4677110d671fd2fdULL; 00436 }; 00437 00438 template<class ContainerAllocator> 00439 struct DataType< ::srs_grasping::GetPreGraspResponse_<ContainerAllocator> > { 00440 static const char* value() 00441 { 00442 return "srs_grasping/GetPreGraspResponse"; 00443 } 00444 00445 static const char* value(const ::srs_grasping::GetPreGraspResponse_<ContainerAllocator> &) { return value(); } 00446 }; 00447 00448 template<class ContainerAllocator> 00449 struct Definition< ::srs_grasping::GetPreGraspResponse_<ContainerAllocator> > { 00450 static const char* value() 00451 { 00452 return "srs_msgs/DBGrasp[] side\n\ 00453 srs_msgs/DBGrasp[] mside\n\ 00454 srs_msgs/DBGrasp[] front\n\ 00455 srs_msgs/DBGrasp[] top\n\ 00456 \n\ 00457 \n\ 00458 ================================================================================\n\ 00459 MSG: srs_msgs/DBGrasp\n\ 00460 int32 object_id\n\ 00461 string hand_type\n\ 00462 float64[] sdh_joint_values\n\ 00463 geometry_msgs/PoseStamped pre_grasp\n\ 00464 geometry_msgs/PoseStamped grasp\n\ 00465 string category\n\ 00466 \n\ 00467 ================================================================================\n\ 00468 MSG: geometry_msgs/PoseStamped\n\ 00469 # A Pose with reference coordinate frame and timestamp\n\ 00470 Header header\n\ 00471 Pose pose\n\ 00472 \n\ 00473 ================================================================================\n\ 00474 MSG: std_msgs/Header\n\ 00475 # Standard metadata for higher-level stamped data types.\n\ 00476 # This is generally used to communicate timestamped data \n\ 00477 # in a particular coordinate frame.\n\ 00478 # \n\ 00479 # sequence ID: consecutively increasing ID \n\ 00480 uint32 seq\n\ 00481 #Two-integer timestamp that is expressed as:\n\ 00482 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00483 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00484 # time-handling sugar is provided by the client library\n\ 00485 time stamp\n\ 00486 #Frame this data is associated with\n\ 00487 # 0: no frame\n\ 00488 # 1: global frame\n\ 00489 string frame_id\n\ 00490 \n\ 00491 ================================================================================\n\ 00492 MSG: geometry_msgs/Pose\n\ 00493 # A representation of pose in free space, composed of postion and orientation. \n\ 00494 Point position\n\ 00495 Quaternion orientation\n\ 00496 \n\ 00497 ================================================================================\n\ 00498 MSG: geometry_msgs/Point\n\ 00499 # This contains the position of a point in free space\n\ 00500 float64 x\n\ 00501 float64 y\n\ 00502 float64 z\n\ 00503 \n\ 00504 ================================================================================\n\ 00505 MSG: geometry_msgs/Quaternion\n\ 00506 # This represents an orientation in free space in quaternion form.\n\ 00507 \n\ 00508 float64 x\n\ 00509 float64 y\n\ 00510 float64 z\n\ 00511 float64 w\n\ 00512 \n\ 00513 "; 00514 } 00515 00516 static const char* value(const ::srs_grasping::GetPreGraspResponse_<ContainerAllocator> &) { return value(); } 00517 }; 00518 00519 } // namespace message_traits 00520 } // namespace ros 00521 00522 namespace ros 00523 { 00524 namespace serialization 00525 { 00526 00527 template<class ContainerAllocator> struct Serializer< ::srs_grasping::GetPreGraspRequest_<ContainerAllocator> > 00528 { 00529 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00530 { 00531 stream.next(m.object_id); 00532 stream.next(m.object_pose); 00533 stream.next(m.pregrasp_offsets); 00534 stream.next(m.num_configurations); 00535 } 00536 00537 ROS_DECLARE_ALLINONE_SERIALIZER; 00538 }; // struct GetPreGraspRequest_ 00539 } // namespace serialization 00540 } // namespace ros 00541 00542 00543 namespace ros 00544 { 00545 namespace serialization 00546 { 00547 00548 template<class ContainerAllocator> struct Serializer< ::srs_grasping::GetPreGraspResponse_<ContainerAllocator> > 00549 { 00550 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00551 { 00552 stream.next(m.side); 00553 stream.next(m.mside); 00554 stream.next(m.front); 00555 stream.next(m.top); 00556 } 00557 00558 ROS_DECLARE_ALLINONE_SERIALIZER; 00559 }; // struct GetPreGraspResponse_ 00560 } // namespace serialization 00561 } // namespace ros 00562 00563 namespace ros 00564 { 00565 namespace service_traits 00566 { 00567 template<> 00568 struct MD5Sum<srs_grasping::GetPreGrasp> { 00569 static const char* value() 00570 { 00571 return "e606f4d802b5d457bfadfd961329be5b"; 00572 } 00573 00574 static const char* value(const srs_grasping::GetPreGrasp&) { return value(); } 00575 }; 00576 00577 template<> 00578 struct DataType<srs_grasping::GetPreGrasp> { 00579 static const char* value() 00580 { 00581 return "srs_grasping/GetPreGrasp"; 00582 } 00583 00584 static const char* value(const srs_grasping::GetPreGrasp&) { return value(); } 00585 }; 00586 00587 template<class ContainerAllocator> 00588 struct MD5Sum<srs_grasping::GetPreGraspRequest_<ContainerAllocator> > { 00589 static const char* value() 00590 { 00591 return "e606f4d802b5d457bfadfd961329be5b"; 00592 } 00593 00594 static const char* value(const srs_grasping::GetPreGraspRequest_<ContainerAllocator> &) { return value(); } 00595 }; 00596 00597 template<class ContainerAllocator> 00598 struct DataType<srs_grasping::GetPreGraspRequest_<ContainerAllocator> > { 00599 static const char* value() 00600 { 00601 return "srs_grasping/GetPreGrasp"; 00602 } 00603 00604 static const char* value(const srs_grasping::GetPreGraspRequest_<ContainerAllocator> &) { return value(); } 00605 }; 00606 00607 template<class ContainerAllocator> 00608 struct MD5Sum<srs_grasping::GetPreGraspResponse_<ContainerAllocator> > { 00609 static const char* value() 00610 { 00611 return "e606f4d802b5d457bfadfd961329be5b"; 00612 } 00613 00614 static const char* value(const srs_grasping::GetPreGraspResponse_<ContainerAllocator> &) { return value(); } 00615 }; 00616 00617 template<class ContainerAllocator> 00618 struct DataType<srs_grasping::GetPreGraspResponse_<ContainerAllocator> > { 00619 static const char* value() 00620 { 00621 return "srs_grasping/GetPreGrasp"; 00622 } 00623 00624 static const char* value(const srs_grasping::GetPreGraspResponse_<ContainerAllocator> &) { return value(); } 00625 }; 00626 00627 } // namespace service_traits 00628 } // namespace ros 00629 00630 #endif // SRS_GRASPING_SERVICE_GETPREGRASP_H 00631