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