Go to the documentation of this file.00001
00002 #ifndef ASCTEC_HL_COMM_MESSAGE_WAYPOINTFEEDBACK_H
00003 #define ASCTEC_HL_COMM_MESSAGE_WAYPOINTFEEDBACK_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 "std_msgs/Header.h"
00018 #include "geometry_msgs/Point32.h"
00019
00020 namespace asctec_hl_comm
00021 {
00022 template <class ContainerAllocator>
00023 struct WaypointFeedback_ {
00024 typedef WaypointFeedback_<ContainerAllocator> Type;
00025
00026 WaypointFeedback_()
00027 : header()
00028 , current_pos()
00029 , current_yaw(0.0)
00030 , status()
00031 {
00032 }
00033
00034 WaypointFeedback_(const ContainerAllocator& _alloc)
00035 : header(_alloc)
00036 , current_pos(_alloc)
00037 , current_yaw(0.0)
00038 , status(_alloc)
00039 {
00040 }
00041
00042 typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
00043 ::std_msgs::Header_<ContainerAllocator> header;
00044
00045 typedef ::geometry_msgs::Point32_<ContainerAllocator> _current_pos_type;
00046 ::geometry_msgs::Point32_<ContainerAllocator> current_pos;
00047
00048 typedef float _current_yaw_type;
00049 float current_yaw;
00050
00051 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _status_type;
00052 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > status;
00053
00054
00055 typedef boost::shared_ptr< ::asctec_hl_comm::WaypointFeedback_<ContainerAllocator> > Ptr;
00056 typedef boost::shared_ptr< ::asctec_hl_comm::WaypointFeedback_<ContainerAllocator> const> ConstPtr;
00057 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00058 };
00059 typedef ::asctec_hl_comm::WaypointFeedback_<std::allocator<void> > WaypointFeedback;
00060
00061 typedef boost::shared_ptr< ::asctec_hl_comm::WaypointFeedback> WaypointFeedbackPtr;
00062 typedef boost::shared_ptr< ::asctec_hl_comm::WaypointFeedback const> WaypointFeedbackConstPtr;
00063
00064
00065 template<typename ContainerAllocator>
00066 std::ostream& operator<<(std::ostream& s, const ::asctec_hl_comm::WaypointFeedback_<ContainerAllocator> & v)
00067 {
00068 ros::message_operations::Printer< ::asctec_hl_comm::WaypointFeedback_<ContainerAllocator> >::stream(s, "", v);
00069 return s;}
00070
00071 }
00072
00073 namespace ros
00074 {
00075 namespace message_traits
00076 {
00077 template<class ContainerAllocator> struct IsMessage< ::asctec_hl_comm::WaypointFeedback_<ContainerAllocator> > : public TrueType {};
00078 template<class ContainerAllocator> struct IsMessage< ::asctec_hl_comm::WaypointFeedback_<ContainerAllocator> const> : public TrueType {};
00079 template<class ContainerAllocator>
00080 struct MD5Sum< ::asctec_hl_comm::WaypointFeedback_<ContainerAllocator> > {
00081 static const char* value()
00082 {
00083 return "af0dfd31e2502a8130260fc264e2e292";
00084 }
00085
00086 static const char* value(const ::asctec_hl_comm::WaypointFeedback_<ContainerAllocator> &) { return value(); }
00087 static const uint64_t static_value1 = 0xaf0dfd31e2502a81ULL;
00088 static const uint64_t static_value2 = 0x30260fc264e2e292ULL;
00089 };
00090
00091 template<class ContainerAllocator>
00092 struct DataType< ::asctec_hl_comm::WaypointFeedback_<ContainerAllocator> > {
00093 static const char* value()
00094 {
00095 return "asctec_hl_comm/WaypointFeedback";
00096 }
00097
00098 static const char* value(const ::asctec_hl_comm::WaypointFeedback_<ContainerAllocator> &) { return value(); }
00099 };
00100
00101 template<class ContainerAllocator>
00102 struct Definition< ::asctec_hl_comm::WaypointFeedback_<ContainerAllocator> > {
00103 static const char* value()
00104 {
00105 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00106 #feedback\n\
00107 Header header\n\
00108 geometry_msgs/Point32 current_pos\n\
00109 float32 current_yaw\n\
00110 string status\n\
00111 \n\
00112 \n\
00113 ================================================================================\n\
00114 MSG: std_msgs/Header\n\
00115 # Standard metadata for higher-level stamped data types.\n\
00116 # This is generally used to communicate timestamped data \n\
00117 # in a particular coordinate frame.\n\
00118 # \n\
00119 # sequence ID: consecutively increasing ID \n\
00120 uint32 seq\n\
00121 #Two-integer timestamp that is expressed as:\n\
00122 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00123 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00124 # time-handling sugar is provided by the client library\n\
00125 time stamp\n\
00126 #Frame this data is associated with\n\
00127 # 0: no frame\n\
00128 # 1: global frame\n\
00129 string frame_id\n\
00130 \n\
00131 ================================================================================\n\
00132 MSG: geometry_msgs/Point32\n\
00133 # This contains the position of a point in free space(with 32 bits of precision).\n\
00134 # It is recommeded to use Point wherever possible instead of Point32. \n\
00135 # \n\
00136 # This recommendation is to promote interoperability. \n\
00137 #\n\
00138 # This message is designed to take up less space when sending\n\
00139 # lots of points at once, as in the case of a PointCloud. \n\
00140 \n\
00141 float32 x\n\
00142 float32 y\n\
00143 float32 z\n\
00144 ";
00145 }
00146
00147 static const char* value(const ::asctec_hl_comm::WaypointFeedback_<ContainerAllocator> &) { return value(); }
00148 };
00149
00150 template<class ContainerAllocator> struct HasHeader< ::asctec_hl_comm::WaypointFeedback_<ContainerAllocator> > : public TrueType {};
00151 template<class ContainerAllocator> struct HasHeader< const ::asctec_hl_comm::WaypointFeedback_<ContainerAllocator> > : public TrueType {};
00152 }
00153 }
00154
00155 namespace ros
00156 {
00157 namespace serialization
00158 {
00159
00160 template<class ContainerAllocator> struct Serializer< ::asctec_hl_comm::WaypointFeedback_<ContainerAllocator> >
00161 {
00162 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00163 {
00164 stream.next(m.header);
00165 stream.next(m.current_pos);
00166 stream.next(m.current_yaw);
00167 stream.next(m.status);
00168 }
00169
00170 ROS_DECLARE_ALLINONE_SERIALIZER;
00171 };
00172 }
00173 }
00174
00175 namespace ros
00176 {
00177 namespace message_operations
00178 {
00179
00180 template<class ContainerAllocator>
00181 struct Printer< ::asctec_hl_comm::WaypointFeedback_<ContainerAllocator> >
00182 {
00183 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::asctec_hl_comm::WaypointFeedback_<ContainerAllocator> & v)
00184 {
00185 s << indent << "header: ";
00186 s << std::endl;
00187 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header);
00188 s << indent << "current_pos: ";
00189 s << std::endl;
00190 Printer< ::geometry_msgs::Point32_<ContainerAllocator> >::stream(s, indent + " ", v.current_pos);
00191 s << indent << "current_yaw: ";
00192 Printer<float>::stream(s, indent + " ", v.current_yaw);
00193 s << indent << "status: ";
00194 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.status);
00195 }
00196 };
00197
00198
00199 }
00200 }
00201
00202 #endif // ASCTEC_HL_COMM_MESSAGE_WAYPOINTFEEDBACK_H
00203