Go to the documentation of this file.00001
00002 #ifndef HRL_PHRI_2011_MESSAGE_ELLIPSOIDPARAMS_H
00003 #define HRL_PHRI_2011_MESSAGE_ELLIPSOIDPARAMS_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/TransformStamped.h"
00018
00019 namespace hrl_phri_2011
00020 {
00021 template <class ContainerAllocator>
00022 struct EllipsoidParams_ {
00023 typedef EllipsoidParams_<ContainerAllocator> Type;
00024
00025 EllipsoidParams_()
00026 : e_frame()
00027 , height(0.0)
00028 , E(0.0)
00029 {
00030 }
00031
00032 EllipsoidParams_(const ContainerAllocator& _alloc)
00033 : e_frame(_alloc)
00034 , height(0.0)
00035 , E(0.0)
00036 {
00037 }
00038
00039 typedef ::geometry_msgs::TransformStamped_<ContainerAllocator> _e_frame_type;
00040 ::geometry_msgs::TransformStamped_<ContainerAllocator> e_frame;
00041
00042 typedef float _height_type;
00043 float height;
00044
00045 typedef float _E_type;
00046 float E;
00047
00048
00049 typedef boost::shared_ptr< ::hrl_phri_2011::EllipsoidParams_<ContainerAllocator> > Ptr;
00050 typedef boost::shared_ptr< ::hrl_phri_2011::EllipsoidParams_<ContainerAllocator> const> ConstPtr;
00051 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00052 };
00053 typedef ::hrl_phri_2011::EllipsoidParams_<std::allocator<void> > EllipsoidParams;
00054
00055 typedef boost::shared_ptr< ::hrl_phri_2011::EllipsoidParams> EllipsoidParamsPtr;
00056 typedef boost::shared_ptr< ::hrl_phri_2011::EllipsoidParams const> EllipsoidParamsConstPtr;
00057
00058
00059 template<typename ContainerAllocator>
00060 std::ostream& operator<<(std::ostream& s, const ::hrl_phri_2011::EllipsoidParams_<ContainerAllocator> & v)
00061 {
00062 ros::message_operations::Printer< ::hrl_phri_2011::EllipsoidParams_<ContainerAllocator> >::stream(s, "", v);
00063 return s;}
00064
00065 }
00066
00067 namespace ros
00068 {
00069 namespace message_traits
00070 {
00071 template<class ContainerAllocator> struct IsMessage< ::hrl_phri_2011::EllipsoidParams_<ContainerAllocator> > : public TrueType {};
00072 template<class ContainerAllocator> struct IsMessage< ::hrl_phri_2011::EllipsoidParams_<ContainerAllocator> const> : public TrueType {};
00073 template<class ContainerAllocator>
00074 struct MD5Sum< ::hrl_phri_2011::EllipsoidParams_<ContainerAllocator> > {
00075 static const char* value()
00076 {
00077 return "4d3b2d70eff1679fc74d409e04767602";
00078 }
00079
00080 static const char* value(const ::hrl_phri_2011::EllipsoidParams_<ContainerAllocator> &) { return value(); }
00081 static const uint64_t static_value1 = 0x4d3b2d70eff1679fULL;
00082 static const uint64_t static_value2 = 0xc74d409e04767602ULL;
00083 };
00084
00085 template<class ContainerAllocator>
00086 struct DataType< ::hrl_phri_2011::EllipsoidParams_<ContainerAllocator> > {
00087 static const char* value()
00088 {
00089 return "hrl_phri_2011/EllipsoidParams";
00090 }
00091
00092 static const char* value(const ::hrl_phri_2011::EllipsoidParams_<ContainerAllocator> &) { return value(); }
00093 };
00094
00095 template<class ContainerAllocator>
00096 struct Definition< ::hrl_phri_2011::EllipsoidParams_<ContainerAllocator> > {
00097 static const char* value()
00098 {
00099 return "geometry_msgs/TransformStamped e_frame\n\
00100 float32 height\n\
00101 float32 E\n\
00102 \n\
00103 ================================================================================\n\
00104 MSG: geometry_msgs/TransformStamped\n\
00105 # This expresses a transform from coordinate frame header.frame_id\n\
00106 # to the coordinate frame child_frame_id\n\
00107 #\n\
00108 # This message is mostly used by the \n\
00109 # <a href=\"http://www.ros.org/wiki/tf\">tf</a> package. \n\
00110 # See it's documentation for more information.\n\
00111 \n\
00112 Header header\n\
00113 string child_frame_id # the frame id of the child frame\n\
00114 Transform transform\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 ================================================================================\n\
00135 MSG: geometry_msgs/Transform\n\
00136 # This represents the transform between two coordinate frames in free space.\n\
00137 \n\
00138 Vector3 translation\n\
00139 Quaternion rotation\n\
00140 \n\
00141 ================================================================================\n\
00142 MSG: geometry_msgs/Vector3\n\
00143 # This represents a vector in free space. \n\
00144 \n\
00145 float64 x\n\
00146 float64 y\n\
00147 float64 z\n\
00148 ================================================================================\n\
00149 MSG: geometry_msgs/Quaternion\n\
00150 # This represents an orientation in free space in quaternion form.\n\
00151 \n\
00152 float64 x\n\
00153 float64 y\n\
00154 float64 z\n\
00155 float64 w\n\
00156 \n\
00157 ";
00158 }
00159
00160 static const char* value(const ::hrl_phri_2011::EllipsoidParams_<ContainerAllocator> &) { return value(); }
00161 };
00162
00163 }
00164 }
00165
00166 namespace ros
00167 {
00168 namespace serialization
00169 {
00170
00171 template<class ContainerAllocator> struct Serializer< ::hrl_phri_2011::EllipsoidParams_<ContainerAllocator> >
00172 {
00173 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00174 {
00175 stream.next(m.e_frame);
00176 stream.next(m.height);
00177 stream.next(m.E);
00178 }
00179
00180 ROS_DECLARE_ALLINONE_SERIALIZER;
00181 };
00182 }
00183 }
00184
00185 namespace ros
00186 {
00187 namespace message_operations
00188 {
00189
00190 template<class ContainerAllocator>
00191 struct Printer< ::hrl_phri_2011::EllipsoidParams_<ContainerAllocator> >
00192 {
00193 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::hrl_phri_2011::EllipsoidParams_<ContainerAllocator> & v)
00194 {
00195 s << indent << "e_frame: ";
00196 s << std::endl;
00197 Printer< ::geometry_msgs::TransformStamped_<ContainerAllocator> >::stream(s, indent + " ", v.e_frame);
00198 s << indent << "height: ";
00199 Printer<float>::stream(s, indent + " ", v.height);
00200 s << indent << "E: ";
00201 Printer<float>::stream(s, indent + " ", v.E);
00202 }
00203 };
00204
00205
00206 }
00207 }
00208
00209 #endif // HRL_PHRI_2011_MESSAGE_ELLIPSOIDPARAMS_H
00210