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