TorsoOdometry.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-alufr-humanoid_stacks/doc_stacks/2013-10-15_10-01-44.393682/nao_robot/nao_msgs/msg/TorsoOdometry.msg */
00002 #ifndef NAO_MSGS_MESSAGE_TORSOODOMETRY_H
00003 #define NAO_MSGS_MESSAGE_TORSOODOMETRY_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 nao_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct TorsoOdometry_ {
00023   typedef TorsoOdometry_<ContainerAllocator> Type;
00024 
00025   TorsoOdometry_()
00026   : header()
00027   , x(0.0)
00028   , y(0.0)
00029   , z(0.0)
00030   , wx(0.0)
00031   , wy(0.0)
00032   , wz(0.0)
00033   {
00034   }
00035 
00036   TorsoOdometry_(const ContainerAllocator& _alloc)
00037   : header(_alloc)
00038   , x(0.0)
00039   , y(0.0)
00040   , z(0.0)
00041   , wx(0.0)
00042   , wy(0.0)
00043   , wz(0.0)
00044   {
00045   }
00046 
00047   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00048    ::std_msgs::Header_<ContainerAllocator>  header;
00049 
00050   typedef float _x_type;
00051   float x;
00052 
00053   typedef float _y_type;
00054   float y;
00055 
00056   typedef float _z_type;
00057   float z;
00058 
00059   typedef float _wx_type;
00060   float wx;
00061 
00062   typedef float _wy_type;
00063   float wy;
00064 
00065   typedef float _wz_type;
00066   float wz;
00067 
00068 
00069   typedef boost::shared_ptr< ::nao_msgs::TorsoOdometry_<ContainerAllocator> > Ptr;
00070   typedef boost::shared_ptr< ::nao_msgs::TorsoOdometry_<ContainerAllocator>  const> ConstPtr;
00071   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00072 }; // struct TorsoOdometry
00073 typedef  ::nao_msgs::TorsoOdometry_<std::allocator<void> > TorsoOdometry;
00074 
00075 typedef boost::shared_ptr< ::nao_msgs::TorsoOdometry> TorsoOdometryPtr;
00076 typedef boost::shared_ptr< ::nao_msgs::TorsoOdometry const> TorsoOdometryConstPtr;
00077 
00078 
00079 template<typename ContainerAllocator>
00080 std::ostream& operator<<(std::ostream& s, const  ::nao_msgs::TorsoOdometry_<ContainerAllocator> & v)
00081 {
00082   ros::message_operations::Printer< ::nao_msgs::TorsoOdometry_<ContainerAllocator> >::stream(s, "", v);
00083   return s;}
00084 
00085 } // namespace nao_msgs
00086 
00087 namespace ros
00088 {
00089 namespace message_traits
00090 {
00091 template<class ContainerAllocator> struct IsMessage< ::nao_msgs::TorsoOdometry_<ContainerAllocator> > : public TrueType {};
00092 template<class ContainerAllocator> struct IsMessage< ::nao_msgs::TorsoOdometry_<ContainerAllocator>  const> : public TrueType {};
00093 template<class ContainerAllocator>
00094 struct MD5Sum< ::nao_msgs::TorsoOdometry_<ContainerAllocator> > {
00095   static const char* value() 
00096   {
00097     return "1f66dc501c9b69278147e3b32257e58c";
00098   }
00099 
00100   static const char* value(const  ::nao_msgs::TorsoOdometry_<ContainerAllocator> &) { return value(); } 
00101   static const uint64_t static_value1 = 0x1f66dc501c9b6927ULL;
00102   static const uint64_t static_value2 = 0x8147e3b32257e58cULL;
00103 };
00104 
00105 template<class ContainerAllocator>
00106 struct DataType< ::nao_msgs::TorsoOdometry_<ContainerAllocator> > {
00107   static const char* value() 
00108   {
00109     return "nao_msgs/TorsoOdometry";
00110   }
00111 
00112   static const char* value(const  ::nao_msgs::TorsoOdometry_<ContainerAllocator> &) { return value(); } 
00113 };
00114 
00115 template<class ContainerAllocator>
00116 struct Definition< ::nao_msgs::TorsoOdometry_<ContainerAllocator> > {
00117   static const char* value() 
00118   {
00119     return "# Data from Nao's torso odometry estimate based on joint kinematics\n\
00120 #\n\
00121 # x, y, z: position of torso in odometry frame\n\
00122 # wx, wy, wz: attitude of torso around x, y, z axis\n\
00123 \n\
00124 Header header\n\
00125 \n\
00126 float32 x\n\
00127 float32 y\n\
00128 float32 z\n\
00129 float32 wx\n\
00130 float32 wy\n\
00131 float32 wz\n\
00132 ================================================================================\n\
00133 MSG: std_msgs/Header\n\
00134 # Standard metadata for higher-level stamped data types.\n\
00135 # This is generally used to communicate timestamped data \n\
00136 # in a particular coordinate frame.\n\
00137 # \n\
00138 # sequence ID: consecutively increasing ID \n\
00139 uint32 seq\n\
00140 #Two-integer timestamp that is expressed as:\n\
00141 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00142 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00143 # time-handling sugar is provided by the client library\n\
00144 time stamp\n\
00145 #Frame this data is associated with\n\
00146 # 0: no frame\n\
00147 # 1: global frame\n\
00148 string frame_id\n\
00149 \n\
00150 ";
00151   }
00152 
00153   static const char* value(const  ::nao_msgs::TorsoOdometry_<ContainerAllocator> &) { return value(); } 
00154 };
00155 
00156 template<class ContainerAllocator> struct HasHeader< ::nao_msgs::TorsoOdometry_<ContainerAllocator> > : public TrueType {};
00157 template<class ContainerAllocator> struct HasHeader< const ::nao_msgs::TorsoOdometry_<ContainerAllocator> > : public TrueType {};
00158 } // namespace message_traits
00159 } // namespace ros
00160 
00161 namespace ros
00162 {
00163 namespace serialization
00164 {
00165 
00166 template<class ContainerAllocator> struct Serializer< ::nao_msgs::TorsoOdometry_<ContainerAllocator> >
00167 {
00168   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00169   {
00170     stream.next(m.header);
00171     stream.next(m.x);
00172     stream.next(m.y);
00173     stream.next(m.z);
00174     stream.next(m.wx);
00175     stream.next(m.wy);
00176     stream.next(m.wz);
00177   }
00178 
00179   ROS_DECLARE_ALLINONE_SERIALIZER;
00180 }; // struct TorsoOdometry_
00181 } // namespace serialization
00182 } // namespace ros
00183 
00184 namespace ros
00185 {
00186 namespace message_operations
00187 {
00188 
00189 template<class ContainerAllocator>
00190 struct Printer< ::nao_msgs::TorsoOdometry_<ContainerAllocator> >
00191 {
00192   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::nao_msgs::TorsoOdometry_<ContainerAllocator> & v) 
00193   {
00194     s << indent << "header: ";
00195 s << std::endl;
00196     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00197     s << indent << "x: ";
00198     Printer<float>::stream(s, indent + "  ", v.x);
00199     s << indent << "y: ";
00200     Printer<float>::stream(s, indent + "  ", v.y);
00201     s << indent << "z: ";
00202     Printer<float>::stream(s, indent + "  ", v.z);
00203     s << indent << "wx: ";
00204     Printer<float>::stream(s, indent + "  ", v.wx);
00205     s << indent << "wy: ";
00206     Printer<float>::stream(s, indent + "  ", v.wy);
00207     s << indent << "wz: ";
00208     Printer<float>::stream(s, indent + "  ", v.wz);
00209   }
00210 };
00211 
00212 
00213 } // namespace message_operations
00214 } // namespace ros
00215 
00216 #endif // NAO_MSGS_MESSAGE_TORSOODOMETRY_H
00217 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends


nao_msgs
Author(s): Armin Hornung, Stefan Osswald, Daniel Maier
autogenerated on Tue Oct 15 2013 10:05:22