$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.msg */ 00002 #ifndef UBLOX_MSGS_MESSAGE_RXMRAW_H 00003 #define UBLOX_MSGS_MESSAGE_RXMRAW_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 #include "ublox_msgs/RxmRAW_SV.h" 00018 00019 namespace ublox_msgs 00020 { 00021 template <class ContainerAllocator> 00022 struct RxmRAW_ { 00023 typedef RxmRAW_<ContainerAllocator> Type; 00024 00025 RxmRAW_() 00026 : iTOW(0) 00027 , week(0) 00028 , numSV(0) 00029 , reserved1(0) 00030 , sv() 00031 { 00032 } 00033 00034 RxmRAW_(const ContainerAllocator& _alloc) 00035 : iTOW(0) 00036 , week(0) 00037 , numSV(0) 00038 , reserved1(0) 00039 , sv(_alloc) 00040 { 00041 } 00042 00043 typedef int32_t _iTOW_type; 00044 int32_t iTOW; 00045 00046 typedef int16_t _week_type; 00047 int16_t week; 00048 00049 typedef uint8_t _numSV_type; 00050 uint8_t numSV; 00051 00052 typedef uint8_t _reserved1_type; 00053 uint8_t reserved1; 00054 00055 typedef std::vector< ::ublox_msgs::RxmRAW_SV_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::ublox_msgs::RxmRAW_SV_<ContainerAllocator> >::other > _sv_type; 00056 std::vector< ::ublox_msgs::RxmRAW_SV_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::ublox_msgs::RxmRAW_SV_<ContainerAllocator> >::other > sv; 00057 00058 enum { CLASS_ID = 2 }; 00059 enum { MESSAGE_ID = 16 }; 00060 00061 ROS_DEPRECATED uint32_t get_sv_size() const { return (uint32_t)sv.size(); } 00062 ROS_DEPRECATED void set_sv_size(uint32_t size) { sv.resize((size_t)size); } 00063 ROS_DEPRECATED void get_sv_vec(std::vector< ::ublox_msgs::RxmRAW_SV_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::ublox_msgs::RxmRAW_SV_<ContainerAllocator> >::other > & vec) const { vec = this->sv; } 00064 ROS_DEPRECATED void set_sv_vec(const std::vector< ::ublox_msgs::RxmRAW_SV_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::ublox_msgs::RxmRAW_SV_<ContainerAllocator> >::other > & vec) { this->sv = vec; } 00065 private: 00066 static const char* __s_getDataType_() { return "ublox_msgs/RxmRAW"; } 00067 public: 00068 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00069 00070 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00071 00072 private: 00073 static const char* __s_getMD5Sum_() { return "1933e39502131517c68160a4906d1675"; } 00074 public: 00075 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00076 00077 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00078 00079 private: 00080 static const char* __s_getMessageDefinition_() { return "# RXM-RAW (0x02 0x10)\n\ 00081 # Raw Measurement Data\n\ 00082 #\n\ 00083 # This message contains all information needed to be able to generate a RINEX file.\n\ 00084 #\n\ 00085 \n\ 00086 uint8 CLASS_ID = 2\n\ 00087 uint8 MESSAGE_ID = 16\n\ 00088 \n\ 00089 int32 iTOW # Measurement integer millisecond GPS time of week (Receiver Time) [ms]\n\ 00090 int16 week # Measurement GPS week number (Receiver Time) [weeks]\n\ 00091 \n\ 00092 uint8 numSV # # of satellites following\n\ 00093 uint8 reserved1 # Reserved\n\ 00094 \n\ 00095 RxmRAW_SV[] sv\n\ 00096 \n\ 00097 ================================================================================\n\ 00098 MSG: ublox_msgs/RxmRAW_SV\n\ 00099 # see message RxmRAW\n\ 00100 #\n\ 00101 \n\ 00102 float64 cpMes # Carrier phase measurement [L1 cycles]\n\ 00103 float64 prMes # Pseudorange measurement [m]\n\ 00104 float32 doMes # Doppler measurement [Hz]\n\ 00105 \n\ 00106 uint8 sv # Space Vehicle Number\n\ 00107 int8 mesQI # Nav Measurements Quality Indicator\n\ 00108 # >=4 : PR+DO OK\n\ 00109 # >=5 : PR+DO+CP OK\n\ 00110 # <6 : likely loss of carrier lock in previous interval\n\ 00111 int8 cno # Signal strength C/No. [dbHz]\n\ 00112 uint8 lli # Loss of lock indicator (RINEX definition)\n\ 00113 \n\ 00114 "; } 00115 public: 00116 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00117 00118 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00119 00120 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00121 { 00122 ros::serialization::OStream stream(write_ptr, 1000000000); 00123 ros::serialization::serialize(stream, iTOW); 00124 ros::serialization::serialize(stream, week); 00125 ros::serialization::serialize(stream, numSV); 00126 ros::serialization::serialize(stream, reserved1); 00127 ros::serialization::serialize(stream, sv); 00128 return stream.getData(); 00129 } 00130 00131 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00132 { 00133 ros::serialization::IStream stream(read_ptr, 1000000000); 00134 ros::serialization::deserialize(stream, iTOW); 00135 ros::serialization::deserialize(stream, week); 00136 ros::serialization::deserialize(stream, numSV); 00137 ros::serialization::deserialize(stream, reserved1); 00138 ros::serialization::deserialize(stream, sv); 00139 return stream.getData(); 00140 } 00141 00142 ROS_DEPRECATED virtual uint32_t serializationLength() const 00143 { 00144 uint32_t size = 0; 00145 size += ros::serialization::serializationLength(iTOW); 00146 size += ros::serialization::serializationLength(week); 00147 size += ros::serialization::serializationLength(numSV); 00148 size += ros::serialization::serializationLength(reserved1); 00149 size += ros::serialization::serializationLength(sv); 00150 return size; 00151 } 00152 00153 typedef boost::shared_ptr< ::ublox_msgs::RxmRAW_<ContainerAllocator> > Ptr; 00154 typedef boost::shared_ptr< ::ublox_msgs::RxmRAW_<ContainerAllocator> const> ConstPtr; 00155 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00156 }; // struct RxmRAW 00157 typedef ::ublox_msgs::RxmRAW_<std::allocator<void> > RxmRAW; 00158 00159 typedef boost::shared_ptr< ::ublox_msgs::RxmRAW> RxmRAWPtr; 00160 typedef boost::shared_ptr< ::ublox_msgs::RxmRAW const> RxmRAWConstPtr; 00161 00162 00163 template<typename ContainerAllocator> 00164 std::ostream& operator<<(std::ostream& s, const ::ublox_msgs::RxmRAW_<ContainerAllocator> & v) 00165 { 00166 ros::message_operations::Printer< ::ublox_msgs::RxmRAW_<ContainerAllocator> >::stream(s, "", v); 00167 return s;} 00168 00169 } // namespace ublox_msgs 00170 00171 namespace ros 00172 { 00173 namespace message_traits 00174 { 00175 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::RxmRAW_<ContainerAllocator> > : public TrueType {}; 00176 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::RxmRAW_<ContainerAllocator> const> : public TrueType {}; 00177 template<class ContainerAllocator> 00178 struct MD5Sum< ::ublox_msgs::RxmRAW_<ContainerAllocator> > { 00179 static const char* value() 00180 { 00181 return "1933e39502131517c68160a4906d1675"; 00182 } 00183 00184 static const char* value(const ::ublox_msgs::RxmRAW_<ContainerAllocator> &) { return value(); } 00185 static const uint64_t static_value1 = 0x1933e39502131517ULL; 00186 static const uint64_t static_value2 = 0xc68160a4906d1675ULL; 00187 }; 00188 00189 template<class ContainerAllocator> 00190 struct DataType< ::ublox_msgs::RxmRAW_<ContainerAllocator> > { 00191 static const char* value() 00192 { 00193 return "ublox_msgs/RxmRAW"; 00194 } 00195 00196 static const char* value(const ::ublox_msgs::RxmRAW_<ContainerAllocator> &) { return value(); } 00197 }; 00198 00199 template<class ContainerAllocator> 00200 struct Definition< ::ublox_msgs::RxmRAW_<ContainerAllocator> > { 00201 static const char* value() 00202 { 00203 return "# RXM-RAW (0x02 0x10)\n\ 00204 # Raw Measurement Data\n\ 00205 #\n\ 00206 # This message contains all information needed to be able to generate a RINEX file.\n\ 00207 #\n\ 00208 \n\ 00209 uint8 CLASS_ID = 2\n\ 00210 uint8 MESSAGE_ID = 16\n\ 00211 \n\ 00212 int32 iTOW # Measurement integer millisecond GPS time of week (Receiver Time) [ms]\n\ 00213 int16 week # Measurement GPS week number (Receiver Time) [weeks]\n\ 00214 \n\ 00215 uint8 numSV # # of satellites following\n\ 00216 uint8 reserved1 # Reserved\n\ 00217 \n\ 00218 RxmRAW_SV[] sv\n\ 00219 \n\ 00220 ================================================================================\n\ 00221 MSG: ublox_msgs/RxmRAW_SV\n\ 00222 # see message RxmRAW\n\ 00223 #\n\ 00224 \n\ 00225 float64 cpMes # Carrier phase measurement [L1 cycles]\n\ 00226 float64 prMes # Pseudorange measurement [m]\n\ 00227 float32 doMes # Doppler measurement [Hz]\n\ 00228 \n\ 00229 uint8 sv # Space Vehicle Number\n\ 00230 int8 mesQI # Nav Measurements Quality Indicator\n\ 00231 # >=4 : PR+DO OK\n\ 00232 # >=5 : PR+DO+CP OK\n\ 00233 # <6 : likely loss of carrier lock in previous interval\n\ 00234 int8 cno # Signal strength C/No. [dbHz]\n\ 00235 uint8 lli # Loss of lock indicator (RINEX definition)\n\ 00236 \n\ 00237 "; 00238 } 00239 00240 static const char* value(const ::ublox_msgs::RxmRAW_<ContainerAllocator> &) { return value(); } 00241 }; 00242 00243 } // namespace message_traits 00244 } // namespace ros 00245 00246 namespace ros 00247 { 00248 namespace serialization 00249 { 00250 00251 template<class ContainerAllocator> struct Serializer< ::ublox_msgs::RxmRAW_<ContainerAllocator> > 00252 { 00253 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00254 { 00255 stream.next(m.iTOW); 00256 stream.next(m.week); 00257 stream.next(m.numSV); 00258 stream.next(m.reserved1); 00259 stream.next(m.sv); 00260 } 00261 00262 ROS_DECLARE_ALLINONE_SERIALIZER; 00263 }; // struct RxmRAW_ 00264 } // namespace serialization 00265 } // namespace ros 00266 00267 namespace ros 00268 { 00269 namespace message_operations 00270 { 00271 00272 template<class ContainerAllocator> 00273 struct Printer< ::ublox_msgs::RxmRAW_<ContainerAllocator> > 00274 { 00275 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::ublox_msgs::RxmRAW_<ContainerAllocator> & v) 00276 { 00277 s << indent << "iTOW: "; 00278 Printer<int32_t>::stream(s, indent + " ", v.iTOW); 00279 s << indent << "week: "; 00280 Printer<int16_t>::stream(s, indent + " ", v.week); 00281 s << indent << "numSV: "; 00282 Printer<uint8_t>::stream(s, indent + " ", v.numSV); 00283 s << indent << "reserved1: "; 00284 Printer<uint8_t>::stream(s, indent + " ", v.reserved1); 00285 s << indent << "sv[]" << std::endl; 00286 for (size_t i = 0; i < v.sv.size(); ++i) 00287 { 00288 s << indent << " sv[" << i << "]: "; 00289 s << std::endl; 00290 s << indent; 00291 Printer< ::ublox_msgs::RxmRAW_SV_<ContainerAllocator> >::stream(s, indent + " ", v.sv[i]); 00292 } 00293 } 00294 }; 00295 00296 00297 } // namespace message_operations 00298 } // namespace ros 00299 00300 #endif // UBLOX_MSGS_MESSAGE_RXMRAW_H 00301