$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/RxmRAW_SV.msg */ 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 private: 00069 static const char* __s_getDataType_() { return "ublox_msgs/RxmRAW_SV"; } 00070 public: 00071 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00072 00073 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00074 00075 private: 00076 static const char* __s_getMD5Sum_() { return "4b32efd29577416a2c280e629abcb69a"; } 00077 public: 00078 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00079 00080 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00081 00082 private: 00083 static const char* __s_getMessageDefinition_() { return "# see message RxmRAW\n\ 00084 #\n\ 00085 \n\ 00086 float64 cpMes # Carrier phase measurement [L1 cycles]\n\ 00087 float64 prMes # Pseudorange measurement [m]\n\ 00088 float32 doMes # Doppler measurement [Hz]\n\ 00089 \n\ 00090 uint8 sv # Space Vehicle Number\n\ 00091 int8 mesQI # Nav Measurements Quality Indicator\n\ 00092 # >=4 : PR+DO OK\n\ 00093 # >=5 : PR+DO+CP OK\n\ 00094 # <6 : likely loss of carrier lock in previous interval\n\ 00095 int8 cno # Signal strength C/No. [dbHz]\n\ 00096 uint8 lli # Loss of lock indicator (RINEX definition)\n\ 00097 \n\ 00098 "; } 00099 public: 00100 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00101 00102 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00103 00104 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00105 { 00106 ros::serialization::OStream stream(write_ptr, 1000000000); 00107 ros::serialization::serialize(stream, cpMes); 00108 ros::serialization::serialize(stream, prMes); 00109 ros::serialization::serialize(stream, doMes); 00110 ros::serialization::serialize(stream, sv); 00111 ros::serialization::serialize(stream, mesQI); 00112 ros::serialization::serialize(stream, cno); 00113 ros::serialization::serialize(stream, lli); 00114 return stream.getData(); 00115 } 00116 00117 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00118 { 00119 ros::serialization::IStream stream(read_ptr, 1000000000); 00120 ros::serialization::deserialize(stream, cpMes); 00121 ros::serialization::deserialize(stream, prMes); 00122 ros::serialization::deserialize(stream, doMes); 00123 ros::serialization::deserialize(stream, sv); 00124 ros::serialization::deserialize(stream, mesQI); 00125 ros::serialization::deserialize(stream, cno); 00126 ros::serialization::deserialize(stream, lli); 00127 return stream.getData(); 00128 } 00129 00130 ROS_DEPRECATED virtual uint32_t serializationLength() const 00131 { 00132 uint32_t size = 0; 00133 size += ros::serialization::serializationLength(cpMes); 00134 size += ros::serialization::serializationLength(prMes); 00135 size += ros::serialization::serializationLength(doMes); 00136 size += ros::serialization::serializationLength(sv); 00137 size += ros::serialization::serializationLength(mesQI); 00138 size += ros::serialization::serializationLength(cno); 00139 size += ros::serialization::serializationLength(lli); 00140 return size; 00141 } 00142 00143 typedef boost::shared_ptr< ::ublox_msgs::RxmRAW_SV_<ContainerAllocator> > Ptr; 00144 typedef boost::shared_ptr< ::ublox_msgs::RxmRAW_SV_<ContainerAllocator> const> ConstPtr; 00145 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00146 }; // struct RxmRAW_SV 00147 typedef ::ublox_msgs::RxmRAW_SV_<std::allocator<void> > RxmRAW_SV; 00148 00149 typedef boost::shared_ptr< ::ublox_msgs::RxmRAW_SV> RxmRAW_SVPtr; 00150 typedef boost::shared_ptr< ::ublox_msgs::RxmRAW_SV const> RxmRAW_SVConstPtr; 00151 00152 00153 template<typename ContainerAllocator> 00154 std::ostream& operator<<(std::ostream& s, const ::ublox_msgs::RxmRAW_SV_<ContainerAllocator> & v) 00155 { 00156 ros::message_operations::Printer< ::ublox_msgs::RxmRAW_SV_<ContainerAllocator> >::stream(s, "", v); 00157 return s;} 00158 00159 } // namespace ublox_msgs 00160 00161 namespace ros 00162 { 00163 namespace message_traits 00164 { 00165 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::RxmRAW_SV_<ContainerAllocator> > : public TrueType {}; 00166 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::RxmRAW_SV_<ContainerAllocator> const> : public TrueType {}; 00167 template<class ContainerAllocator> 00168 struct MD5Sum< ::ublox_msgs::RxmRAW_SV_<ContainerAllocator> > { 00169 static const char* value() 00170 { 00171 return "4b32efd29577416a2c280e629abcb69a"; 00172 } 00173 00174 static const char* value(const ::ublox_msgs::RxmRAW_SV_<ContainerAllocator> &) { return value(); } 00175 static const uint64_t static_value1 = 0x4b32efd29577416aULL; 00176 static const uint64_t static_value2 = 0x2c280e629abcb69aULL; 00177 }; 00178 00179 template<class ContainerAllocator> 00180 struct DataType< ::ublox_msgs::RxmRAW_SV_<ContainerAllocator> > { 00181 static const char* value() 00182 { 00183 return "ublox_msgs/RxmRAW_SV"; 00184 } 00185 00186 static const char* value(const ::ublox_msgs::RxmRAW_SV_<ContainerAllocator> &) { return value(); } 00187 }; 00188 00189 template<class ContainerAllocator> 00190 struct Definition< ::ublox_msgs::RxmRAW_SV_<ContainerAllocator> > { 00191 static const char* value() 00192 { 00193 return "# see message RxmRAW\n\ 00194 #\n\ 00195 \n\ 00196 float64 cpMes # Carrier phase measurement [L1 cycles]\n\ 00197 float64 prMes # Pseudorange measurement [m]\n\ 00198 float32 doMes # Doppler measurement [Hz]\n\ 00199 \n\ 00200 uint8 sv # Space Vehicle Number\n\ 00201 int8 mesQI # Nav Measurements Quality Indicator\n\ 00202 # >=4 : PR+DO OK\n\ 00203 # >=5 : PR+DO+CP OK\n\ 00204 # <6 : likely loss of carrier lock in previous interval\n\ 00205 int8 cno # Signal strength C/No. [dbHz]\n\ 00206 uint8 lli # Loss of lock indicator (RINEX definition)\n\ 00207 \n\ 00208 "; 00209 } 00210 00211 static const char* value(const ::ublox_msgs::RxmRAW_SV_<ContainerAllocator> &) { return value(); } 00212 }; 00213 00214 template<class ContainerAllocator> struct IsFixedSize< ::ublox_msgs::RxmRAW_SV_<ContainerAllocator> > : public TrueType {}; 00215 } // namespace message_traits 00216 } // namespace ros 00217 00218 namespace ros 00219 { 00220 namespace serialization 00221 { 00222 00223 template<class ContainerAllocator> struct Serializer< ::ublox_msgs::RxmRAW_SV_<ContainerAllocator> > 00224 { 00225 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00226 { 00227 stream.next(m.cpMes); 00228 stream.next(m.prMes); 00229 stream.next(m.doMes); 00230 stream.next(m.sv); 00231 stream.next(m.mesQI); 00232 stream.next(m.cno); 00233 stream.next(m.lli); 00234 } 00235 00236 ROS_DECLARE_ALLINONE_SERIALIZER; 00237 }; // struct RxmRAW_SV_ 00238 } // namespace serialization 00239 } // namespace ros 00240 00241 namespace ros 00242 { 00243 namespace message_operations 00244 { 00245 00246 template<class ContainerAllocator> 00247 struct Printer< ::ublox_msgs::RxmRAW_SV_<ContainerAllocator> > 00248 { 00249 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::ublox_msgs::RxmRAW_SV_<ContainerAllocator> & v) 00250 { 00251 s << indent << "cpMes: "; 00252 Printer<double>::stream(s, indent + " ", v.cpMes); 00253 s << indent << "prMes: "; 00254 Printer<double>::stream(s, indent + " ", v.prMes); 00255 s << indent << "doMes: "; 00256 Printer<float>::stream(s, indent + " ", v.doMes); 00257 s << indent << "sv: "; 00258 Printer<uint8_t>::stream(s, indent + " ", v.sv); 00259 s << indent << "mesQI: "; 00260 Printer<int8_t>::stream(s, indent + " ", v.mesQI); 00261 s << indent << "cno: "; 00262 Printer<int8_t>::stream(s, indent + " ", v.cno); 00263 s << indent << "lli: "; 00264 Printer<uint8_t>::stream(s, indent + " ", v.lli); 00265 } 00266 }; 00267 00268 00269 } // namespace message_operations 00270 } // namespace ros 00271 00272 #endif // UBLOX_MSGS_MESSAGE_RXMRAW_SV_H 00273