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