$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/NavPOSLLH.msg */ 00002 #ifndef UBLOX_MSGS_MESSAGE_NAVPOSLLH_H 00003 #define UBLOX_MSGS_MESSAGE_NAVPOSLLH_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 NavPOSLLH_ { 00022 typedef NavPOSLLH_<ContainerAllocator> Type; 00023 00024 NavPOSLLH_() 00025 : iTOW(0) 00026 , lon(0) 00027 , lat(0) 00028 , height(0) 00029 , hMSL(0) 00030 , hAcc(0) 00031 , vAcc(0) 00032 { 00033 } 00034 00035 NavPOSLLH_(const ContainerAllocator& _alloc) 00036 : iTOW(0) 00037 , lon(0) 00038 , lat(0) 00039 , height(0) 00040 , hMSL(0) 00041 , hAcc(0) 00042 , vAcc(0) 00043 { 00044 } 00045 00046 typedef uint32_t _iTOW_type; 00047 uint32_t iTOW; 00048 00049 typedef int32_t _lon_type; 00050 int32_t lon; 00051 00052 typedef int32_t _lat_type; 00053 int32_t lat; 00054 00055 typedef int32_t _height_type; 00056 int32_t height; 00057 00058 typedef int32_t _hMSL_type; 00059 int32_t hMSL; 00060 00061 typedef uint32_t _hAcc_type; 00062 uint32_t hAcc; 00063 00064 typedef uint32_t _vAcc_type; 00065 uint32_t vAcc; 00066 00067 enum { CLASS_ID = 1 }; 00068 enum { MESSAGE_ID = 2 }; 00069 00070 private: 00071 static const char* __s_getDataType_() { return "ublox_msgs/NavPOSLLH"; } 00072 public: 00073 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00074 00075 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00076 00077 private: 00078 static const char* __s_getMD5Sum_() { return "01aab2c75cd9f8c402a0689e82f04f01"; } 00079 public: 00080 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00081 00082 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00083 00084 private: 00085 static const char* __s_getMessageDefinition_() { return "# NAV-POSLLH (0x01 0x02)\n\ 00086 # Geodetic Position Solution\n\ 00087 #\n\ 00088 # See important comments concerning validity of position given in section\n\ 00089 # Navigation Output Filters.\n\ 00090 # This message outputs the Geodetic position in the currently selected Ellipsoid. The default is\n\ 00091 # the WGS84 Ellipsoid, but can be changed with the message CFG-DAT.\n\ 00092 #\n\ 00093 \n\ 00094 uint8 CLASS_ID = 1\n\ 00095 uint8 MESSAGE_ID = 2\n\ 00096 \n\ 00097 uint32 iTOW # GPS Millisecond Time of Week [ms]\n\ 00098 \n\ 00099 int32 lon # Longitude [deg/1e-7]\n\ 00100 int32 lat # Latitude [deg/1e-7]\n\ 00101 int32 height # Height above Ellipsoid [mm]\n\ 00102 int32 hMSL # Height above mean sea level [mm]\n\ 00103 uint32 hAcc # Horizontal Accuracy Estimate [mm]\n\ 00104 uint32 vAcc # Vertical Accuracy Estimate [mm]\n\ 00105 \n\ 00106 "; } 00107 public: 00108 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00109 00110 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00111 00112 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00113 { 00114 ros::serialization::OStream stream(write_ptr, 1000000000); 00115 ros::serialization::serialize(stream, iTOW); 00116 ros::serialization::serialize(stream, lon); 00117 ros::serialization::serialize(stream, lat); 00118 ros::serialization::serialize(stream, height); 00119 ros::serialization::serialize(stream, hMSL); 00120 ros::serialization::serialize(stream, hAcc); 00121 ros::serialization::serialize(stream, vAcc); 00122 return stream.getData(); 00123 } 00124 00125 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00126 { 00127 ros::serialization::IStream stream(read_ptr, 1000000000); 00128 ros::serialization::deserialize(stream, iTOW); 00129 ros::serialization::deserialize(stream, lon); 00130 ros::serialization::deserialize(stream, lat); 00131 ros::serialization::deserialize(stream, height); 00132 ros::serialization::deserialize(stream, hMSL); 00133 ros::serialization::deserialize(stream, hAcc); 00134 ros::serialization::deserialize(stream, vAcc); 00135 return stream.getData(); 00136 } 00137 00138 ROS_DEPRECATED virtual uint32_t serializationLength() const 00139 { 00140 uint32_t size = 0; 00141 size += ros::serialization::serializationLength(iTOW); 00142 size += ros::serialization::serializationLength(lon); 00143 size += ros::serialization::serializationLength(lat); 00144 size += ros::serialization::serializationLength(height); 00145 size += ros::serialization::serializationLength(hMSL); 00146 size += ros::serialization::serializationLength(hAcc); 00147 size += ros::serialization::serializationLength(vAcc); 00148 return size; 00149 } 00150 00151 typedef boost::shared_ptr< ::ublox_msgs::NavPOSLLH_<ContainerAllocator> > Ptr; 00152 typedef boost::shared_ptr< ::ublox_msgs::NavPOSLLH_<ContainerAllocator> const> ConstPtr; 00153 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00154 }; // struct NavPOSLLH 00155 typedef ::ublox_msgs::NavPOSLLH_<std::allocator<void> > NavPOSLLH; 00156 00157 typedef boost::shared_ptr< ::ublox_msgs::NavPOSLLH> NavPOSLLHPtr; 00158 typedef boost::shared_ptr< ::ublox_msgs::NavPOSLLH const> NavPOSLLHConstPtr; 00159 00160 00161 template<typename ContainerAllocator> 00162 std::ostream& operator<<(std::ostream& s, const ::ublox_msgs::NavPOSLLH_<ContainerAllocator> & v) 00163 { 00164 ros::message_operations::Printer< ::ublox_msgs::NavPOSLLH_<ContainerAllocator> >::stream(s, "", v); 00165 return s;} 00166 00167 } // namespace ublox_msgs 00168 00169 namespace ros 00170 { 00171 namespace message_traits 00172 { 00173 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::NavPOSLLH_<ContainerAllocator> > : public TrueType {}; 00174 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::NavPOSLLH_<ContainerAllocator> const> : public TrueType {}; 00175 template<class ContainerAllocator> 00176 struct MD5Sum< ::ublox_msgs::NavPOSLLH_<ContainerAllocator> > { 00177 static const char* value() 00178 { 00179 return "01aab2c75cd9f8c402a0689e82f04f01"; 00180 } 00181 00182 static const char* value(const ::ublox_msgs::NavPOSLLH_<ContainerAllocator> &) { return value(); } 00183 static const uint64_t static_value1 = 0x01aab2c75cd9f8c4ULL; 00184 static const uint64_t static_value2 = 0x02a0689e82f04f01ULL; 00185 }; 00186 00187 template<class ContainerAllocator> 00188 struct DataType< ::ublox_msgs::NavPOSLLH_<ContainerAllocator> > { 00189 static const char* value() 00190 { 00191 return "ublox_msgs/NavPOSLLH"; 00192 } 00193 00194 static const char* value(const ::ublox_msgs::NavPOSLLH_<ContainerAllocator> &) { return value(); } 00195 }; 00196 00197 template<class ContainerAllocator> 00198 struct Definition< ::ublox_msgs::NavPOSLLH_<ContainerAllocator> > { 00199 static const char* value() 00200 { 00201 return "# NAV-POSLLH (0x01 0x02)\n\ 00202 # Geodetic Position Solution\n\ 00203 #\n\ 00204 # See important comments concerning validity of position given in section\n\ 00205 # Navigation Output Filters.\n\ 00206 # This message outputs the Geodetic position in the currently selected Ellipsoid. The default is\n\ 00207 # the WGS84 Ellipsoid, but can be changed with the message CFG-DAT.\n\ 00208 #\n\ 00209 \n\ 00210 uint8 CLASS_ID = 1\n\ 00211 uint8 MESSAGE_ID = 2\n\ 00212 \n\ 00213 uint32 iTOW # GPS Millisecond Time of Week [ms]\n\ 00214 \n\ 00215 int32 lon # Longitude [deg/1e-7]\n\ 00216 int32 lat # Latitude [deg/1e-7]\n\ 00217 int32 height # Height above Ellipsoid [mm]\n\ 00218 int32 hMSL # Height above mean sea level [mm]\n\ 00219 uint32 hAcc # Horizontal Accuracy Estimate [mm]\n\ 00220 uint32 vAcc # Vertical Accuracy Estimate [mm]\n\ 00221 \n\ 00222 "; 00223 } 00224 00225 static const char* value(const ::ublox_msgs::NavPOSLLH_<ContainerAllocator> &) { return value(); } 00226 }; 00227 00228 template<class ContainerAllocator> struct IsFixedSize< ::ublox_msgs::NavPOSLLH_<ContainerAllocator> > : public TrueType {}; 00229 } // namespace message_traits 00230 } // namespace ros 00231 00232 namespace ros 00233 { 00234 namespace serialization 00235 { 00236 00237 template<class ContainerAllocator> struct Serializer< ::ublox_msgs::NavPOSLLH_<ContainerAllocator> > 00238 { 00239 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00240 { 00241 stream.next(m.iTOW); 00242 stream.next(m.lon); 00243 stream.next(m.lat); 00244 stream.next(m.height); 00245 stream.next(m.hMSL); 00246 stream.next(m.hAcc); 00247 stream.next(m.vAcc); 00248 } 00249 00250 ROS_DECLARE_ALLINONE_SERIALIZER; 00251 }; // struct NavPOSLLH_ 00252 } // namespace serialization 00253 } // namespace ros 00254 00255 namespace ros 00256 { 00257 namespace message_operations 00258 { 00259 00260 template<class ContainerAllocator> 00261 struct Printer< ::ublox_msgs::NavPOSLLH_<ContainerAllocator> > 00262 { 00263 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::ublox_msgs::NavPOSLLH_<ContainerAllocator> & v) 00264 { 00265 s << indent << "iTOW: "; 00266 Printer<uint32_t>::stream(s, indent + " ", v.iTOW); 00267 s << indent << "lon: "; 00268 Printer<int32_t>::stream(s, indent + " ", v.lon); 00269 s << indent << "lat: "; 00270 Printer<int32_t>::stream(s, indent + " ", v.lat); 00271 s << indent << "height: "; 00272 Printer<int32_t>::stream(s, indent + " ", v.height); 00273 s << indent << "hMSL: "; 00274 Printer<int32_t>::stream(s, indent + " ", v.hMSL); 00275 s << indent << "hAcc: "; 00276 Printer<uint32_t>::stream(s, indent + " ", v.hAcc); 00277 s << indent << "vAcc: "; 00278 Printer<uint32_t>::stream(s, indent + " ", v.vAcc); 00279 } 00280 }; 00281 00282 00283 } // namespace message_operations 00284 } // namespace ros 00285 00286 #endif // UBLOX_MSGS_MESSAGE_NAVPOSLLH_H 00287