Go to the documentation of this file.00001
00002 #ifndef UBLOX_MSGS_MESSAGE_NAVDGPS_SV_H
00003 #define UBLOX_MSGS_MESSAGE_NAVDGPS_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 NavDGPS_SV_ {
00022 typedef NavDGPS_SV_<ContainerAllocator> Type;
00023
00024 NavDGPS_SV_()
00025 : svid(0)
00026 , flags(0)
00027 , ageC(0)
00028 , prc(0.0)
00029 , prrc(0.0)
00030 {
00031 }
00032
00033 NavDGPS_SV_(const ContainerAllocator& _alloc)
00034 : svid(0)
00035 , flags(0)
00036 , ageC(0)
00037 , prc(0.0)
00038 , prrc(0.0)
00039 {
00040 }
00041
00042 typedef uint8_t _svid_type;
00043 uint8_t svid;
00044
00045 typedef uint8_t _flags_type;
00046 uint8_t flags;
00047
00048 typedef uint16_t _ageC_type;
00049 uint16_t ageC;
00050
00051 typedef float _prc_type;
00052 float prc;
00053
00054 typedef float _prrc_type;
00055 float prrc;
00056
00057 enum { CHANNEL1 = 1 };
00058 enum { CHANNEL2 = 2 };
00059 enum { CHANNEL3 = 3 };
00060 enum { CHANNEL4 = 4 };
00061 enum { CHANNEL5 = 5 };
00062 enum { CHANNEL6 = 6 };
00063 enum { CHANNEL7 = 7 };
00064 enum { CHANNEL8 = 8 };
00065 enum { DGPS = 16 };
00066
00067 typedef boost::shared_ptr< ::ublox_msgs::NavDGPS_SV_<ContainerAllocator> > Ptr;
00068 typedef boost::shared_ptr< ::ublox_msgs::NavDGPS_SV_<ContainerAllocator> const> ConstPtr;
00069 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00070 };
00071 typedef ::ublox_msgs::NavDGPS_SV_<std::allocator<void> > NavDGPS_SV;
00072
00073 typedef boost::shared_ptr< ::ublox_msgs::NavDGPS_SV> NavDGPS_SVPtr;
00074 typedef boost::shared_ptr< ::ublox_msgs::NavDGPS_SV const> NavDGPS_SVConstPtr;
00075
00076
00077 template<typename ContainerAllocator>
00078 std::ostream& operator<<(std::ostream& s, const ::ublox_msgs::NavDGPS_SV_<ContainerAllocator> & v)
00079 {
00080 ros::message_operations::Printer< ::ublox_msgs::NavDGPS_SV_<ContainerAllocator> >::stream(s, "", v);
00081 return s;}
00082
00083 }
00084
00085 namespace ros
00086 {
00087 namespace message_traits
00088 {
00089 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::NavDGPS_SV_<ContainerAllocator> > : public TrueType {};
00090 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::NavDGPS_SV_<ContainerAllocator> const> : public TrueType {};
00091 template<class ContainerAllocator>
00092 struct MD5Sum< ::ublox_msgs::NavDGPS_SV_<ContainerAllocator> > {
00093 static const char* value()
00094 {
00095 return "68b7faf0392ad4a362842f0abbad57cb";
00096 }
00097
00098 static const char* value(const ::ublox_msgs::NavDGPS_SV_<ContainerAllocator> &) { return value(); }
00099 static const uint64_t static_value1 = 0x68b7faf0392ad4a3ULL;
00100 static const uint64_t static_value2 = 0x62842f0abbad57cbULL;
00101 };
00102
00103 template<class ContainerAllocator>
00104 struct DataType< ::ublox_msgs::NavDGPS_SV_<ContainerAllocator> > {
00105 static const char* value()
00106 {
00107 return "ublox_msgs/NavDGPS_SV";
00108 }
00109
00110 static const char* value(const ::ublox_msgs::NavDGPS_SV_<ContainerAllocator> &) { return value(); }
00111 };
00112
00113 template<class ContainerAllocator>
00114 struct Definition< ::ublox_msgs::NavDGPS_SV_<ContainerAllocator> > {
00115 static const char* value()
00116 {
00117 return "# see message NavDGPS\n\
00118 \n\
00119 uint8 svid # Satellite ID\n\
00120 \n\
00121 uint8 flags # Bitmask / Channel Number\n\
00122 uint8 CHANNEL1 = 1\n\
00123 uint8 CHANNEL2 = 2\n\
00124 uint8 CHANNEL3 = 3\n\
00125 uint8 CHANNEL4 = 4\n\
00126 uint8 CHANNEL5 = 5\n\
00127 uint8 CHANNEL6 = 6\n\
00128 uint8 CHANNEL7 = 7\n\
00129 uint8 CHANNEL8 = 8\n\
00130 uint8 DGPS = 16\n\
00131 \n\
00132 uint16 ageC # Age of latest correction data [ms]\n\
00133 float32 prc # Pseudo Range Correction [m]\n\
00134 float32 prrc # Pseudo Range Rate Correction [m/s]\n\
00135 \n\
00136 \n\
00137 ";
00138 }
00139
00140 static const char* value(const ::ublox_msgs::NavDGPS_SV_<ContainerAllocator> &) { return value(); }
00141 };
00142
00143 template<class ContainerAllocator> struct IsFixedSize< ::ublox_msgs::NavDGPS_SV_<ContainerAllocator> > : public TrueType {};
00144 }
00145 }
00146
00147 namespace ros
00148 {
00149 namespace serialization
00150 {
00151
00152 template<class ContainerAllocator> struct Serializer< ::ublox_msgs::NavDGPS_SV_<ContainerAllocator> >
00153 {
00154 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00155 {
00156 stream.next(m.svid);
00157 stream.next(m.flags);
00158 stream.next(m.ageC);
00159 stream.next(m.prc);
00160 stream.next(m.prrc);
00161 }
00162
00163 ROS_DECLARE_ALLINONE_SERIALIZER;
00164 };
00165 }
00166 }
00167
00168 namespace ros
00169 {
00170 namespace message_operations
00171 {
00172
00173 template<class ContainerAllocator>
00174 struct Printer< ::ublox_msgs::NavDGPS_SV_<ContainerAllocator> >
00175 {
00176 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::ublox_msgs::NavDGPS_SV_<ContainerAllocator> & v)
00177 {
00178 s << indent << "svid: ";
00179 Printer<uint8_t>::stream(s, indent + " ", v.svid);
00180 s << indent << "flags: ";
00181 Printer<uint8_t>::stream(s, indent + " ", v.flags);
00182 s << indent << "ageC: ";
00183 Printer<uint16_t>::stream(s, indent + " ", v.ageC);
00184 s << indent << "prc: ";
00185 Printer<float>::stream(s, indent + " ", v.prc);
00186 s << indent << "prrc: ";
00187 Printer<float>::stream(s, indent + " ", v.prrc);
00188 }
00189 };
00190
00191
00192 }
00193 }
00194
00195 #endif // UBLOX_MSGS_MESSAGE_NAVDGPS_SV_H
00196