$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/NavDGPS_SV.msg */ 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 private: 00068 static const char* __s_getDataType_() { return "ublox_msgs/NavDGPS_SV"; } 00069 public: 00070 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00071 00072 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00073 00074 private: 00075 static const char* __s_getMD5Sum_() { return "68b7faf0392ad4a362842f0abbad57cb"; } 00076 public: 00077 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00078 00079 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00080 00081 private: 00082 static const char* __s_getMessageDefinition_() { return "# see message NavDGPS\n\ 00083 \n\ 00084 uint8 svid # Satellite ID\n\ 00085 \n\ 00086 uint8 flags # Bitmask / Channel Number\n\ 00087 uint8 CHANNEL1 = 1\n\ 00088 uint8 CHANNEL2 = 2\n\ 00089 uint8 CHANNEL3 = 3\n\ 00090 uint8 CHANNEL4 = 4\n\ 00091 uint8 CHANNEL5 = 5\n\ 00092 uint8 CHANNEL6 = 6\n\ 00093 uint8 CHANNEL7 = 7\n\ 00094 uint8 CHANNEL8 = 8\n\ 00095 uint8 DGPS = 16\n\ 00096 \n\ 00097 uint16 ageC # Age of latest correction data [ms]\n\ 00098 float32 prc # Pseudo Range Correction [m]\n\ 00099 float32 prrc # Pseudo Range Rate Correction [m/s]\n\ 00100 \n\ 00101 \n\ 00102 "; } 00103 public: 00104 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00105 00106 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00107 00108 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00109 { 00110 ros::serialization::OStream stream(write_ptr, 1000000000); 00111 ros::serialization::serialize(stream, svid); 00112 ros::serialization::serialize(stream, flags); 00113 ros::serialization::serialize(stream, ageC); 00114 ros::serialization::serialize(stream, prc); 00115 ros::serialization::serialize(stream, prrc); 00116 return stream.getData(); 00117 } 00118 00119 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00120 { 00121 ros::serialization::IStream stream(read_ptr, 1000000000); 00122 ros::serialization::deserialize(stream, svid); 00123 ros::serialization::deserialize(stream, flags); 00124 ros::serialization::deserialize(stream, ageC); 00125 ros::serialization::deserialize(stream, prc); 00126 ros::serialization::deserialize(stream, prrc); 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(svid); 00134 size += ros::serialization::serializationLength(flags); 00135 size += ros::serialization::serializationLength(ageC); 00136 size += ros::serialization::serializationLength(prc); 00137 size += ros::serialization::serializationLength(prrc); 00138 return size; 00139 } 00140 00141 typedef boost::shared_ptr< ::ublox_msgs::NavDGPS_SV_<ContainerAllocator> > Ptr; 00142 typedef boost::shared_ptr< ::ublox_msgs::NavDGPS_SV_<ContainerAllocator> const> ConstPtr; 00143 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00144 }; // struct NavDGPS_SV 00145 typedef ::ublox_msgs::NavDGPS_SV_<std::allocator<void> > NavDGPS_SV; 00146 00147 typedef boost::shared_ptr< ::ublox_msgs::NavDGPS_SV> NavDGPS_SVPtr; 00148 typedef boost::shared_ptr< ::ublox_msgs::NavDGPS_SV const> NavDGPS_SVConstPtr; 00149 00150 00151 template<typename ContainerAllocator> 00152 std::ostream& operator<<(std::ostream& s, const ::ublox_msgs::NavDGPS_SV_<ContainerAllocator> & v) 00153 { 00154 ros::message_operations::Printer< ::ublox_msgs::NavDGPS_SV_<ContainerAllocator> >::stream(s, "", v); 00155 return s;} 00156 00157 } // namespace ublox_msgs 00158 00159 namespace ros 00160 { 00161 namespace message_traits 00162 { 00163 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::NavDGPS_SV_<ContainerAllocator> > : public TrueType {}; 00164 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::NavDGPS_SV_<ContainerAllocator> const> : public TrueType {}; 00165 template<class ContainerAllocator> 00166 struct MD5Sum< ::ublox_msgs::NavDGPS_SV_<ContainerAllocator> > { 00167 static const char* value() 00168 { 00169 return "68b7faf0392ad4a362842f0abbad57cb"; 00170 } 00171 00172 static const char* value(const ::ublox_msgs::NavDGPS_SV_<ContainerAllocator> &) { return value(); } 00173 static const uint64_t static_value1 = 0x68b7faf0392ad4a3ULL; 00174 static const uint64_t static_value2 = 0x62842f0abbad57cbULL; 00175 }; 00176 00177 template<class ContainerAllocator> 00178 struct DataType< ::ublox_msgs::NavDGPS_SV_<ContainerAllocator> > { 00179 static const char* value() 00180 { 00181 return "ublox_msgs/NavDGPS_SV"; 00182 } 00183 00184 static const char* value(const ::ublox_msgs::NavDGPS_SV_<ContainerAllocator> &) { return value(); } 00185 }; 00186 00187 template<class ContainerAllocator> 00188 struct Definition< ::ublox_msgs::NavDGPS_SV_<ContainerAllocator> > { 00189 static const char* value() 00190 { 00191 return "# see message NavDGPS\n\ 00192 \n\ 00193 uint8 svid # Satellite ID\n\ 00194 \n\ 00195 uint8 flags # Bitmask / Channel Number\n\ 00196 uint8 CHANNEL1 = 1\n\ 00197 uint8 CHANNEL2 = 2\n\ 00198 uint8 CHANNEL3 = 3\n\ 00199 uint8 CHANNEL4 = 4\n\ 00200 uint8 CHANNEL5 = 5\n\ 00201 uint8 CHANNEL6 = 6\n\ 00202 uint8 CHANNEL7 = 7\n\ 00203 uint8 CHANNEL8 = 8\n\ 00204 uint8 DGPS = 16\n\ 00205 \n\ 00206 uint16 ageC # Age of latest correction data [ms]\n\ 00207 float32 prc # Pseudo Range Correction [m]\n\ 00208 float32 prrc # Pseudo Range Rate Correction [m/s]\n\ 00209 \n\ 00210 \n\ 00211 "; 00212 } 00213 00214 static const char* value(const ::ublox_msgs::NavDGPS_SV_<ContainerAllocator> &) { return value(); } 00215 }; 00216 00217 template<class ContainerAllocator> struct IsFixedSize< ::ublox_msgs::NavDGPS_SV_<ContainerAllocator> > : public TrueType {}; 00218 } // namespace message_traits 00219 } // namespace ros 00220 00221 namespace ros 00222 { 00223 namespace serialization 00224 { 00225 00226 template<class ContainerAllocator> struct Serializer< ::ublox_msgs::NavDGPS_SV_<ContainerAllocator> > 00227 { 00228 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00229 { 00230 stream.next(m.svid); 00231 stream.next(m.flags); 00232 stream.next(m.ageC); 00233 stream.next(m.prc); 00234 stream.next(m.prrc); 00235 } 00236 00237 ROS_DECLARE_ALLINONE_SERIALIZER; 00238 }; // struct NavDGPS_SV_ 00239 } // namespace serialization 00240 } // namespace ros 00241 00242 namespace ros 00243 { 00244 namespace message_operations 00245 { 00246 00247 template<class ContainerAllocator> 00248 struct Printer< ::ublox_msgs::NavDGPS_SV_<ContainerAllocator> > 00249 { 00250 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::ublox_msgs::NavDGPS_SV_<ContainerAllocator> & v) 00251 { 00252 s << indent << "svid: "; 00253 Printer<uint8_t>::stream(s, indent + " ", v.svid); 00254 s << indent << "flags: "; 00255 Printer<uint8_t>::stream(s, indent + " ", v.flags); 00256 s << indent << "ageC: "; 00257 Printer<uint16_t>::stream(s, indent + " ", v.ageC); 00258 s << indent << "prc: "; 00259 Printer<float>::stream(s, indent + " ", v.prc); 00260 s << indent << "prrc: "; 00261 Printer<float>::stream(s, indent + " ", v.prrc); 00262 } 00263 }; 00264 00265 00266 } // namespace message_operations 00267 } // namespace ros 00268 00269 #endif // UBLOX_MSGS_MESSAGE_NAVDGPS_SV_H 00270