Go to the documentation of this file.00001
00002 #ifndef UBLOX_MSGS_MESSAGE_RXMRAW_SV_H
00003 #define UBLOX_MSGS_MESSAGE_RXMRAW_SV_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 RxmRAW_SV_ {
00022 typedef RxmRAW_SV_<ContainerAllocator> Type;
00023
00024 RxmRAW_SV_()
00025 : cpMes(0.0)
00026 , prMes(0.0)
00027 , doMes(0.0)
00028 , sv(0)
00029 , mesQI(0)
00030 , cno(0)
00031 , lli(0)
00032 {
00033 }
00034
00035 RxmRAW_SV_(const ContainerAllocator& _alloc)
00036 : cpMes(0.0)
00037 , prMes(0.0)
00038 , doMes(0.0)
00039 , sv(0)
00040 , mesQI(0)
00041 , cno(0)
00042 , lli(0)
00043 {
00044 }
00045
00046 typedef double _cpMes_type;
00047 double cpMes;
00048
00049 typedef double _prMes_type;
00050 double prMes;
00051
00052 typedef float _doMes_type;
00053 float doMes;
00054
00055 typedef uint8_t _sv_type;
00056 uint8_t sv;
00057
00058 typedef int8_t _mesQI_type;
00059 int8_t mesQI;
00060
00061 typedef int8_t _cno_type;
00062 int8_t cno;
00063
00064 typedef uint8_t _lli_type;
00065 uint8_t lli;
00066
00067
00068 typedef boost::shared_ptr< ::ublox_msgs::RxmRAW_SV_<ContainerAllocator> > Ptr;
00069 typedef boost::shared_ptr< ::ublox_msgs::RxmRAW_SV_<ContainerAllocator> const> ConstPtr;
00070 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00071 };
00072 typedef ::ublox_msgs::RxmRAW_SV_<std::allocator<void> > RxmRAW_SV;
00073
00074 typedef boost::shared_ptr< ::ublox_msgs::RxmRAW_SV> RxmRAW_SVPtr;
00075 typedef boost::shared_ptr< ::ublox_msgs::RxmRAW_SV const> RxmRAW_SVConstPtr;
00076
00077
00078 template<typename ContainerAllocator>
00079 std::ostream& operator<<(std::ostream& s, const ::ublox_msgs::RxmRAW_SV_<ContainerAllocator> & v)
00080 {
00081 ros::message_operations::Printer< ::ublox_msgs::RxmRAW_SV_<ContainerAllocator> >::stream(s, "", v);
00082 return s;}
00083
00084 }
00085
00086 namespace ros
00087 {
00088 namespace message_traits
00089 {
00090 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::RxmRAW_SV_<ContainerAllocator> > : public TrueType {};
00091 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::RxmRAW_SV_<ContainerAllocator> const> : public TrueType {};
00092 template<class ContainerAllocator>
00093 struct MD5Sum< ::ublox_msgs::RxmRAW_SV_<ContainerAllocator> > {
00094 static const char* value()
00095 {
00096 return "4b32efd29577416a2c280e629abcb69a";
00097 }
00098
00099 static const char* value(const ::ublox_msgs::RxmRAW_SV_<ContainerAllocator> &) { return value(); }
00100 static const uint64_t static_value1 = 0x4b32efd29577416aULL;
00101 static const uint64_t static_value2 = 0x2c280e629abcb69aULL;
00102 };
00103
00104 template<class ContainerAllocator>
00105 struct DataType< ::ublox_msgs::RxmRAW_SV_<ContainerAllocator> > {
00106 static const char* value()
00107 {
00108 return "ublox_msgs/RxmRAW_SV";
00109 }
00110
00111 static const char* value(const ::ublox_msgs::RxmRAW_SV_<ContainerAllocator> &) { return value(); }
00112 };
00113
00114 template<class ContainerAllocator>
00115 struct Definition< ::ublox_msgs::RxmRAW_SV_<ContainerAllocator> > {
00116 static const char* value()
00117 {
00118 return "# see message RxmRAW\n\
00119 #\n\
00120 \n\
00121 float64 cpMes # Carrier phase measurement [L1 cycles]\n\
00122 float64 prMes # Pseudorange measurement [m]\n\
00123 float32 doMes # Doppler measurement [Hz]\n\
00124 \n\
00125 uint8 sv # Space Vehicle Number\n\
00126 int8 mesQI # Nav Measurements Quality Indicator\n\
00127 # >=4 : PR+DO OK\n\
00128 # >=5 : PR+DO+CP OK\n\
00129 # <6 : likely loss of carrier lock in previous interval\n\
00130 int8 cno # Signal strength C/No. [dbHz]\n\
00131 uint8 lli # Loss of lock indicator (RINEX definition)\n\
00132 \n\
00133 ";
00134 }
00135
00136 static const char* value(const ::ublox_msgs::RxmRAW_SV_<ContainerAllocator> &) { return value(); }
00137 };
00138
00139 template<class ContainerAllocator> struct IsFixedSize< ::ublox_msgs::RxmRAW_SV_<ContainerAllocator> > : public TrueType {};
00140 }
00141 }
00142
00143 namespace ros
00144 {
00145 namespace serialization
00146 {
00147
00148 template<class ContainerAllocator> struct Serializer< ::ublox_msgs::RxmRAW_SV_<ContainerAllocator> >
00149 {
00150 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00151 {
00152 stream.next(m.cpMes);
00153 stream.next(m.prMes);
00154 stream.next(m.doMes);
00155 stream.next(m.sv);
00156 stream.next(m.mesQI);
00157 stream.next(m.cno);
00158 stream.next(m.lli);
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< ::ublox_msgs::RxmRAW_SV_<ContainerAllocator> >
00173 {
00174 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::ublox_msgs::RxmRAW_SV_<ContainerAllocator> & v)
00175 {
00176 s << indent << "cpMes: ";
00177 Printer<double>::stream(s, indent + " ", v.cpMes);
00178 s << indent << "prMes: ";
00179 Printer<double>::stream(s, indent + " ", v.prMes);
00180 s << indent << "doMes: ";
00181 Printer<float>::stream(s, indent + " ", v.doMes);
00182 s << indent << "sv: ";
00183 Printer<uint8_t>::stream(s, indent + " ", v.sv);
00184 s << indent << "mesQI: ";
00185 Printer<int8_t>::stream(s, indent + " ", v.mesQI);
00186 s << indent << "cno: ";
00187 Printer<int8_t>::stream(s, indent + " ", v.cno);
00188 s << indent << "lli: ";
00189 Printer<uint8_t>::stream(s, indent + " ", v.lli);
00190 }
00191 };
00192
00193
00194 }
00195 }
00196
00197 #endif // UBLOX_MSGS_MESSAGE_RXMRAW_SV_H
00198