$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-pr2_object_manipulation/doc_stacks/2013-03-05_12-10-38.333207/pr2_object_manipulation/manipulation/pr2_object_manipulation_msgs/msg/GetGripperPoseResult.msg */ 00002 #ifndef PR2_OBJECT_MANIPULATION_MSGS_MESSAGE_GETGRIPPERPOSERESULT_H 00003 #define PR2_OBJECT_MANIPULATION_MSGS_MESSAGE_GETGRIPPERPOSERESULT_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 "geometry_msgs/PoseStamped.h" 00018 00019 namespace pr2_object_manipulation_msgs 00020 { 00021 template <class ContainerAllocator> 00022 struct GetGripperPoseResult_ { 00023 typedef GetGripperPoseResult_<ContainerAllocator> Type; 00024 00025 GetGripperPoseResult_() 00026 : gripper_pose() 00027 , gripper_opening(0.0) 00028 { 00029 } 00030 00031 GetGripperPoseResult_(const ContainerAllocator& _alloc) 00032 : gripper_pose(_alloc) 00033 , gripper_opening(0.0) 00034 { 00035 } 00036 00037 typedef ::geometry_msgs::PoseStamped_<ContainerAllocator> _gripper_pose_type; 00038 ::geometry_msgs::PoseStamped_<ContainerAllocator> gripper_pose; 00039 00040 typedef float _gripper_opening_type; 00041 float gripper_opening; 00042 00043 00044 private: 00045 static const char* __s_getDataType_() { return "pr2_object_manipulation_msgs/GetGripperPoseResult"; } 00046 public: 00047 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00048 00049 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00050 00051 private: 00052 static const char* __s_getMD5Sum_() { return "376ba9325430425e1115a2f7597dc0e7"; } 00053 public: 00054 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00055 00056 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00057 00058 private: 00059 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00060 # the returned gripper pose, assuming the user has clicked \"accept\"\n\ 00061 # if the user clicks \"cancel\" the action aborts\n\ 00062 geometry_msgs/PoseStamped gripper_pose\n\ 00063 float32 gripper_opening\n\ 00064 \n\ 00065 ================================================================================\n\ 00066 MSG: geometry_msgs/PoseStamped\n\ 00067 # A Pose with reference coordinate frame and timestamp\n\ 00068 Header header\n\ 00069 Pose pose\n\ 00070 \n\ 00071 ================================================================================\n\ 00072 MSG: std_msgs/Header\n\ 00073 # Standard metadata for higher-level stamped data types.\n\ 00074 # This is generally used to communicate timestamped data \n\ 00075 # in a particular coordinate frame.\n\ 00076 # \n\ 00077 # sequence ID: consecutively increasing ID \n\ 00078 uint32 seq\n\ 00079 #Two-integer timestamp that is expressed as:\n\ 00080 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00081 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00082 # time-handling sugar is provided by the client library\n\ 00083 time stamp\n\ 00084 #Frame this data is associated with\n\ 00085 # 0: no frame\n\ 00086 # 1: global frame\n\ 00087 string frame_id\n\ 00088 \n\ 00089 ================================================================================\n\ 00090 MSG: geometry_msgs/Pose\n\ 00091 # A representation of pose in free space, composed of postion and orientation. \n\ 00092 Point position\n\ 00093 Quaternion orientation\n\ 00094 \n\ 00095 ================================================================================\n\ 00096 MSG: geometry_msgs/Point\n\ 00097 # This contains the position of a point in free space\n\ 00098 float64 x\n\ 00099 float64 y\n\ 00100 float64 z\n\ 00101 \n\ 00102 ================================================================================\n\ 00103 MSG: geometry_msgs/Quaternion\n\ 00104 # This represents an orientation in free space in quaternion form.\n\ 00105 \n\ 00106 float64 x\n\ 00107 float64 y\n\ 00108 float64 z\n\ 00109 float64 w\n\ 00110 \n\ 00111 "; } 00112 public: 00113 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00114 00115 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00116 00117 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00118 { 00119 ros::serialization::OStream stream(write_ptr, 1000000000); 00120 ros::serialization::serialize(stream, gripper_pose); 00121 ros::serialization::serialize(stream, gripper_opening); 00122 return stream.getData(); 00123 } 00124 00125 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00126 { 00127 ros::serialization::IStream stream(read_ptr, 1000000000); 00128 ros::serialization::deserialize(stream, gripper_pose); 00129 ros::serialization::deserialize(stream, gripper_opening); 00130 return stream.getData(); 00131 } 00132 00133 ROS_DEPRECATED virtual uint32_t serializationLength() const 00134 { 00135 uint32_t size = 0; 00136 size += ros::serialization::serializationLength(gripper_pose); 00137 size += ros::serialization::serializationLength(gripper_opening); 00138 return size; 00139 } 00140 00141 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::GetGripperPoseResult_<ContainerAllocator> > Ptr; 00142 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::GetGripperPoseResult_<ContainerAllocator> const> ConstPtr; 00143 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00144 }; // struct GetGripperPoseResult 00145 typedef ::pr2_object_manipulation_msgs::GetGripperPoseResult_<std::allocator<void> > GetGripperPoseResult; 00146 00147 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::GetGripperPoseResult> GetGripperPoseResultPtr; 00148 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::GetGripperPoseResult const> GetGripperPoseResultConstPtr; 00149 00150 00151 template<typename ContainerAllocator> 00152 std::ostream& operator<<(std::ostream& s, const ::pr2_object_manipulation_msgs::GetGripperPoseResult_<ContainerAllocator> & v) 00153 { 00154 ros::message_operations::Printer< ::pr2_object_manipulation_msgs::GetGripperPoseResult_<ContainerAllocator> >::stream(s, "", v); 00155 return s;} 00156 00157 } // namespace pr2_object_manipulation_msgs 00158 00159 namespace ros 00160 { 00161 namespace message_traits 00162 { 00163 template<class ContainerAllocator> struct IsMessage< ::pr2_object_manipulation_msgs::GetGripperPoseResult_<ContainerAllocator> > : public TrueType {}; 00164 template<class ContainerAllocator> struct IsMessage< ::pr2_object_manipulation_msgs::GetGripperPoseResult_<ContainerAllocator> const> : public TrueType {}; 00165 template<class ContainerAllocator> 00166 struct MD5Sum< ::pr2_object_manipulation_msgs::GetGripperPoseResult_<ContainerAllocator> > { 00167 static const char* value() 00168 { 00169 return "376ba9325430425e1115a2f7597dc0e7"; 00170 } 00171 00172 static const char* value(const ::pr2_object_manipulation_msgs::GetGripperPoseResult_<ContainerAllocator> &) { return value(); } 00173 static const uint64_t static_value1 = 0x376ba9325430425eULL; 00174 static const uint64_t static_value2 = 0x1115a2f7597dc0e7ULL; 00175 }; 00176 00177 template<class ContainerAllocator> 00178 struct DataType< ::pr2_object_manipulation_msgs::GetGripperPoseResult_<ContainerAllocator> > { 00179 static const char* value() 00180 { 00181 return "pr2_object_manipulation_msgs/GetGripperPoseResult"; 00182 } 00183 00184 static const char* value(const ::pr2_object_manipulation_msgs::GetGripperPoseResult_<ContainerAllocator> &) { return value(); } 00185 }; 00186 00187 template<class ContainerAllocator> 00188 struct Definition< ::pr2_object_manipulation_msgs::GetGripperPoseResult_<ContainerAllocator> > { 00189 static const char* value() 00190 { 00191 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00192 # the returned gripper pose, assuming the user has clicked \"accept\"\n\ 00193 # if the user clicks \"cancel\" the action aborts\n\ 00194 geometry_msgs/PoseStamped gripper_pose\n\ 00195 float32 gripper_opening\n\ 00196 \n\ 00197 ================================================================================\n\ 00198 MSG: geometry_msgs/PoseStamped\n\ 00199 # A Pose with reference coordinate frame and timestamp\n\ 00200 Header header\n\ 00201 Pose pose\n\ 00202 \n\ 00203 ================================================================================\n\ 00204 MSG: std_msgs/Header\n\ 00205 # Standard metadata for higher-level stamped data types.\n\ 00206 # This is generally used to communicate timestamped data \n\ 00207 # in a particular coordinate frame.\n\ 00208 # \n\ 00209 # sequence ID: consecutively increasing ID \n\ 00210 uint32 seq\n\ 00211 #Two-integer timestamp that is expressed as:\n\ 00212 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00213 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00214 # time-handling sugar is provided by the client library\n\ 00215 time stamp\n\ 00216 #Frame this data is associated with\n\ 00217 # 0: no frame\n\ 00218 # 1: global frame\n\ 00219 string frame_id\n\ 00220 \n\ 00221 ================================================================================\n\ 00222 MSG: geometry_msgs/Pose\n\ 00223 # A representation of pose in free space, composed of postion and orientation. \n\ 00224 Point position\n\ 00225 Quaternion orientation\n\ 00226 \n\ 00227 ================================================================================\n\ 00228 MSG: geometry_msgs/Point\n\ 00229 # This contains the position of a point in free space\n\ 00230 float64 x\n\ 00231 float64 y\n\ 00232 float64 z\n\ 00233 \n\ 00234 ================================================================================\n\ 00235 MSG: geometry_msgs/Quaternion\n\ 00236 # This represents an orientation in free space in quaternion form.\n\ 00237 \n\ 00238 float64 x\n\ 00239 float64 y\n\ 00240 float64 z\n\ 00241 float64 w\n\ 00242 \n\ 00243 "; 00244 } 00245 00246 static const char* value(const ::pr2_object_manipulation_msgs::GetGripperPoseResult_<ContainerAllocator> &) { return value(); } 00247 }; 00248 00249 } // namespace message_traits 00250 } // namespace ros 00251 00252 namespace ros 00253 { 00254 namespace serialization 00255 { 00256 00257 template<class ContainerAllocator> struct Serializer< ::pr2_object_manipulation_msgs::GetGripperPoseResult_<ContainerAllocator> > 00258 { 00259 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00260 { 00261 stream.next(m.gripper_pose); 00262 stream.next(m.gripper_opening); 00263 } 00264 00265 ROS_DECLARE_ALLINONE_SERIALIZER; 00266 }; // struct GetGripperPoseResult_ 00267 } // namespace serialization 00268 } // namespace ros 00269 00270 namespace ros 00271 { 00272 namespace message_operations 00273 { 00274 00275 template<class ContainerAllocator> 00276 struct Printer< ::pr2_object_manipulation_msgs::GetGripperPoseResult_<ContainerAllocator> > 00277 { 00278 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::pr2_object_manipulation_msgs::GetGripperPoseResult_<ContainerAllocator> & v) 00279 { 00280 s << indent << "gripper_pose: "; 00281 s << std::endl; 00282 Printer< ::geometry_msgs::PoseStamped_<ContainerAllocator> >::stream(s, indent + " ", v.gripper_pose); 00283 s << indent << "gripper_opening: "; 00284 Printer<float>::stream(s, indent + " ", v.gripper_opening); 00285 } 00286 }; 00287 00288 00289 } // namespace message_operations 00290 } // namespace ros 00291 00292 #endif // PR2_OBJECT_MANIPULATION_MSGS_MESSAGE_GETGRIPPERPOSERESULT_H 00293