$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/NavVELECEF.msg */ 00002 #ifndef UBLOX_MSGS_MESSAGE_NAVVELECEF_H 00003 #define UBLOX_MSGS_MESSAGE_NAVVELECEF_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 NavVELECEF_ { 00022 typedef NavVELECEF_<ContainerAllocator> Type; 00023 00024 NavVELECEF_() 00025 : iTOW(0) 00026 , ecefVX(0) 00027 , ecefVY(0) 00028 , ecefVZ(0) 00029 , sAcc(0) 00030 { 00031 } 00032 00033 NavVELECEF_(const ContainerAllocator& _alloc) 00034 : iTOW(0) 00035 , ecefVX(0) 00036 , ecefVY(0) 00037 , ecefVZ(0) 00038 , sAcc(0) 00039 { 00040 } 00041 00042 typedef uint32_t _iTOW_type; 00043 uint32_t iTOW; 00044 00045 typedef int32_t _ecefVX_type; 00046 int32_t ecefVX; 00047 00048 typedef int32_t _ecefVY_type; 00049 int32_t ecefVY; 00050 00051 typedef int32_t _ecefVZ_type; 00052 int32_t ecefVZ; 00053 00054 typedef uint32_t _sAcc_type; 00055 uint32_t sAcc; 00056 00057 enum { CLASS_ID = 1 }; 00058 enum { MESSAGE_ID = 17 }; 00059 00060 private: 00061 static const char* __s_getDataType_() { return "ublox_msgs/NavVELECEF"; } 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 "97299f597364a39a6c0e96ed2ee4e702"; } 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-VELECEF (0x01 0x11)\n\ 00076 # Velocity Solution in ECEF\n\ 00077 #\n\ 00078 # See important comments concerning validity of velocity given in section\n\ 00079 # Navigation Output Filters.\n\ 00080 #\n\ 00081 \n\ 00082 uint8 CLASS_ID = 1\n\ 00083 uint8 MESSAGE_ID = 17\n\ 00084 \n\ 00085 uint32 iTOW # GPS Millisecond time of week [ms]\n\ 00086 \n\ 00087 int32 ecefVX # ECEF X velocity [cm/s]\n\ 00088 int32 ecefVY # ECEF Y velocity [cm/s]\n\ 00089 int32 ecefVZ # ECEF Z velocity [cm/s]\n\ 00090 uint32 sAcc # Speed Accuracy Estimate [cm/s]\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, ecefVX); 00103 ros::serialization::serialize(stream, ecefVY); 00104 ros::serialization::serialize(stream, ecefVZ); 00105 ros::serialization::serialize(stream, sAcc); 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, ecefVX); 00114 ros::serialization::deserialize(stream, ecefVY); 00115 ros::serialization::deserialize(stream, ecefVZ); 00116 ros::serialization::deserialize(stream, sAcc); 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(ecefVX); 00125 size += ros::serialization::serializationLength(ecefVY); 00126 size += ros::serialization::serializationLength(ecefVZ); 00127 size += ros::serialization::serializationLength(sAcc); 00128 return size; 00129 } 00130 00131 typedef boost::shared_ptr< ::ublox_msgs::NavVELECEF_<ContainerAllocator> > Ptr; 00132 typedef boost::shared_ptr< ::ublox_msgs::NavVELECEF_<ContainerAllocator> const> ConstPtr; 00133 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00134 }; // struct NavVELECEF 00135 typedef ::ublox_msgs::NavVELECEF_<std::allocator<void> > NavVELECEF; 00136 00137 typedef boost::shared_ptr< ::ublox_msgs::NavVELECEF> NavVELECEFPtr; 00138 typedef boost::shared_ptr< ::ublox_msgs::NavVELECEF const> NavVELECEFConstPtr; 00139 00140 00141 template<typename ContainerAllocator> 00142 std::ostream& operator<<(std::ostream& s, const ::ublox_msgs::NavVELECEF_<ContainerAllocator> & v) 00143 { 00144 ros::message_operations::Printer< ::ublox_msgs::NavVELECEF_<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::NavVELECEF_<ContainerAllocator> > : public TrueType {}; 00154 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::NavVELECEF_<ContainerAllocator> const> : public TrueType {}; 00155 template<class ContainerAllocator> 00156 struct MD5Sum< ::ublox_msgs::NavVELECEF_<ContainerAllocator> > { 00157 static const char* value() 00158 { 00159 return "97299f597364a39a6c0e96ed2ee4e702"; 00160 } 00161 00162 static const char* value(const ::ublox_msgs::NavVELECEF_<ContainerAllocator> &) { return value(); } 00163 static const uint64_t static_value1 = 0x97299f597364a39aULL; 00164 static const uint64_t static_value2 = 0x6c0e96ed2ee4e702ULL; 00165 }; 00166 00167 template<class ContainerAllocator> 00168 struct DataType< ::ublox_msgs::NavVELECEF_<ContainerAllocator> > { 00169 static const char* value() 00170 { 00171 return "ublox_msgs/NavVELECEF"; 00172 } 00173 00174 static const char* value(const ::ublox_msgs::NavVELECEF_<ContainerAllocator> &) { return value(); } 00175 }; 00176 00177 template<class ContainerAllocator> 00178 struct Definition< ::ublox_msgs::NavVELECEF_<ContainerAllocator> > { 00179 static const char* value() 00180 { 00181 return "# NAV-VELECEF (0x01 0x11)\n\ 00182 # Velocity Solution in ECEF\n\ 00183 #\n\ 00184 # See important comments concerning validity of velocity given in section\n\ 00185 # Navigation Output Filters.\n\ 00186 #\n\ 00187 \n\ 00188 uint8 CLASS_ID = 1\n\ 00189 uint8 MESSAGE_ID = 17\n\ 00190 \n\ 00191 uint32 iTOW # GPS Millisecond time of week [ms]\n\ 00192 \n\ 00193 int32 ecefVX # ECEF X velocity [cm/s]\n\ 00194 int32 ecefVY # ECEF Y velocity [cm/s]\n\ 00195 int32 ecefVZ # ECEF Z velocity [cm/s]\n\ 00196 uint32 sAcc # Speed Accuracy Estimate [cm/s]\n\ 00197 \n\ 00198 "; 00199 } 00200 00201 static const char* value(const ::ublox_msgs::NavVELECEF_<ContainerAllocator> &) { return value(); } 00202 }; 00203 00204 template<class ContainerAllocator> struct IsFixedSize< ::ublox_msgs::NavVELECEF_<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::NavVELECEF_<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.ecefVX); 00219 stream.next(m.ecefVY); 00220 stream.next(m.ecefVZ); 00221 stream.next(m.sAcc); 00222 } 00223 00224 ROS_DECLARE_ALLINONE_SERIALIZER; 00225 }; // struct NavVELECEF_ 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::NavVELECEF_<ContainerAllocator> > 00236 { 00237 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::ublox_msgs::NavVELECEF_<ContainerAllocator> & v) 00238 { 00239 s << indent << "iTOW: "; 00240 Printer<uint32_t>::stream(s, indent + " ", v.iTOW); 00241 s << indent << "ecefVX: "; 00242 Printer<int32_t>::stream(s, indent + " ", v.ecefVX); 00243 s << indent << "ecefVY: "; 00244 Printer<int32_t>::stream(s, indent + " ", v.ecefVY); 00245 s << indent << "ecefVZ: "; 00246 Printer<int32_t>::stream(s, indent + " ", v.ecefVZ); 00247 s << indent << "sAcc: "; 00248 Printer<uint32_t>::stream(s, indent + " ", v.sAcc); 00249 } 00250 }; 00251 00252 00253 } // namespace message_operations 00254 } // namespace ros 00255 00256 #endif // UBLOX_MSGS_MESSAGE_NAVVELECEF_H 00257