Go to the documentation of this file.00001
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 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::GetGripperPoseFeedback_<ContainerAllocator> > Ptr;
00045 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::GetGripperPoseFeedback_<ContainerAllocator> const> ConstPtr;
00046 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00047 };
00048 typedef ::pr2_object_manipulation_msgs::GetGripperPoseFeedback_<std::allocator<void> > GetGripperPoseFeedback;
00049
00050 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::GetGripperPoseFeedback> GetGripperPoseFeedbackPtr;
00051 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::GetGripperPoseFeedback const> GetGripperPoseFeedbackConstPtr;
00052
00053
00054 template<typename ContainerAllocator>
00055 std::ostream& operator<<(std::ostream& s, const ::pr2_object_manipulation_msgs::GetGripperPoseFeedback_<ContainerAllocator> & v)
00056 {
00057 ros::message_operations::Printer< ::pr2_object_manipulation_msgs::GetGripperPoseFeedback_<ContainerAllocator> >::stream(s, "", v);
00058 return s;}
00059
00060 }
00061
00062 namespace ros
00063 {
00064 namespace message_traits
00065 {
00066 template<class ContainerAllocator> struct IsMessage< ::pr2_object_manipulation_msgs::GetGripperPoseFeedback_<ContainerAllocator> > : public TrueType {};
00067 template<class ContainerAllocator> struct IsMessage< ::pr2_object_manipulation_msgs::GetGripperPoseFeedback_<ContainerAllocator> const> : public TrueType {};
00068 template<class ContainerAllocator>
00069 struct MD5Sum< ::pr2_object_manipulation_msgs::GetGripperPoseFeedback_<ContainerAllocator> > {
00070 static const char* value()
00071 {
00072 return "376ba9325430425e1115a2f7597dc0e7";
00073 }
00074
00075 static const char* value(const ::pr2_object_manipulation_msgs::GetGripperPoseFeedback_<ContainerAllocator> &) { return value(); }
00076 static const uint64_t static_value1 = 0x376ba9325430425eULL;
00077 static const uint64_t static_value2 = 0x1115a2f7597dc0e7ULL;
00078 };
00079
00080 template<class ContainerAllocator>
00081 struct DataType< ::pr2_object_manipulation_msgs::GetGripperPoseFeedback_<ContainerAllocator> > {
00082 static const char* value()
00083 {
00084 return "pr2_object_manipulation_msgs/GetGripperPoseFeedback";
00085 }
00086
00087 static const char* value(const ::pr2_object_manipulation_msgs::GetGripperPoseFeedback_<ContainerAllocator> &) { return value(); }
00088 };
00089
00090 template<class ContainerAllocator>
00091 struct Definition< ::pr2_object_manipulation_msgs::GetGripperPoseFeedback_<ContainerAllocator> > {
00092 static const char* value()
00093 {
00094 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00095 \n\
00096 # the feedback gripper pose, which is basically raw and unfiltered but may be useful\n\
00097 geometry_msgs/PoseStamped gripper_pose\n\
00098 float32 gripper_opening\n\
00099 \n\
00100 \n\
00101 ================================================================================\n\
00102 MSG: geometry_msgs/PoseStamped\n\
00103 # A Pose with reference coordinate frame and timestamp\n\
00104 Header header\n\
00105 Pose pose\n\
00106 \n\
00107 ================================================================================\n\
00108 MSG: std_msgs/Header\n\
00109 # Standard metadata for higher-level stamped data types.\n\
00110 # This is generally used to communicate timestamped data \n\
00111 # in a particular coordinate frame.\n\
00112 # \n\
00113 # sequence ID: consecutively increasing ID \n\
00114 uint32 seq\n\
00115 #Two-integer timestamp that is expressed as:\n\
00116 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00117 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00118 # time-handling sugar is provided by the client library\n\
00119 time stamp\n\
00120 #Frame this data is associated with\n\
00121 # 0: no frame\n\
00122 # 1: global frame\n\
00123 string frame_id\n\
00124 \n\
00125 ================================================================================\n\
00126 MSG: geometry_msgs/Pose\n\
00127 # A representation of pose in free space, composed of postion and orientation. \n\
00128 Point position\n\
00129 Quaternion orientation\n\
00130 \n\
00131 ================================================================================\n\
00132 MSG: geometry_msgs/Point\n\
00133 # This contains the position of a point in free space\n\
00134 float64 x\n\
00135 float64 y\n\
00136 float64 z\n\
00137 \n\
00138 ================================================================================\n\
00139 MSG: geometry_msgs/Quaternion\n\
00140 # This represents an orientation in free space in quaternion form.\n\
00141 \n\
00142 float64 x\n\
00143 float64 y\n\
00144 float64 z\n\
00145 float64 w\n\
00146 \n\
00147 ";
00148 }
00149
00150 static const char* value(const ::pr2_object_manipulation_msgs::GetGripperPoseFeedback_<ContainerAllocator> &) { return value(); }
00151 };
00152
00153 }
00154 }
00155
00156 namespace ros
00157 {
00158 namespace serialization
00159 {
00160
00161 template<class ContainerAllocator> struct Serializer< ::pr2_object_manipulation_msgs::GetGripperPoseFeedback_<ContainerAllocator> >
00162 {
00163 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00164 {
00165 stream.next(m.gripper_pose);
00166 stream.next(m.gripper_opening);
00167 }
00168
00169 ROS_DECLARE_ALLINONE_SERIALIZER;
00170 };
00171 }
00172 }
00173
00174 namespace ros
00175 {
00176 namespace message_operations
00177 {
00178
00179 template<class ContainerAllocator>
00180 struct Printer< ::pr2_object_manipulation_msgs::GetGripperPoseFeedback_<ContainerAllocator> >
00181 {
00182 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::pr2_object_manipulation_msgs::GetGripperPoseFeedback_<ContainerAllocator> & v)
00183 {
00184 s << indent << "gripper_pose: ";
00185 s << std::endl;
00186 Printer< ::geometry_msgs::PoseStamped_<ContainerAllocator> >::stream(s, indent + " ", v.gripper_pose);
00187 s << indent << "gripper_opening: ";
00188 Printer<float>::stream(s, indent + " ", v.gripper_opening);
00189 }
00190 };
00191
00192
00193 }
00194 }
00195
00196 #endif // PR2_OBJECT_MANIPULATION_MSGS_MESSAGE_GETGRIPPERPOSEFEEDBACK_H
00197