$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-tu-darmstadt-ros-pkg/doc_stacks/2013-03-05_12-22-58.304137/ublox/ublox_msgs/msg/NavSVINFO_SV.msg */ 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 private: 00090 static const char* __s_getDataType_() { return "ublox_msgs/NavSVINFO_SV"; } 00091 public: 00092 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00093 00094 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00095 00096 private: 00097 static const char* __s_getMD5Sum_() { return "b29c45854d86b34347aac679c246b6c7"; } 00098 public: 00099 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00100 00101 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00102 00103 private: 00104 static const char* __s_getMessageDefinition_() { return "# see message NavSVINFO\n\ 00105 #\n\ 00106 \n\ 00107 uint8 chn # Channel number, 255 for SVs not assigned to a channel\n\ 00108 uint8 svid # Satellite ID\n\ 00109 \n\ 00110 uint8 flags # Bitmask\n\ 00111 uint8 FLAGS_SVUSED = 1 # SV is used for navigation\n\ 00112 uint8 FLAGS_DIFFCORR = 2 # Differential correction data is available for this SV\n\ 00113 uint8 FLAGS_ORBITAVAIL = 4 # Orbit information is available for this SV (Ephemeris or Almanach)\n\ 00114 uint8 FLAGS_ORBITEPH = 8 # Orbit information is Ephemeris\n\ 00115 uint8 FLAGS_UNHEALTHY = 16 # SV is unhealthy / shall not be used\n\ 00116 uint8 FLAGS_ORBIT_ALM = 32 # Orbit information is Almanac Plus\n\ 00117 uint8 FLAGS_ORBIT_AOP = 64 # Orbit information is AssistNow Autonomous\n\ 00118 uint8 FLAGS_SMOOTHED = 128 # Carrier smoothed pseudorange used\n\ 00119 \n\ 00120 uint8 quality # Bitfield\n\ 00121 # qualityInd: Signal Quality indicator (range 0..7). The following list shows the meaning of the different QI values:\n\ 00122 uint8 QUALITY_IDLE = 0 # This channel is idle\n\ 00123 uint8 QUALITY_SEARCHING = 1 # Channel is searching\n\ 00124 uint8 QUALITY_AQUIRED = 2 # Signal aquired\n\ 00125 uint8 QUALITY_DETECTED = 3 # Signal detected but unusable\n\ 00126 uint8 QUALITY_CODE_LOCK = 4 # Code Lock on Signal\n\ 00127 uint8 QUALITY_CODE_AND_CARRIER_LOCKED1 = 5 # Code and Carrier locked\n\ 00128 uint8 QUALITY_CODE_AND_CARRIER_LOCKED2 = 6 # Code and Carrier locked\n\ 00129 uint8 QUALITY_CODE_AND_CARRIER_LOCKED3 = 7 # Code and Carrier locked\n\ 00130 \n\ 00131 uint8 cno # Carrier to Noise Ratio (Signal Strength) [dbHz]\n\ 00132 int8 elev # Elevation in integer degrees [deg]\n\ 00133 int16 azim # Azimuth in integer degrees [deg]\n\ 00134 int32 prRes # Pseudo range residual in centimetres [cm]\n\ 00135 \n\ 00136 "; } 00137 public: 00138 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00139 00140 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00141 00142 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00143 { 00144 ros::serialization::OStream stream(write_ptr, 1000000000); 00145 ros::serialization::serialize(stream, chn); 00146 ros::serialization::serialize(stream, svid); 00147 ros::serialization::serialize(stream, flags); 00148 ros::serialization::serialize(stream, quality); 00149 ros::serialization::serialize(stream, cno); 00150 ros::serialization::serialize(stream, elev); 00151 ros::serialization::serialize(stream, azim); 00152 ros::serialization::serialize(stream, prRes); 00153 return stream.getData(); 00154 } 00155 00156 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00157 { 00158 ros::serialization::IStream stream(read_ptr, 1000000000); 00159 ros::serialization::deserialize(stream, chn); 00160 ros::serialization::deserialize(stream, svid); 00161 ros::serialization::deserialize(stream, flags); 00162 ros::serialization::deserialize(stream, quality); 00163 ros::serialization::deserialize(stream, cno); 00164 ros::serialization::deserialize(stream, elev); 00165 ros::serialization::deserialize(stream, azim); 00166 ros::serialization::deserialize(stream, prRes); 00167 return stream.getData(); 00168 } 00169 00170 ROS_DEPRECATED virtual uint32_t serializationLength() const 00171 { 00172 uint32_t size = 0; 00173 size += ros::serialization::serializationLength(chn); 00174 size += ros::serialization::serializationLength(svid); 00175 size += ros::serialization::serializationLength(flags); 00176 size += ros::serialization::serializationLength(quality); 00177 size += ros::serialization::serializationLength(cno); 00178 size += ros::serialization::serializationLength(elev); 00179 size += ros::serialization::serializationLength(azim); 00180 size += ros::serialization::serializationLength(prRes); 00181 return size; 00182 } 00183 00184 typedef boost::shared_ptr< ::ublox_msgs::NavSVINFO_SV_<ContainerAllocator> > Ptr; 00185 typedef boost::shared_ptr< ::ublox_msgs::NavSVINFO_SV_<ContainerAllocator> const> ConstPtr; 00186 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00187 }; // struct NavSVINFO_SV 00188 typedef ::ublox_msgs::NavSVINFO_SV_<std::allocator<void> > NavSVINFO_SV; 00189 00190 typedef boost::shared_ptr< ::ublox_msgs::NavSVINFO_SV> NavSVINFO_SVPtr; 00191 typedef boost::shared_ptr< ::ublox_msgs::NavSVINFO_SV const> NavSVINFO_SVConstPtr; 00192 00193 00194 template<typename ContainerAllocator> 00195 std::ostream& operator<<(std::ostream& s, const ::ublox_msgs::NavSVINFO_SV_<ContainerAllocator> & v) 00196 { 00197 ros::message_operations::Printer< ::ublox_msgs::NavSVINFO_SV_<ContainerAllocator> >::stream(s, "", v); 00198 return s;} 00199 00200 } // namespace ublox_msgs 00201 00202 namespace ros 00203 { 00204 namespace message_traits 00205 { 00206 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::NavSVINFO_SV_<ContainerAllocator> > : public TrueType {}; 00207 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::NavSVINFO_SV_<ContainerAllocator> const> : public TrueType {}; 00208 template<class ContainerAllocator> 00209 struct MD5Sum< ::ublox_msgs::NavSVINFO_SV_<ContainerAllocator> > { 00210 static const char* value() 00211 { 00212 return "b29c45854d86b34347aac679c246b6c7"; 00213 } 00214 00215 static const char* value(const ::ublox_msgs::NavSVINFO_SV_<ContainerAllocator> &) { return value(); } 00216 static const uint64_t static_value1 = 0xb29c45854d86b343ULL; 00217 static const uint64_t static_value2 = 0x47aac679c246b6c7ULL; 00218 }; 00219 00220 template<class ContainerAllocator> 00221 struct DataType< ::ublox_msgs::NavSVINFO_SV_<ContainerAllocator> > { 00222 static const char* value() 00223 { 00224 return "ublox_msgs/NavSVINFO_SV"; 00225 } 00226 00227 static const char* value(const ::ublox_msgs::NavSVINFO_SV_<ContainerAllocator> &) { return value(); } 00228 }; 00229 00230 template<class ContainerAllocator> 00231 struct Definition< ::ublox_msgs::NavSVINFO_SV_<ContainerAllocator> > { 00232 static const char* value() 00233 { 00234 return "# see message NavSVINFO\n\ 00235 #\n\ 00236 \n\ 00237 uint8 chn # Channel number, 255 for SVs not assigned to a channel\n\ 00238 uint8 svid # Satellite ID\n\ 00239 \n\ 00240 uint8 flags # Bitmask\n\ 00241 uint8 FLAGS_SVUSED = 1 # SV is used for navigation\n\ 00242 uint8 FLAGS_DIFFCORR = 2 # Differential correction data is available for this SV\n\ 00243 uint8 FLAGS_ORBITAVAIL = 4 # Orbit information is available for this SV (Ephemeris or Almanach)\n\ 00244 uint8 FLAGS_ORBITEPH = 8 # Orbit information is Ephemeris\n\ 00245 uint8 FLAGS_UNHEALTHY = 16 # SV is unhealthy / shall not be used\n\ 00246 uint8 FLAGS_ORBIT_ALM = 32 # Orbit information is Almanac Plus\n\ 00247 uint8 FLAGS_ORBIT_AOP = 64 # Orbit information is AssistNow Autonomous\n\ 00248 uint8 FLAGS_SMOOTHED = 128 # Carrier smoothed pseudorange used\n\ 00249 \n\ 00250 uint8 quality # Bitfield\n\ 00251 # qualityInd: Signal Quality indicator (range 0..7). The following list shows the meaning of the different QI values:\n\ 00252 uint8 QUALITY_IDLE = 0 # This channel is idle\n\ 00253 uint8 QUALITY_SEARCHING = 1 # Channel is searching\n\ 00254 uint8 QUALITY_AQUIRED = 2 # Signal aquired\n\ 00255 uint8 QUALITY_DETECTED = 3 # Signal detected but unusable\n\ 00256 uint8 QUALITY_CODE_LOCK = 4 # Code Lock on Signal\n\ 00257 uint8 QUALITY_CODE_AND_CARRIER_LOCKED1 = 5 # Code and Carrier locked\n\ 00258 uint8 QUALITY_CODE_AND_CARRIER_LOCKED2 = 6 # Code and Carrier locked\n\ 00259 uint8 QUALITY_CODE_AND_CARRIER_LOCKED3 = 7 # Code and Carrier locked\n\ 00260 \n\ 00261 uint8 cno # Carrier to Noise Ratio (Signal Strength) [dbHz]\n\ 00262 int8 elev # Elevation in integer degrees [deg]\n\ 00263 int16 azim # Azimuth in integer degrees [deg]\n\ 00264 int32 prRes # Pseudo range residual in centimetres [cm]\n\ 00265 \n\ 00266 "; 00267 } 00268 00269 static const char* value(const ::ublox_msgs::NavSVINFO_SV_<ContainerAllocator> &) { return value(); } 00270 }; 00271 00272 template<class ContainerAllocator> struct IsFixedSize< ::ublox_msgs::NavSVINFO_SV_<ContainerAllocator> > : public TrueType {}; 00273 } // namespace message_traits 00274 } // namespace ros 00275 00276 namespace ros 00277 { 00278 namespace serialization 00279 { 00280 00281 template<class ContainerAllocator> struct Serializer< ::ublox_msgs::NavSVINFO_SV_<ContainerAllocator> > 00282 { 00283 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00284 { 00285 stream.next(m.chn); 00286 stream.next(m.svid); 00287 stream.next(m.flags); 00288 stream.next(m.quality); 00289 stream.next(m.cno); 00290 stream.next(m.elev); 00291 stream.next(m.azim); 00292 stream.next(m.prRes); 00293 } 00294 00295 ROS_DECLARE_ALLINONE_SERIALIZER; 00296 }; // struct NavSVINFO_SV_ 00297 } // namespace serialization 00298 } // namespace ros 00299 00300 namespace ros 00301 { 00302 namespace message_operations 00303 { 00304 00305 template<class ContainerAllocator> 00306 struct Printer< ::ublox_msgs::NavSVINFO_SV_<ContainerAllocator> > 00307 { 00308 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::ublox_msgs::NavSVINFO_SV_<ContainerAllocator> & v) 00309 { 00310 s << indent << "chn: "; 00311 Printer<uint8_t>::stream(s, indent + " ", v.chn); 00312 s << indent << "svid: "; 00313 Printer<uint8_t>::stream(s, indent + " ", v.svid); 00314 s << indent << "flags: "; 00315 Printer<uint8_t>::stream(s, indent + " ", v.flags); 00316 s << indent << "quality: "; 00317 Printer<uint8_t>::stream(s, indent + " ", v.quality); 00318 s << indent << "cno: "; 00319 Printer<uint8_t>::stream(s, indent + " ", v.cno); 00320 s << indent << "elev: "; 00321 Printer<int8_t>::stream(s, indent + " ", v.elev); 00322 s << indent << "azim: "; 00323 Printer<int16_t>::stream(s, indent + " ", v.azim); 00324 s << indent << "prRes: "; 00325 Printer<int32_t>::stream(s, indent + " ", v.prRes); 00326 } 00327 }; 00328 00329 00330 } // namespace message_operations 00331 } // namespace ros 00332 00333 #endif // UBLOX_MSGS_MESSAGE_NAVSVINFO_SV_H 00334