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