NavDOP.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-tu-darmstadt-ros-pkg/doc_stacks/2013-07-15_16-41-51.015503/ublox/ublox_msgs/msg/NavDOP.msg */
00002 #ifndef UBLOX_MSGS_MESSAGE_NAVDOP_H
00003 #define UBLOX_MSGS_MESSAGE_NAVDOP_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 
00018 namespace ublox_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct NavDOP_ {
00022   typedef NavDOP_<ContainerAllocator> Type;
00023 
00024   NavDOP_()
00025   : iTOW(0)
00026   , gDOP(0)
00027   , pDOP(0)
00028   , tDOP(0)
00029   , vDOP(0)
00030   , hDOP(0)
00031   , nDOP(0)
00032   , eDOP(0)
00033   {
00034   }
00035 
00036   NavDOP_(const ContainerAllocator& _alloc)
00037   : iTOW(0)
00038   , gDOP(0)
00039   , pDOP(0)
00040   , tDOP(0)
00041   , vDOP(0)
00042   , hDOP(0)
00043   , nDOP(0)
00044   , eDOP(0)
00045   {
00046   }
00047 
00048   typedef uint32_t _iTOW_type;
00049   uint32_t iTOW;
00050 
00051   typedef uint16_t _gDOP_type;
00052   uint16_t gDOP;
00053 
00054   typedef uint16_t _pDOP_type;
00055   uint16_t pDOP;
00056 
00057   typedef uint16_t _tDOP_type;
00058   uint16_t tDOP;
00059 
00060   typedef uint16_t _vDOP_type;
00061   uint16_t vDOP;
00062 
00063   typedef uint16_t _hDOP_type;
00064   uint16_t hDOP;
00065 
00066   typedef uint16_t _nDOP_type;
00067   uint16_t nDOP;
00068 
00069   typedef uint16_t _eDOP_type;
00070   uint16_t eDOP;
00071 
00072   enum { CLASS_ID = 1 };
00073   enum { MESSAGE_ID = 4 };
00074 
00075   typedef boost::shared_ptr< ::ublox_msgs::NavDOP_<ContainerAllocator> > Ptr;
00076   typedef boost::shared_ptr< ::ublox_msgs::NavDOP_<ContainerAllocator>  const> ConstPtr;
00077   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00078 }; // struct NavDOP
00079 typedef  ::ublox_msgs::NavDOP_<std::allocator<void> > NavDOP;
00080 
00081 typedef boost::shared_ptr< ::ublox_msgs::NavDOP> NavDOPPtr;
00082 typedef boost::shared_ptr< ::ublox_msgs::NavDOP const> NavDOPConstPtr;
00083 
00084 
00085 template<typename ContainerAllocator>
00086 std::ostream& operator<<(std::ostream& s, const  ::ublox_msgs::NavDOP_<ContainerAllocator> & v)
00087 {
00088   ros::message_operations::Printer< ::ublox_msgs::NavDOP_<ContainerAllocator> >::stream(s, "", v);
00089   return s;}
00090 
00091 } // namespace ublox_msgs
00092 
00093 namespace ros
00094 {
00095 namespace message_traits
00096 {
00097 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::NavDOP_<ContainerAllocator> > : public TrueType {};
00098 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::NavDOP_<ContainerAllocator>  const> : public TrueType {};
00099 template<class ContainerAllocator>
00100 struct MD5Sum< ::ublox_msgs::NavDOP_<ContainerAllocator> > {
00101   static const char* value() 
00102   {
00103     return "19fe2210fc48e52c1c14b7d2c567407f";
00104   }
00105 
00106   static const char* value(const  ::ublox_msgs::NavDOP_<ContainerAllocator> &) { return value(); } 
00107   static const uint64_t static_value1 = 0x19fe2210fc48e52cULL;
00108   static const uint64_t static_value2 = 0x1c14b7d2c567407fULL;
00109 };
00110 
00111 template<class ContainerAllocator>
00112 struct DataType< ::ublox_msgs::NavDOP_<ContainerAllocator> > {
00113   static const char* value() 
00114   {
00115     return "ublox_msgs/NavDOP";
00116   }
00117 
00118   static const char* value(const  ::ublox_msgs::NavDOP_<ContainerAllocator> &) { return value(); } 
00119 };
00120 
00121 template<class ContainerAllocator>
00122 struct Definition< ::ublox_msgs::NavDOP_<ContainerAllocator> > {
00123   static const char* value() 
00124   {
00125     return "# NAV-DOP (0x01 0x04)\n\
00126 # Dilution of precision\n\
00127 #\n\
00128 # - DOP values are dimensionless.\n\
00129 # - All DOP values are scaled by a factor of 100. If the unit transmits a value of e.g. 156, the\n\
00130 #   DOP value is 1.56.\n\
00131 #\n\
00132 \n\
00133 uint8 CLASS_ID = 1\n\
00134 uint8 MESSAGE_ID = 4\n\
00135 \n\
00136 uint32 iTOW             # GPS Millisecond Time of Week [ms]\n\
00137 \n\
00138 uint16 gDOP             # Geometric DOP\n\
00139 uint16 pDOP             # Position DOP\n\
00140 uint16 tDOP             # Time DOP\n\
00141 uint16 vDOP             # Vertical DOP\n\
00142 uint16 hDOP             # Horizontal DOP\n\
00143 uint16 nDOP             # Northing DOP\n\
00144 uint16 eDOP             # Easting DOP\n\
00145 \n\
00146 ";
00147   }
00148 
00149   static const char* value(const  ::ublox_msgs::NavDOP_<ContainerAllocator> &) { return value(); } 
00150 };
00151 
00152 template<class ContainerAllocator> struct IsFixedSize< ::ublox_msgs::NavDOP_<ContainerAllocator> > : public TrueType {};
00153 } // namespace message_traits
00154 } // namespace ros
00155 
00156 namespace ros
00157 {
00158 namespace serialization
00159 {
00160 
00161 template<class ContainerAllocator> struct Serializer< ::ublox_msgs::NavDOP_<ContainerAllocator> >
00162 {
00163   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00164   {
00165     stream.next(m.iTOW);
00166     stream.next(m.gDOP);
00167     stream.next(m.pDOP);
00168     stream.next(m.tDOP);
00169     stream.next(m.vDOP);
00170     stream.next(m.hDOP);
00171     stream.next(m.nDOP);
00172     stream.next(m.eDOP);
00173   }
00174 
00175   ROS_DECLARE_ALLINONE_SERIALIZER;
00176 }; // struct NavDOP_
00177 } // namespace serialization
00178 } // namespace ros
00179 
00180 namespace ros
00181 {
00182 namespace message_operations
00183 {
00184 
00185 template<class ContainerAllocator>
00186 struct Printer< ::ublox_msgs::NavDOP_<ContainerAllocator> >
00187 {
00188   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::ublox_msgs::NavDOP_<ContainerAllocator> & v) 
00189   {
00190     s << indent << "iTOW: ";
00191     Printer<uint32_t>::stream(s, indent + "  ", v.iTOW);
00192     s << indent << "gDOP: ";
00193     Printer<uint16_t>::stream(s, indent + "  ", v.gDOP);
00194     s << indent << "pDOP: ";
00195     Printer<uint16_t>::stream(s, indent + "  ", v.pDOP);
00196     s << indent << "tDOP: ";
00197     Printer<uint16_t>::stream(s, indent + "  ", v.tDOP);
00198     s << indent << "vDOP: ";
00199     Printer<uint16_t>::stream(s, indent + "  ", v.vDOP);
00200     s << indent << "hDOP: ";
00201     Printer<uint16_t>::stream(s, indent + "  ", v.hDOP);
00202     s << indent << "nDOP: ";
00203     Printer<uint16_t>::stream(s, indent + "  ", v.nDOP);
00204     s << indent << "eDOP: ";
00205     Printer<uint16_t>::stream(s, indent + "  ", v.eDOP);
00206   }
00207 };
00208 
00209 
00210 } // namespace message_operations
00211 } // namespace ros
00212 
00213 #endif // UBLOX_MSGS_MESSAGE_NAVDOP_H
00214 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends


ublox_msgs
Author(s): Johannes Meyer
autogenerated on Mon Jul 15 2013 16:55:23