Go to the documentation of this file.00001
00002 #ifndef UBLOX_MSGS_MESSAGE_NAVPOSLLH_H
00003 #define UBLOX_MSGS_MESSAGE_NAVPOSLLH_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 NavPOSLLH_ {
00022 typedef NavPOSLLH_<ContainerAllocator> Type;
00023
00024 NavPOSLLH_()
00025 : iTOW(0)
00026 , lon(0)
00027 , lat(0)
00028 , height(0)
00029 , hMSL(0)
00030 , hAcc(0)
00031 , vAcc(0)
00032 {
00033 }
00034
00035 NavPOSLLH_(const ContainerAllocator& _alloc)
00036 : iTOW(0)
00037 , lon(0)
00038 , lat(0)
00039 , height(0)
00040 , hMSL(0)
00041 , hAcc(0)
00042 , vAcc(0)
00043 {
00044 }
00045
00046 typedef uint32_t _iTOW_type;
00047 uint32_t iTOW;
00048
00049 typedef int32_t _lon_type;
00050 int32_t lon;
00051
00052 typedef int32_t _lat_type;
00053 int32_t lat;
00054
00055 typedef int32_t _height_type;
00056 int32_t height;
00057
00058 typedef int32_t _hMSL_type;
00059 int32_t hMSL;
00060
00061 typedef uint32_t _hAcc_type;
00062 uint32_t hAcc;
00063
00064 typedef uint32_t _vAcc_type;
00065 uint32_t vAcc;
00066
00067 enum { CLASS_ID = 1 };
00068 enum { MESSAGE_ID = 2 };
00069
00070 typedef boost::shared_ptr< ::ublox_msgs::NavPOSLLH_<ContainerAllocator> > Ptr;
00071 typedef boost::shared_ptr< ::ublox_msgs::NavPOSLLH_<ContainerAllocator> const> ConstPtr;
00072 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00073 };
00074 typedef ::ublox_msgs::NavPOSLLH_<std::allocator<void> > NavPOSLLH;
00075
00076 typedef boost::shared_ptr< ::ublox_msgs::NavPOSLLH> NavPOSLLHPtr;
00077 typedef boost::shared_ptr< ::ublox_msgs::NavPOSLLH const> NavPOSLLHConstPtr;
00078
00079
00080 template<typename ContainerAllocator>
00081 std::ostream& operator<<(std::ostream& s, const ::ublox_msgs::NavPOSLLH_<ContainerAllocator> & v)
00082 {
00083 ros::message_operations::Printer< ::ublox_msgs::NavPOSLLH_<ContainerAllocator> >::stream(s, "", v);
00084 return s;}
00085
00086 }
00087
00088 namespace ros
00089 {
00090 namespace message_traits
00091 {
00092 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::NavPOSLLH_<ContainerAllocator> > : public TrueType {};
00093 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::NavPOSLLH_<ContainerAllocator> const> : public TrueType {};
00094 template<class ContainerAllocator>
00095 struct MD5Sum< ::ublox_msgs::NavPOSLLH_<ContainerAllocator> > {
00096 static const char* value()
00097 {
00098 return "01aab2c75cd9f8c402a0689e82f04f01";
00099 }
00100
00101 static const char* value(const ::ublox_msgs::NavPOSLLH_<ContainerAllocator> &) { return value(); }
00102 static const uint64_t static_value1 = 0x01aab2c75cd9f8c4ULL;
00103 static const uint64_t static_value2 = 0x02a0689e82f04f01ULL;
00104 };
00105
00106 template<class ContainerAllocator>
00107 struct DataType< ::ublox_msgs::NavPOSLLH_<ContainerAllocator> > {
00108 static const char* value()
00109 {
00110 return "ublox_msgs/NavPOSLLH";
00111 }
00112
00113 static const char* value(const ::ublox_msgs::NavPOSLLH_<ContainerAllocator> &) { return value(); }
00114 };
00115
00116 template<class ContainerAllocator>
00117 struct Definition< ::ublox_msgs::NavPOSLLH_<ContainerAllocator> > {
00118 static const char* value()
00119 {
00120 return "# NAV-POSLLH (0x01 0x02)\n\
00121 # Geodetic Position Solution\n\
00122 #\n\
00123 # See important comments concerning validity of position given in section\n\
00124 # Navigation Output Filters.\n\
00125 # This message outputs the Geodetic position in the currently selected Ellipsoid. The default is\n\
00126 # the WGS84 Ellipsoid, but can be changed with the message CFG-DAT.\n\
00127 #\n\
00128 \n\
00129 uint8 CLASS_ID = 1\n\
00130 uint8 MESSAGE_ID = 2\n\
00131 \n\
00132 uint32 iTOW # GPS Millisecond Time of Week [ms]\n\
00133 \n\
00134 int32 lon # Longitude [deg/1e-7]\n\
00135 int32 lat # Latitude [deg/1e-7]\n\
00136 int32 height # Height above Ellipsoid [mm]\n\
00137 int32 hMSL # Height above mean sea level [mm]\n\
00138 uint32 hAcc # Horizontal Accuracy Estimate [mm]\n\
00139 uint32 vAcc # Vertical Accuracy Estimate [mm]\n\
00140 \n\
00141 ";
00142 }
00143
00144 static const char* value(const ::ublox_msgs::NavPOSLLH_<ContainerAllocator> &) { return value(); }
00145 };
00146
00147 template<class ContainerAllocator> struct IsFixedSize< ::ublox_msgs::NavPOSLLH_<ContainerAllocator> > : public TrueType {};
00148 }
00149 }
00150
00151 namespace ros
00152 {
00153 namespace serialization
00154 {
00155
00156 template<class ContainerAllocator> struct Serializer< ::ublox_msgs::NavPOSLLH_<ContainerAllocator> >
00157 {
00158 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00159 {
00160 stream.next(m.iTOW);
00161 stream.next(m.lon);
00162 stream.next(m.lat);
00163 stream.next(m.height);
00164 stream.next(m.hMSL);
00165 stream.next(m.hAcc);
00166 stream.next(m.vAcc);
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< ::ublox_msgs::NavPOSLLH_<ContainerAllocator> >
00181 {
00182 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::ublox_msgs::NavPOSLLH_<ContainerAllocator> & v)
00183 {
00184 s << indent << "iTOW: ";
00185 Printer<uint32_t>::stream(s, indent + " ", v.iTOW);
00186 s << indent << "lon: ";
00187 Printer<int32_t>::stream(s, indent + " ", v.lon);
00188 s << indent << "lat: ";
00189 Printer<int32_t>::stream(s, indent + " ", v.lat);
00190 s << indent << "height: ";
00191 Printer<int32_t>::stream(s, indent + " ", v.height);
00192 s << indent << "hMSL: ";
00193 Printer<int32_t>::stream(s, indent + " ", v.hMSL);
00194 s << indent << "hAcc: ";
00195 Printer<uint32_t>::stream(s, indent + " ", v.hAcc);
00196 s << indent << "vAcc: ";
00197 Printer<uint32_t>::stream(s, indent + " ", v.vAcc);
00198 }
00199 };
00200
00201
00202 }
00203 }
00204
00205 #endif // UBLOX_MSGS_MESSAGE_NAVPOSLLH_H
00206