$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/AidHUI.msg */ 00002 #ifndef UBLOX_MSGS_MESSAGE_AIDHUI_H 00003 #define UBLOX_MSGS_MESSAGE_AIDHUI_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 AidHUI_ { 00022 typedef AidHUI_<ContainerAllocator> Type; 00023 00024 AidHUI_() 00025 : health(0) 00026 , utcA0(0.0) 00027 , utcA1(0.0) 00028 , utcTOW(0) 00029 , utcWNT(0) 00030 , utcLS(0) 00031 , utcWNF(0) 00032 , utcDN(0) 00033 , utcLSF(0) 00034 , utcSpare(0) 00035 , klobA0(0.0) 00036 , klobA1(0.0) 00037 , klobA2(0.0) 00038 , klobA3(0.0) 00039 , klobB0(0.0) 00040 , klobB1(0.0) 00041 , klobB2(0.0) 00042 , klobB3(0.0) 00043 , flags(0) 00044 { 00045 } 00046 00047 AidHUI_(const ContainerAllocator& _alloc) 00048 : health(0) 00049 , utcA0(0.0) 00050 , utcA1(0.0) 00051 , utcTOW(0) 00052 , utcWNT(0) 00053 , utcLS(0) 00054 , utcWNF(0) 00055 , utcDN(0) 00056 , utcLSF(0) 00057 , utcSpare(0) 00058 , klobA0(0.0) 00059 , klobA1(0.0) 00060 , klobA2(0.0) 00061 , klobA3(0.0) 00062 , klobB0(0.0) 00063 , klobB1(0.0) 00064 , klobB2(0.0) 00065 , klobB3(0.0) 00066 , flags(0) 00067 { 00068 } 00069 00070 typedef uint32_t _health_type; 00071 uint32_t health; 00072 00073 typedef double _utcA0_type; 00074 double utcA0; 00075 00076 typedef double _utcA1_type; 00077 double utcA1; 00078 00079 typedef int32_t _utcTOW_type; 00080 int32_t utcTOW; 00081 00082 typedef int16_t _utcWNT_type; 00083 int16_t utcWNT; 00084 00085 typedef int16_t _utcLS_type; 00086 int16_t utcLS; 00087 00088 typedef int16_t _utcWNF_type; 00089 int16_t utcWNF; 00090 00091 typedef int16_t _utcDN_type; 00092 int16_t utcDN; 00093 00094 typedef int16_t _utcLSF_type; 00095 int16_t utcLSF; 00096 00097 typedef int16_t _utcSpare_type; 00098 int16_t utcSpare; 00099 00100 typedef float _klobA0_type; 00101 float klobA0; 00102 00103 typedef float _klobA1_type; 00104 float klobA1; 00105 00106 typedef float _klobA2_type; 00107 float klobA2; 00108 00109 typedef float _klobA3_type; 00110 float klobA3; 00111 00112 typedef float _klobB0_type; 00113 float klobB0; 00114 00115 typedef float _klobB1_type; 00116 float klobB1; 00117 00118 typedef float _klobB2_type; 00119 float klobB2; 00120 00121 typedef float _klobB3_type; 00122 float klobB3; 00123 00124 typedef uint32_t _flags_type; 00125 uint32_t flags; 00126 00127 enum { CLASS_ID = 11 }; 00128 enum { MESSAGE_ID = 2 }; 00129 enum { FLAGS_HEALTH = 1 }; 00130 enum { FLAGS_UTC = 2 }; 00131 enum { FLAGS_KLOB = 4 }; 00132 00133 private: 00134 static const char* __s_getDataType_() { return "ublox_msgs/AidHUI"; } 00135 public: 00136 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00137 00138 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00139 00140 private: 00141 static const char* __s_getMD5Sum_() { return "60cd4ce940333cb9b38edd447085ce5c"; } 00142 public: 00143 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00144 00145 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00146 00147 private: 00148 static const char* __s_getMessageDefinition_() { return "# AID-HUI (0x0B 0x02)\n\ 00149 # GPS Health, UTC and ionosphere parameters\n\ 00150 #\n\ 00151 # This message contains a health bit mask, UTC time and Klobuchar parameters. For more\n\ 00152 # information on these parameters, please see the ICD-GPS-200 documentation.\n\ 00153 \n\ 00154 uint8 CLASS_ID = 11\n\ 00155 uint8 MESSAGE_ID = 2\n\ 00156 \n\ 00157 uint32 health # Bitmask, every bit represenst a GPS SV (1-32). If the bit is set the SV is healthy.\n\ 00158 float64 utcA0 # UTC - parameter A0\n\ 00159 float64 utcA1 # UTC - parameter A1\n\ 00160 int32 utcTOW # UTC - reference time of week\n\ 00161 int16 utcWNT # UTC - reference week number\n\ 00162 int16 utcLS # UTC - time difference due to leap seconds before event\n\ 00163 int16 utcWNF # UTC - week number when next leap second event occurs\n\ 00164 int16 utcDN # UTC - day of week when next leap second event occurs\n\ 00165 int16 utcLSF # UTC - time difference due to leap seconds after event\n\ 00166 int16 utcSpare # UTC - Spare to ensure structure is a multiple of 4 bytes\n\ 00167 float32 klobA0 #K lobuchar - alpha 0 [s]\n\ 00168 float32 klobA1 # Klobuchar - alpha 1 [s/semicircle]\n\ 00169 float32 klobA2 # Klobuchar - alpha 2 [s/semicircle^2]\n\ 00170 float32 klobA3 # Klobuchar - alpha 3 [s/semicircle^3]\n\ 00171 float32 klobB0 #K lobuchar - beta 0 [s]\n\ 00172 float32 klobB1 # Klobuchar - beta 1 [s/semicircle]\n\ 00173 float32 klobB2 # Klobuchar - beta 2 [s/semicircle^2]\n\ 00174 float32 klobB3 # Klobuchar - beta 3 [s/semicircle^3]\n\ 00175 uint32 flags # flags\n\ 00176 uint32 FLAGS_HEALTH = 1 # Healthmask field in this message is valid\n\ 00177 uint32 FLAGS_UTC = 2 # UTC parameter fields in this message are valid\n\ 00178 uint32 FLAGS_KLOB = 4 # Klobuchar parameter fields in this message are valid\n\ 00179 \n\ 00180 "; } 00181 public: 00182 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00183 00184 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00185 00186 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00187 { 00188 ros::serialization::OStream stream(write_ptr, 1000000000); 00189 ros::serialization::serialize(stream, health); 00190 ros::serialization::serialize(stream, utcA0); 00191 ros::serialization::serialize(stream, utcA1); 00192 ros::serialization::serialize(stream, utcTOW); 00193 ros::serialization::serialize(stream, utcWNT); 00194 ros::serialization::serialize(stream, utcLS); 00195 ros::serialization::serialize(stream, utcWNF); 00196 ros::serialization::serialize(stream, utcDN); 00197 ros::serialization::serialize(stream, utcLSF); 00198 ros::serialization::serialize(stream, utcSpare); 00199 ros::serialization::serialize(stream, klobA0); 00200 ros::serialization::serialize(stream, klobA1); 00201 ros::serialization::serialize(stream, klobA2); 00202 ros::serialization::serialize(stream, klobA3); 00203 ros::serialization::serialize(stream, klobB0); 00204 ros::serialization::serialize(stream, klobB1); 00205 ros::serialization::serialize(stream, klobB2); 00206 ros::serialization::serialize(stream, klobB3); 00207 ros::serialization::serialize(stream, flags); 00208 return stream.getData(); 00209 } 00210 00211 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00212 { 00213 ros::serialization::IStream stream(read_ptr, 1000000000); 00214 ros::serialization::deserialize(stream, health); 00215 ros::serialization::deserialize(stream, utcA0); 00216 ros::serialization::deserialize(stream, utcA1); 00217 ros::serialization::deserialize(stream, utcTOW); 00218 ros::serialization::deserialize(stream, utcWNT); 00219 ros::serialization::deserialize(stream, utcLS); 00220 ros::serialization::deserialize(stream, utcWNF); 00221 ros::serialization::deserialize(stream, utcDN); 00222 ros::serialization::deserialize(stream, utcLSF); 00223 ros::serialization::deserialize(stream, utcSpare); 00224 ros::serialization::deserialize(stream, klobA0); 00225 ros::serialization::deserialize(stream, klobA1); 00226 ros::serialization::deserialize(stream, klobA2); 00227 ros::serialization::deserialize(stream, klobA3); 00228 ros::serialization::deserialize(stream, klobB0); 00229 ros::serialization::deserialize(stream, klobB1); 00230 ros::serialization::deserialize(stream, klobB2); 00231 ros::serialization::deserialize(stream, klobB3); 00232 ros::serialization::deserialize(stream, flags); 00233 return stream.getData(); 00234 } 00235 00236 ROS_DEPRECATED virtual uint32_t serializationLength() const 00237 { 00238 uint32_t size = 0; 00239 size += ros::serialization::serializationLength(health); 00240 size += ros::serialization::serializationLength(utcA0); 00241 size += ros::serialization::serializationLength(utcA1); 00242 size += ros::serialization::serializationLength(utcTOW); 00243 size += ros::serialization::serializationLength(utcWNT); 00244 size += ros::serialization::serializationLength(utcLS); 00245 size += ros::serialization::serializationLength(utcWNF); 00246 size += ros::serialization::serializationLength(utcDN); 00247 size += ros::serialization::serializationLength(utcLSF); 00248 size += ros::serialization::serializationLength(utcSpare); 00249 size += ros::serialization::serializationLength(klobA0); 00250 size += ros::serialization::serializationLength(klobA1); 00251 size += ros::serialization::serializationLength(klobA2); 00252 size += ros::serialization::serializationLength(klobA3); 00253 size += ros::serialization::serializationLength(klobB0); 00254 size += ros::serialization::serializationLength(klobB1); 00255 size += ros::serialization::serializationLength(klobB2); 00256 size += ros::serialization::serializationLength(klobB3); 00257 size += ros::serialization::serializationLength(flags); 00258 return size; 00259 } 00260 00261 typedef boost::shared_ptr< ::ublox_msgs::AidHUI_<ContainerAllocator> > Ptr; 00262 typedef boost::shared_ptr< ::ublox_msgs::AidHUI_<ContainerAllocator> const> ConstPtr; 00263 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00264 }; // struct AidHUI 00265 typedef ::ublox_msgs::AidHUI_<std::allocator<void> > AidHUI; 00266 00267 typedef boost::shared_ptr< ::ublox_msgs::AidHUI> AidHUIPtr; 00268 typedef boost::shared_ptr< ::ublox_msgs::AidHUI const> AidHUIConstPtr; 00269 00270 00271 template<typename ContainerAllocator> 00272 std::ostream& operator<<(std::ostream& s, const ::ublox_msgs::AidHUI_<ContainerAllocator> & v) 00273 { 00274 ros::message_operations::Printer< ::ublox_msgs::AidHUI_<ContainerAllocator> >::stream(s, "", v); 00275 return s;} 00276 00277 } // namespace ublox_msgs 00278 00279 namespace ros 00280 { 00281 namespace message_traits 00282 { 00283 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::AidHUI_<ContainerAllocator> > : public TrueType {}; 00284 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::AidHUI_<ContainerAllocator> const> : public TrueType {}; 00285 template<class ContainerAllocator> 00286 struct MD5Sum< ::ublox_msgs::AidHUI_<ContainerAllocator> > { 00287 static const char* value() 00288 { 00289 return "60cd4ce940333cb9b38edd447085ce5c"; 00290 } 00291 00292 static const char* value(const ::ublox_msgs::AidHUI_<ContainerAllocator> &) { return value(); } 00293 static const uint64_t static_value1 = 0x60cd4ce940333cb9ULL; 00294 static const uint64_t static_value2 = 0xb38edd447085ce5cULL; 00295 }; 00296 00297 template<class ContainerAllocator> 00298 struct DataType< ::ublox_msgs::AidHUI_<ContainerAllocator> > { 00299 static const char* value() 00300 { 00301 return "ublox_msgs/AidHUI"; 00302 } 00303 00304 static const char* value(const ::ublox_msgs::AidHUI_<ContainerAllocator> &) { return value(); } 00305 }; 00306 00307 template<class ContainerAllocator> 00308 struct Definition< ::ublox_msgs::AidHUI_<ContainerAllocator> > { 00309 static const char* value() 00310 { 00311 return "# AID-HUI (0x0B 0x02)\n\ 00312 # GPS Health, UTC and ionosphere parameters\n\ 00313 #\n\ 00314 # This message contains a health bit mask, UTC time and Klobuchar parameters. For more\n\ 00315 # information on these parameters, please see the ICD-GPS-200 documentation.\n\ 00316 \n\ 00317 uint8 CLASS_ID = 11\n\ 00318 uint8 MESSAGE_ID = 2\n\ 00319 \n\ 00320 uint32 health # Bitmask, every bit represenst a GPS SV (1-32). If the bit is set the SV is healthy.\n\ 00321 float64 utcA0 # UTC - parameter A0\n\ 00322 float64 utcA1 # UTC - parameter A1\n\ 00323 int32 utcTOW # UTC - reference time of week\n\ 00324 int16 utcWNT # UTC - reference week number\n\ 00325 int16 utcLS # UTC - time difference due to leap seconds before event\n\ 00326 int16 utcWNF # UTC - week number when next leap second event occurs\n\ 00327 int16 utcDN # UTC - day of week when next leap second event occurs\n\ 00328 int16 utcLSF # UTC - time difference due to leap seconds after event\n\ 00329 int16 utcSpare # UTC - Spare to ensure structure is a multiple of 4 bytes\n\ 00330 float32 klobA0 #K lobuchar - alpha 0 [s]\n\ 00331 float32 klobA1 # Klobuchar - alpha 1 [s/semicircle]\n\ 00332 float32 klobA2 # Klobuchar - alpha 2 [s/semicircle^2]\n\ 00333 float32 klobA3 # Klobuchar - alpha 3 [s/semicircle^3]\n\ 00334 float32 klobB0 #K lobuchar - beta 0 [s]\n\ 00335 float32 klobB1 # Klobuchar - beta 1 [s/semicircle]\n\ 00336 float32 klobB2 # Klobuchar - beta 2 [s/semicircle^2]\n\ 00337 float32 klobB3 # Klobuchar - beta 3 [s/semicircle^3]\n\ 00338 uint32 flags # flags\n\ 00339 uint32 FLAGS_HEALTH = 1 # Healthmask field in this message is valid\n\ 00340 uint32 FLAGS_UTC = 2 # UTC parameter fields in this message are valid\n\ 00341 uint32 FLAGS_KLOB = 4 # Klobuchar parameter fields in this message are valid\n\ 00342 \n\ 00343 "; 00344 } 00345 00346 static const char* value(const ::ublox_msgs::AidHUI_<ContainerAllocator> &) { return value(); } 00347 }; 00348 00349 template<class ContainerAllocator> struct IsFixedSize< ::ublox_msgs::AidHUI_<ContainerAllocator> > : public TrueType {}; 00350 } // namespace message_traits 00351 } // namespace ros 00352 00353 namespace ros 00354 { 00355 namespace serialization 00356 { 00357 00358 template<class ContainerAllocator> struct Serializer< ::ublox_msgs::AidHUI_<ContainerAllocator> > 00359 { 00360 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00361 { 00362 stream.next(m.health); 00363 stream.next(m.utcA0); 00364 stream.next(m.utcA1); 00365 stream.next(m.utcTOW); 00366 stream.next(m.utcWNT); 00367 stream.next(m.utcLS); 00368 stream.next(m.utcWNF); 00369 stream.next(m.utcDN); 00370 stream.next(m.utcLSF); 00371 stream.next(m.utcSpare); 00372 stream.next(m.klobA0); 00373 stream.next(m.klobA1); 00374 stream.next(m.klobA2); 00375 stream.next(m.klobA3); 00376 stream.next(m.klobB0); 00377 stream.next(m.klobB1); 00378 stream.next(m.klobB2); 00379 stream.next(m.klobB3); 00380 stream.next(m.flags); 00381 } 00382 00383 ROS_DECLARE_ALLINONE_SERIALIZER; 00384 }; // struct AidHUI_ 00385 } // namespace serialization 00386 } // namespace ros 00387 00388 namespace ros 00389 { 00390 namespace message_operations 00391 { 00392 00393 template<class ContainerAllocator> 00394 struct Printer< ::ublox_msgs::AidHUI_<ContainerAllocator> > 00395 { 00396 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::ublox_msgs::AidHUI_<ContainerAllocator> & v) 00397 { 00398 s << indent << "health: "; 00399 Printer<uint32_t>::stream(s, indent + " ", v.health); 00400 s << indent << "utcA0: "; 00401 Printer<double>::stream(s, indent + " ", v.utcA0); 00402 s << indent << "utcA1: "; 00403 Printer<double>::stream(s, indent + " ", v.utcA1); 00404 s << indent << "utcTOW: "; 00405 Printer<int32_t>::stream(s, indent + " ", v.utcTOW); 00406 s << indent << "utcWNT: "; 00407 Printer<int16_t>::stream(s, indent + " ", v.utcWNT); 00408 s << indent << "utcLS: "; 00409 Printer<int16_t>::stream(s, indent + " ", v.utcLS); 00410 s << indent << "utcWNF: "; 00411 Printer<int16_t>::stream(s, indent + " ", v.utcWNF); 00412 s << indent << "utcDN: "; 00413 Printer<int16_t>::stream(s, indent + " ", v.utcDN); 00414 s << indent << "utcLSF: "; 00415 Printer<int16_t>::stream(s, indent + " ", v.utcLSF); 00416 s << indent << "utcSpare: "; 00417 Printer<int16_t>::stream(s, indent + " ", v.utcSpare); 00418 s << indent << "klobA0: "; 00419 Printer<float>::stream(s, indent + " ", v.klobA0); 00420 s << indent << "klobA1: "; 00421 Printer<float>::stream(s, indent + " ", v.klobA1); 00422 s << indent << "klobA2: "; 00423 Printer<float>::stream(s, indent + " ", v.klobA2); 00424 s << indent << "klobA3: "; 00425 Printer<float>::stream(s, indent + " ", v.klobA3); 00426 s << indent << "klobB0: "; 00427 Printer<float>::stream(s, indent + " ", v.klobB0); 00428 s << indent << "klobB1: "; 00429 Printer<float>::stream(s, indent + " ", v.klobB1); 00430 s << indent << "klobB2: "; 00431 Printer<float>::stream(s, indent + " ", v.klobB2); 00432 s << indent << "klobB3: "; 00433 Printer<float>::stream(s, indent + " ", v.klobB3); 00434 s << indent << "flags: "; 00435 Printer<uint32_t>::stream(s, indent + " ", v.flags); 00436 } 00437 }; 00438 00439 00440 } // namespace message_operations 00441 } // namespace ros 00442 00443 #endif // UBLOX_MSGS_MESSAGE_AIDHUI_H 00444