$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/NavPOSECEF.msg */ 00002 #ifndef UBLOX_MSGS_MESSAGE_NAVPOSECEF_H 00003 #define UBLOX_MSGS_MESSAGE_NAVPOSECEF_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 NavPOSECEF_ { 00022 typedef NavPOSECEF_<ContainerAllocator> Type; 00023 00024 NavPOSECEF_() 00025 : iTOW(0) 00026 , ecefX(0) 00027 , ecefY(0) 00028 , ecefZ(0) 00029 , pAcc(0) 00030 { 00031 } 00032 00033 NavPOSECEF_(const ContainerAllocator& _alloc) 00034 : iTOW(0) 00035 , ecefX(0) 00036 , ecefY(0) 00037 , ecefZ(0) 00038 , pAcc(0) 00039 { 00040 } 00041 00042 typedef uint32_t _iTOW_type; 00043 uint32_t iTOW; 00044 00045 typedef int32_t _ecefX_type; 00046 int32_t ecefX; 00047 00048 typedef int32_t _ecefY_type; 00049 int32_t ecefY; 00050 00051 typedef int32_t _ecefZ_type; 00052 int32_t ecefZ; 00053 00054 typedef uint32_t _pAcc_type; 00055 uint32_t pAcc; 00056 00057 enum { CLASS_ID = 1 }; 00058 enum { MESSAGE_ID = 1 }; 00059 00060 private: 00061 static const char* __s_getDataType_() { return "ublox_msgs/NavPOSECEF"; } 00062 public: 00063 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00064 00065 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00066 00067 private: 00068 static const char* __s_getMD5Sum_() { return "6f1f4f9473d5586f7fa1427a3c53cee9"; } 00069 public: 00070 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00071 00072 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00073 00074 private: 00075 static const char* __s_getMessageDefinition_() { return "# NAV-POSECEF (0x01 0x01)\n\ 00076 # Position Solution in ECEF\n\ 00077 #\n\ 00078 # See important comments concerning validity of position given in section\n\ 00079 # Navigation Output Filters.\n\ 00080 #\n\ 00081 \n\ 00082 uint8 CLASS_ID = 1\n\ 00083 uint8 MESSAGE_ID = 1\n\ 00084 \n\ 00085 uint32 iTOW # GPS Millisecond Time of Week [ms]\n\ 00086 \n\ 00087 int32 ecefX # ECEF X coordinate [cm]\n\ 00088 int32 ecefY # ECEF Y coordinate [cm]\n\ 00089 int32 ecefZ # ECEF Z coordinate [cm]\n\ 00090 uint32 pAcc # Position Accuracy Estimate [cm]\n\ 00091 \n\ 00092 "; } 00093 public: 00094 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00095 00096 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00097 00098 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00099 { 00100 ros::serialization::OStream stream(write_ptr, 1000000000); 00101 ros::serialization::serialize(stream, iTOW); 00102 ros::serialization::serialize(stream, ecefX); 00103 ros::serialization::serialize(stream, ecefY); 00104 ros::serialization::serialize(stream, ecefZ); 00105 ros::serialization::serialize(stream, pAcc); 00106 return stream.getData(); 00107 } 00108 00109 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00110 { 00111 ros::serialization::IStream stream(read_ptr, 1000000000); 00112 ros::serialization::deserialize(stream, iTOW); 00113 ros::serialization::deserialize(stream, ecefX); 00114 ros::serialization::deserialize(stream, ecefY); 00115 ros::serialization::deserialize(stream, ecefZ); 00116 ros::serialization::deserialize(stream, pAcc); 00117 return stream.getData(); 00118 } 00119 00120 ROS_DEPRECATED virtual uint32_t serializationLength() const 00121 { 00122 uint32_t size = 0; 00123 size += ros::serialization::serializationLength(iTOW); 00124 size += ros::serialization::serializationLength(ecefX); 00125 size += ros::serialization::serializationLength(ecefY); 00126 size += ros::serialization::serializationLength(ecefZ); 00127 size += ros::serialization::serializationLength(pAcc); 00128 return size; 00129 } 00130 00131 typedef boost::shared_ptr< ::ublox_msgs::NavPOSECEF_<ContainerAllocator> > Ptr; 00132 typedef boost::shared_ptr< ::ublox_msgs::NavPOSECEF_<ContainerAllocator> const> ConstPtr; 00133 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00134 }; // struct NavPOSECEF 00135 typedef ::ublox_msgs::NavPOSECEF_<std::allocator<void> > NavPOSECEF; 00136 00137 typedef boost::shared_ptr< ::ublox_msgs::NavPOSECEF> NavPOSECEFPtr; 00138 typedef boost::shared_ptr< ::ublox_msgs::NavPOSECEF const> NavPOSECEFConstPtr; 00139 00140 00141 template<typename ContainerAllocator> 00142 std::ostream& operator<<(std::ostream& s, const ::ublox_msgs::NavPOSECEF_<ContainerAllocator> & v) 00143 { 00144 ros::message_operations::Printer< ::ublox_msgs::NavPOSECEF_<ContainerAllocator> >::stream(s, "", v); 00145 return s;} 00146 00147 } // namespace ublox_msgs 00148 00149 namespace ros 00150 { 00151 namespace message_traits 00152 { 00153 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::NavPOSECEF_<ContainerAllocator> > : public TrueType {}; 00154 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::NavPOSECEF_<ContainerAllocator> const> : public TrueType {}; 00155 template<class ContainerAllocator> 00156 struct MD5Sum< ::ublox_msgs::NavPOSECEF_<ContainerAllocator> > { 00157 static const char* value() 00158 { 00159 return "6f1f4f9473d5586f7fa1427a3c53cee9"; 00160 } 00161 00162 static const char* value(const ::ublox_msgs::NavPOSECEF_<ContainerAllocator> &) { return value(); } 00163 static const uint64_t static_value1 = 0x6f1f4f9473d5586fULL; 00164 static const uint64_t static_value2 = 0x7fa1427a3c53cee9ULL; 00165 }; 00166 00167 template<class ContainerAllocator> 00168 struct DataType< ::ublox_msgs::NavPOSECEF_<ContainerAllocator> > { 00169 static const char* value() 00170 { 00171 return "ublox_msgs/NavPOSECEF"; 00172 } 00173 00174 static const char* value(const ::ublox_msgs::NavPOSECEF_<ContainerAllocator> &) { return value(); } 00175 }; 00176 00177 template<class ContainerAllocator> 00178 struct Definition< ::ublox_msgs::NavPOSECEF_<ContainerAllocator> > { 00179 static const char* value() 00180 { 00181 return "# NAV-POSECEF (0x01 0x01)\n\ 00182 # Position Solution in ECEF\n\ 00183 #\n\ 00184 # See important comments concerning validity of position given in section\n\ 00185 # Navigation Output Filters.\n\ 00186 #\n\ 00187 \n\ 00188 uint8 CLASS_ID = 1\n\ 00189 uint8 MESSAGE_ID = 1\n\ 00190 \n\ 00191 uint32 iTOW # GPS Millisecond Time of Week [ms]\n\ 00192 \n\ 00193 int32 ecefX # ECEF X coordinate [cm]\n\ 00194 int32 ecefY # ECEF Y coordinate [cm]\n\ 00195 int32 ecefZ # ECEF Z coordinate [cm]\n\ 00196 uint32 pAcc # Position Accuracy Estimate [cm]\n\ 00197 \n\ 00198 "; 00199 } 00200 00201 static const char* value(const ::ublox_msgs::NavPOSECEF_<ContainerAllocator> &) { return value(); } 00202 }; 00203 00204 template<class ContainerAllocator> struct IsFixedSize< ::ublox_msgs::NavPOSECEF_<ContainerAllocator> > : public TrueType {}; 00205 } // namespace message_traits 00206 } // namespace ros 00207 00208 namespace ros 00209 { 00210 namespace serialization 00211 { 00212 00213 template<class ContainerAllocator> struct Serializer< ::ublox_msgs::NavPOSECEF_<ContainerAllocator> > 00214 { 00215 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00216 { 00217 stream.next(m.iTOW); 00218 stream.next(m.ecefX); 00219 stream.next(m.ecefY); 00220 stream.next(m.ecefZ); 00221 stream.next(m.pAcc); 00222 } 00223 00224 ROS_DECLARE_ALLINONE_SERIALIZER; 00225 }; // struct NavPOSECEF_ 00226 } // namespace serialization 00227 } // namespace ros 00228 00229 namespace ros 00230 { 00231 namespace message_operations 00232 { 00233 00234 template<class ContainerAllocator> 00235 struct Printer< ::ublox_msgs::NavPOSECEF_<ContainerAllocator> > 00236 { 00237 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::ublox_msgs::NavPOSECEF_<ContainerAllocator> & v) 00238 { 00239 s << indent << "iTOW: "; 00240 Printer<uint32_t>::stream(s, indent + " ", v.iTOW); 00241 s << indent << "ecefX: "; 00242 Printer<int32_t>::stream(s, indent + " ", v.ecefX); 00243 s << indent << "ecefY: "; 00244 Printer<int32_t>::stream(s, indent + " ", v.ecefY); 00245 s << indent << "ecefZ: "; 00246 Printer<int32_t>::stream(s, indent + " ", v.ecefZ); 00247 s << indent << "pAcc: "; 00248 Printer<uint32_t>::stream(s, indent + " ", v.pAcc); 00249 } 00250 }; 00251 00252 00253 } // namespace message_operations 00254 } // namespace ros 00255 00256 #endif // UBLOX_MSGS_MESSAGE_NAVPOSECEF_H 00257