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