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