Go to the documentation of this file.00001
00002 #ifndef UBLOX_MSGS_MESSAGE_NAVSVINFO_SV_H
00003 #define UBLOX_MSGS_MESSAGE_NAVSVINFO_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 NavSVINFO_SV_ {
00022 typedef NavSVINFO_SV_<ContainerAllocator> Type;
00023
00024 NavSVINFO_SV_()
00025 : chn(0)
00026 , svid(0)
00027 , flags(0)
00028 , quality(0)
00029 , cno(0)
00030 , elev(0)
00031 , azim(0)
00032 , prRes(0)
00033 {
00034 }
00035
00036 NavSVINFO_SV_(const ContainerAllocator& _alloc)
00037 : chn(0)
00038 , svid(0)
00039 , flags(0)
00040 , quality(0)
00041 , cno(0)
00042 , elev(0)
00043 , azim(0)
00044 , prRes(0)
00045 {
00046 }
00047
00048 typedef uint8_t _chn_type;
00049 uint8_t chn;
00050
00051 typedef uint8_t _svid_type;
00052 uint8_t svid;
00053
00054 typedef uint8_t _flags_type;
00055 uint8_t flags;
00056
00057 typedef uint8_t _quality_type;
00058 uint8_t quality;
00059
00060 typedef uint8_t _cno_type;
00061 uint8_t cno;
00062
00063 typedef int8_t _elev_type;
00064 int8_t elev;
00065
00066 typedef int16_t _azim_type;
00067 int16_t azim;
00068
00069 typedef int32_t _prRes_type;
00070 int32_t prRes;
00071
00072 enum { FLAGS_SVUSED = 1 };
00073 enum { FLAGS_DIFFCORR = 2 };
00074 enum { FLAGS_ORBITAVAIL = 4 };
00075 enum { FLAGS_ORBITEPH = 8 };
00076 enum { FLAGS_UNHEALTHY = 16 };
00077 enum { FLAGS_ORBIT_ALM = 32 };
00078 enum { FLAGS_ORBIT_AOP = 64 };
00079 enum { FLAGS_SMOOTHED = 128 };
00080 enum { QUALITY_IDLE = 0 };
00081 enum { QUALITY_SEARCHING = 1 };
00082 enum { QUALITY_AQUIRED = 2 };
00083 enum { QUALITY_DETECTED = 3 };
00084 enum { QUALITY_CODE_LOCK = 4 };
00085 enum { QUALITY_CODE_AND_CARRIER_LOCKED1 = 5 };
00086 enum { QUALITY_CODE_AND_CARRIER_LOCKED2 = 6 };
00087 enum { QUALITY_CODE_AND_CARRIER_LOCKED3 = 7 };
00088
00089 typedef boost::shared_ptr< ::ublox_msgs::NavSVINFO_SV_<ContainerAllocator> > Ptr;
00090 typedef boost::shared_ptr< ::ublox_msgs::NavSVINFO_SV_<ContainerAllocator> const> ConstPtr;
00091 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00092 };
00093 typedef ::ublox_msgs::NavSVINFO_SV_<std::allocator<void> > NavSVINFO_SV;
00094
00095 typedef boost::shared_ptr< ::ublox_msgs::NavSVINFO_SV> NavSVINFO_SVPtr;
00096 typedef boost::shared_ptr< ::ublox_msgs::NavSVINFO_SV const> NavSVINFO_SVConstPtr;
00097
00098
00099 template<typename ContainerAllocator>
00100 std::ostream& operator<<(std::ostream& s, const ::ublox_msgs::NavSVINFO_SV_<ContainerAllocator> & v)
00101 {
00102 ros::message_operations::Printer< ::ublox_msgs::NavSVINFO_SV_<ContainerAllocator> >::stream(s, "", v);
00103 return s;}
00104
00105 }
00106
00107 namespace ros
00108 {
00109 namespace message_traits
00110 {
00111 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::NavSVINFO_SV_<ContainerAllocator> > : public TrueType {};
00112 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::NavSVINFO_SV_<ContainerAllocator> const> : public TrueType {};
00113 template<class ContainerAllocator>
00114 struct MD5Sum< ::ublox_msgs::NavSVINFO_SV_<ContainerAllocator> > {
00115 static const char* value()
00116 {
00117 return "b29c45854d86b34347aac679c246b6c7";
00118 }
00119
00120 static const char* value(const ::ublox_msgs::NavSVINFO_SV_<ContainerAllocator> &) { return value(); }
00121 static const uint64_t static_value1 = 0xb29c45854d86b343ULL;
00122 static const uint64_t static_value2 = 0x47aac679c246b6c7ULL;
00123 };
00124
00125 template<class ContainerAllocator>
00126 struct DataType< ::ublox_msgs::NavSVINFO_SV_<ContainerAllocator> > {
00127 static const char* value()
00128 {
00129 return "ublox_msgs/NavSVINFO_SV";
00130 }
00131
00132 static const char* value(const ::ublox_msgs::NavSVINFO_SV_<ContainerAllocator> &) { return value(); }
00133 };
00134
00135 template<class ContainerAllocator>
00136 struct Definition< ::ublox_msgs::NavSVINFO_SV_<ContainerAllocator> > {
00137 static const char* value()
00138 {
00139 return "# see message NavSVINFO\n\
00140 #\n\
00141 \n\
00142 uint8 chn # Channel number, 255 for SVs not assigned to a channel\n\
00143 uint8 svid # Satellite ID\n\
00144 \n\
00145 uint8 flags # Bitmask\n\
00146 uint8 FLAGS_SVUSED = 1 # SV is used for navigation\n\
00147 uint8 FLAGS_DIFFCORR = 2 # Differential correction data is available for this SV\n\
00148 uint8 FLAGS_ORBITAVAIL = 4 # Orbit information is available for this SV (Ephemeris or Almanach)\n\
00149 uint8 FLAGS_ORBITEPH = 8 # Orbit information is Ephemeris\n\
00150 uint8 FLAGS_UNHEALTHY = 16 # SV is unhealthy / shall not be used\n\
00151 uint8 FLAGS_ORBIT_ALM = 32 # Orbit information is Almanac Plus\n\
00152 uint8 FLAGS_ORBIT_AOP = 64 # Orbit information is AssistNow Autonomous\n\
00153 uint8 FLAGS_SMOOTHED = 128 # Carrier smoothed pseudorange used\n\
00154 \n\
00155 uint8 quality # Bitfield\n\
00156 # qualityInd: Signal Quality indicator (range 0..7). The following list shows the meaning of the different QI values:\n\
00157 uint8 QUALITY_IDLE = 0 # This channel is idle\n\
00158 uint8 QUALITY_SEARCHING = 1 # Channel is searching\n\
00159 uint8 QUALITY_AQUIRED = 2 # Signal aquired\n\
00160 uint8 QUALITY_DETECTED = 3 # Signal detected but unusable\n\
00161 uint8 QUALITY_CODE_LOCK = 4 # Code Lock on Signal\n\
00162 uint8 QUALITY_CODE_AND_CARRIER_LOCKED1 = 5 # Code and Carrier locked\n\
00163 uint8 QUALITY_CODE_AND_CARRIER_LOCKED2 = 6 # Code and Carrier locked\n\
00164 uint8 QUALITY_CODE_AND_CARRIER_LOCKED3 = 7 # Code and Carrier locked\n\
00165 \n\
00166 uint8 cno # Carrier to Noise Ratio (Signal Strength) [dbHz]\n\
00167 int8 elev # Elevation in integer degrees [deg]\n\
00168 int16 azim # Azimuth in integer degrees [deg]\n\
00169 int32 prRes # Pseudo range residual in centimetres [cm]\n\
00170 \n\
00171 ";
00172 }
00173
00174 static const char* value(const ::ublox_msgs::NavSVINFO_SV_<ContainerAllocator> &) { return value(); }
00175 };
00176
00177 template<class ContainerAllocator> struct IsFixedSize< ::ublox_msgs::NavSVINFO_SV_<ContainerAllocator> > : public TrueType {};
00178 }
00179 }
00180
00181 namespace ros
00182 {
00183 namespace serialization
00184 {
00185
00186 template<class ContainerAllocator> struct Serializer< ::ublox_msgs::NavSVINFO_SV_<ContainerAllocator> >
00187 {
00188 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00189 {
00190 stream.next(m.chn);
00191 stream.next(m.svid);
00192 stream.next(m.flags);
00193 stream.next(m.quality);
00194 stream.next(m.cno);
00195 stream.next(m.elev);
00196 stream.next(m.azim);
00197 stream.next(m.prRes);
00198 }
00199
00200 ROS_DECLARE_ALLINONE_SERIALIZER;
00201 };
00202 }
00203 }
00204
00205 namespace ros
00206 {
00207 namespace message_operations
00208 {
00209
00210 template<class ContainerAllocator>
00211 struct Printer< ::ublox_msgs::NavSVINFO_SV_<ContainerAllocator> >
00212 {
00213 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::ublox_msgs::NavSVINFO_SV_<ContainerAllocator> & v)
00214 {
00215 s << indent << "chn: ";
00216 Printer<uint8_t>::stream(s, indent + " ", v.chn);
00217 s << indent << "svid: ";
00218 Printer<uint8_t>::stream(s, indent + " ", v.svid);
00219 s << indent << "flags: ";
00220 Printer<uint8_t>::stream(s, indent + " ", v.flags);
00221 s << indent << "quality: ";
00222 Printer<uint8_t>::stream(s, indent + " ", v.quality);
00223 s << indent << "cno: ";
00224 Printer<uint8_t>::stream(s, indent + " ", v.cno);
00225 s << indent << "elev: ";
00226 Printer<int8_t>::stream(s, indent + " ", v.elev);
00227 s << indent << "azim: ";
00228 Printer<int16_t>::stream(s, indent + " ", v.azim);
00229 s << indent << "prRes: ";
00230 Printer<int32_t>::stream(s, indent + " ", v.prRes);
00231 }
00232 };
00233
00234
00235 }
00236 }
00237
00238 #endif // UBLOX_MSGS_MESSAGE_NAVSVINFO_SV_H
00239