Go to the documentation of this file.00001
00002 #ifndef HRL_LIB_MESSAGE_POSE3DOF_H
00003 #define HRL_LIB_MESSAGE_POSE3DOF_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
00019 namespace hrl_lib
00020 {
00021 template <class ContainerAllocator>
00022 struct Pose3DOF_ {
00023 typedef Pose3DOF_<ContainerAllocator> Type;
00024
00025 Pose3DOF_()
00026 : header()
00027 , x(0.0)
00028 , y(0.0)
00029 , theta(0.0)
00030 , dt(0.0)
00031 {
00032 }
00033
00034 Pose3DOF_(const ContainerAllocator& _alloc)
00035 : header(_alloc)
00036 , x(0.0)
00037 , y(0.0)
00038 , theta(0.0)
00039 , dt(0.0)
00040 {
00041 }
00042
00043 typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
00044 ::std_msgs::Header_<ContainerAllocator> header;
00045
00046 typedef double _x_type;
00047 double x;
00048
00049 typedef double _y_type;
00050 double y;
00051
00052 typedef double _theta_type;
00053 double theta;
00054
00055 typedef double _dt_type;
00056 double dt;
00057
00058
00059 typedef boost::shared_ptr< ::hrl_lib::Pose3DOF_<ContainerAllocator> > Ptr;
00060 typedef boost::shared_ptr< ::hrl_lib::Pose3DOF_<ContainerAllocator> const> ConstPtr;
00061 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00062 };
00063 typedef ::hrl_lib::Pose3DOF_<std::allocator<void> > Pose3DOF;
00064
00065 typedef boost::shared_ptr< ::hrl_lib::Pose3DOF> Pose3DOFPtr;
00066 typedef boost::shared_ptr< ::hrl_lib::Pose3DOF const> Pose3DOFConstPtr;
00067
00068
00069 template<typename ContainerAllocator>
00070 std::ostream& operator<<(std::ostream& s, const ::hrl_lib::Pose3DOF_<ContainerAllocator> & v)
00071 {
00072 ros::message_operations::Printer< ::hrl_lib::Pose3DOF_<ContainerAllocator> >::stream(s, "", v);
00073 return s;}
00074
00075 }
00076
00077 namespace ros
00078 {
00079 namespace message_traits
00080 {
00081 template<class ContainerAllocator> struct IsMessage< ::hrl_lib::Pose3DOF_<ContainerAllocator> > : public TrueType {};
00082 template<class ContainerAllocator> struct IsMessage< ::hrl_lib::Pose3DOF_<ContainerAllocator> const> : public TrueType {};
00083 template<class ContainerAllocator>
00084 struct MD5Sum< ::hrl_lib::Pose3DOF_<ContainerAllocator> > {
00085 static const char* value()
00086 {
00087 return "646ead44a0e6fecf4e14ca116f12b08b";
00088 }
00089
00090 static const char* value(const ::hrl_lib::Pose3DOF_<ContainerAllocator> &) { return value(); }
00091 static const uint64_t static_value1 = 0x646ead44a0e6fecfULL;
00092 static const uint64_t static_value2 = 0x4e14ca116f12b08bULL;
00093 };
00094
00095 template<class ContainerAllocator>
00096 struct DataType< ::hrl_lib::Pose3DOF_<ContainerAllocator> > {
00097 static const char* value()
00098 {
00099 return "hrl_lib/Pose3DOF";
00100 }
00101
00102 static const char* value(const ::hrl_lib::Pose3DOF_<ContainerAllocator> &) { return value(); }
00103 };
00104
00105 template<class ContainerAllocator>
00106 struct Definition< ::hrl_lib::Pose3DOF_<ContainerAllocator> > {
00107 static const char* value()
00108 {
00109 return "Header header\n\
00110 float64 x\n\
00111 float64 y\n\
00112 float64 theta\n\
00113 float64 dt\n\
00114 \n\
00115 \n\
00116 ================================================================================\n\
00117 MSG: std_msgs/Header\n\
00118 # Standard metadata for higher-level stamped data types.\n\
00119 # This is generally used to communicate timestamped data \n\
00120 # in a particular coordinate frame.\n\
00121 # \n\
00122 # sequence ID: consecutively increasing ID \n\
00123 uint32 seq\n\
00124 #Two-integer timestamp that is expressed as:\n\
00125 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00126 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00127 # time-handling sugar is provided by the client library\n\
00128 time stamp\n\
00129 #Frame this data is associated with\n\
00130 # 0: no frame\n\
00131 # 1: global frame\n\
00132 string frame_id\n\
00133 \n\
00134 ";
00135 }
00136
00137 static const char* value(const ::hrl_lib::Pose3DOF_<ContainerAllocator> &) { return value(); }
00138 };
00139
00140 template<class ContainerAllocator> struct HasHeader< ::hrl_lib::Pose3DOF_<ContainerAllocator> > : public TrueType {};
00141 template<class ContainerAllocator> struct HasHeader< const ::hrl_lib::Pose3DOF_<ContainerAllocator> > : public TrueType {};
00142 }
00143 }
00144
00145 namespace ros
00146 {
00147 namespace serialization
00148 {
00149
00150 template<class ContainerAllocator> struct Serializer< ::hrl_lib::Pose3DOF_<ContainerAllocator> >
00151 {
00152 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00153 {
00154 stream.next(m.header);
00155 stream.next(m.x);
00156 stream.next(m.y);
00157 stream.next(m.theta);
00158 stream.next(m.dt);
00159 }
00160
00161 ROS_DECLARE_ALLINONE_SERIALIZER;
00162 };
00163 }
00164 }
00165
00166 namespace ros
00167 {
00168 namespace message_operations
00169 {
00170
00171 template<class ContainerAllocator>
00172 struct Printer< ::hrl_lib::Pose3DOF_<ContainerAllocator> >
00173 {
00174 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::hrl_lib::Pose3DOF_<ContainerAllocator> & v)
00175 {
00176 s << indent << "header: ";
00177 s << std::endl;
00178 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header);
00179 s << indent << "x: ";
00180 Printer<double>::stream(s, indent + " ", v.x);
00181 s << indent << "y: ";
00182 Printer<double>::stream(s, indent + " ", v.y);
00183 s << indent << "theta: ";
00184 Printer<double>::stream(s, indent + " ", v.theta);
00185 s << indent << "dt: ";
00186 Printer<double>::stream(s, indent + " ", v.dt);
00187 }
00188 };
00189
00190
00191 }
00192 }
00193
00194 #endif // HRL_LIB_MESSAGE_POSE3DOF_H
00195
hrl_lib
Author(s): Cressel Anderson, Travis Deyle, Advait Jain, Hai Nguyen, Advisor: Prof. Charlie Kemp, Lab: Healthcare Robotics Lab at Georgia Tech
autogenerated on Wed Nov 27 2013 11:34:06