Go to the documentation of this file.00001
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 typedef boost::shared_ptr< ::ublox_msgs::RxmRAW_<ContainerAllocator> > Ptr;
00062 typedef boost::shared_ptr< ::ublox_msgs::RxmRAW_<ContainerAllocator> const> ConstPtr;
00063 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00064 };
00065 typedef ::ublox_msgs::RxmRAW_<std::allocator<void> > RxmRAW;
00066
00067 typedef boost::shared_ptr< ::ublox_msgs::RxmRAW> RxmRAWPtr;
00068 typedef boost::shared_ptr< ::ublox_msgs::RxmRAW const> RxmRAWConstPtr;
00069
00070
00071 template<typename ContainerAllocator>
00072 std::ostream& operator<<(std::ostream& s, const ::ublox_msgs::RxmRAW_<ContainerAllocator> & v)
00073 {
00074 ros::message_operations::Printer< ::ublox_msgs::RxmRAW_<ContainerAllocator> >::stream(s, "", v);
00075 return s;}
00076
00077 }
00078
00079 namespace ros
00080 {
00081 namespace message_traits
00082 {
00083 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::RxmRAW_<ContainerAllocator> > : public TrueType {};
00084 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::RxmRAW_<ContainerAllocator> const> : public TrueType {};
00085 template<class ContainerAllocator>
00086 struct MD5Sum< ::ublox_msgs::RxmRAW_<ContainerAllocator> > {
00087 static const char* value()
00088 {
00089 return "1933e39502131517c68160a4906d1675";
00090 }
00091
00092 static const char* value(const ::ublox_msgs::RxmRAW_<ContainerAllocator> &) { return value(); }
00093 static const uint64_t static_value1 = 0x1933e39502131517ULL;
00094 static const uint64_t static_value2 = 0xc68160a4906d1675ULL;
00095 };
00096
00097 template<class ContainerAllocator>
00098 struct DataType< ::ublox_msgs::RxmRAW_<ContainerAllocator> > {
00099 static const char* value()
00100 {
00101 return "ublox_msgs/RxmRAW";
00102 }
00103
00104 static const char* value(const ::ublox_msgs::RxmRAW_<ContainerAllocator> &) { return value(); }
00105 };
00106
00107 template<class ContainerAllocator>
00108 struct Definition< ::ublox_msgs::RxmRAW_<ContainerAllocator> > {
00109 static const char* value()
00110 {
00111 return "# RXM-RAW (0x02 0x10)\n\
00112 # Raw Measurement Data\n\
00113 #\n\
00114 # This message contains all information needed to be able to generate a RINEX file.\n\
00115 #\n\
00116 \n\
00117 uint8 CLASS_ID = 2\n\
00118 uint8 MESSAGE_ID = 16\n\
00119 \n\
00120 int32 iTOW # Measurement integer millisecond GPS time of week (Receiver Time) [ms]\n\
00121 int16 week # Measurement GPS week number (Receiver Time) [weeks]\n\
00122 \n\
00123 uint8 numSV # # of satellites following\n\
00124 uint8 reserved1 # Reserved\n\
00125 \n\
00126 RxmRAW_SV[] sv\n\
00127 \n\
00128 ================================================================================\n\
00129 MSG: ublox_msgs/RxmRAW_SV\n\
00130 # see message RxmRAW\n\
00131 #\n\
00132 \n\
00133 float64 cpMes # Carrier phase measurement [L1 cycles]\n\
00134 float64 prMes # Pseudorange measurement [m]\n\
00135 float32 doMes # Doppler measurement [Hz]\n\
00136 \n\
00137 uint8 sv # Space Vehicle Number\n\
00138 int8 mesQI # Nav Measurements Quality Indicator\n\
00139 # >=4 : PR+DO OK\n\
00140 # >=5 : PR+DO+CP OK\n\
00141 # <6 : likely loss of carrier lock in previous interval\n\
00142 int8 cno # Signal strength C/No. [dbHz]\n\
00143 uint8 lli # Loss of lock indicator (RINEX definition)\n\
00144 \n\
00145 ";
00146 }
00147
00148 static const char* value(const ::ublox_msgs::RxmRAW_<ContainerAllocator> &) { return value(); }
00149 };
00150
00151 }
00152 }
00153
00154 namespace ros
00155 {
00156 namespace serialization
00157 {
00158
00159 template<class ContainerAllocator> struct Serializer< ::ublox_msgs::RxmRAW_<ContainerAllocator> >
00160 {
00161 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00162 {
00163 stream.next(m.iTOW);
00164 stream.next(m.week);
00165 stream.next(m.numSV);
00166 stream.next(m.reserved1);
00167 stream.next(m.sv);
00168 }
00169
00170 ROS_DECLARE_ALLINONE_SERIALIZER;
00171 };
00172 }
00173 }
00174
00175 namespace ros
00176 {
00177 namespace message_operations
00178 {
00179
00180 template<class ContainerAllocator>
00181 struct Printer< ::ublox_msgs::RxmRAW_<ContainerAllocator> >
00182 {
00183 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::ublox_msgs::RxmRAW_<ContainerAllocator> & v)
00184 {
00185 s << indent << "iTOW: ";
00186 Printer<int32_t>::stream(s, indent + " ", v.iTOW);
00187 s << indent << "week: ";
00188 Printer<int16_t>::stream(s, indent + " ", v.week);
00189 s << indent << "numSV: ";
00190 Printer<uint8_t>::stream(s, indent + " ", v.numSV);
00191 s << indent << "reserved1: ";
00192 Printer<uint8_t>::stream(s, indent + " ", v.reserved1);
00193 s << indent << "sv[]" << std::endl;
00194 for (size_t i = 0; i < v.sv.size(); ++i)
00195 {
00196 s << indent << " sv[" << i << "]: ";
00197 s << std::endl;
00198 s << indent;
00199 Printer< ::ublox_msgs::RxmRAW_SV_<ContainerAllocator> >::stream(s, indent + " ", v.sv[i]);
00200 }
00201 }
00202 };
00203
00204
00205 }
00206 }
00207
00208 #endif // UBLOX_MSGS_MESSAGE_RXMRAW_H
00209