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