$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/NavVELNED.msg */ 00002 #ifndef UBLOX_MSGS_MESSAGE_NAVVELNED_H 00003 #define UBLOX_MSGS_MESSAGE_NAVVELNED_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 NavVELNED_ { 00022 typedef NavVELNED_<ContainerAllocator> Type; 00023 00024 NavVELNED_() 00025 : iTOW(0) 00026 , velN(0) 00027 , velE(0) 00028 , velD(0) 00029 , speed(0) 00030 , gSpeed(0) 00031 , heading(0) 00032 , sAcc(0) 00033 , cAcc(0) 00034 { 00035 } 00036 00037 NavVELNED_(const ContainerAllocator& _alloc) 00038 : iTOW(0) 00039 , velN(0) 00040 , velE(0) 00041 , velD(0) 00042 , speed(0) 00043 , gSpeed(0) 00044 , heading(0) 00045 , sAcc(0) 00046 , cAcc(0) 00047 { 00048 } 00049 00050 typedef uint32_t _iTOW_type; 00051 uint32_t iTOW; 00052 00053 typedef int32_t _velN_type; 00054 int32_t velN; 00055 00056 typedef int32_t _velE_type; 00057 int32_t velE; 00058 00059 typedef int32_t _velD_type; 00060 int32_t velD; 00061 00062 typedef uint32_t _speed_type; 00063 uint32_t speed; 00064 00065 typedef uint32_t _gSpeed_type; 00066 uint32_t gSpeed; 00067 00068 typedef int32_t _heading_type; 00069 int32_t heading; 00070 00071 typedef uint32_t _sAcc_type; 00072 uint32_t sAcc; 00073 00074 typedef uint32_t _cAcc_type; 00075 uint32_t cAcc; 00076 00077 enum { CLASS_ID = 1 }; 00078 enum { MESSAGE_ID = 18 }; 00079 00080 private: 00081 static const char* __s_getDataType_() { return "ublox_msgs/NavVELNED"; } 00082 public: 00083 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00084 00085 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00086 00087 private: 00088 static const char* __s_getMD5Sum_() { return "b03402bb86164e74f01e04bff1850150"; } 00089 public: 00090 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00091 00092 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00093 00094 private: 00095 static const char* __s_getMessageDefinition_() { return "# NAV-VELNED (0x01 0x12)\n\ 00096 # Velocity Solution in NED\n\ 00097 #\n\ 00098 # See important comments concerning validity of velocity given in section\n\ 00099 # Navigation Output Filters.\n\ 00100 #\n\ 00101 \n\ 00102 uint8 CLASS_ID = 1\n\ 00103 uint8 MESSAGE_ID = 18\n\ 00104 \n\ 00105 uint32 iTOW # GPS Millisecond time of week [ms]\n\ 00106 \n\ 00107 int32 velN # NED north velocity [cm/s]\n\ 00108 int32 velE # NED east velocity [cm/s]\n\ 00109 int32 velD # NED down velocity [cm/s]\n\ 00110 uint32 speed # Speed (3-D) [cm/s]\n\ 00111 uint32 gSpeed # Ground Speed (2-D) [cm/s]\n\ 00112 int32 heading # Heading of motion 2-D [deg / 1e-5]\n\ 00113 uint32 sAcc # Speed Accuracy Estimate [cm/s]\n\ 00114 uint32 cAcc # Course / Heading Accuracy Estimate [deg / 1e-5]\n\ 00115 \n\ 00116 "; } 00117 public: 00118 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00119 00120 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00121 00122 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00123 { 00124 ros::serialization::OStream stream(write_ptr, 1000000000); 00125 ros::serialization::serialize(stream, iTOW); 00126 ros::serialization::serialize(stream, velN); 00127 ros::serialization::serialize(stream, velE); 00128 ros::serialization::serialize(stream, velD); 00129 ros::serialization::serialize(stream, speed); 00130 ros::serialization::serialize(stream, gSpeed); 00131 ros::serialization::serialize(stream, heading); 00132 ros::serialization::serialize(stream, sAcc); 00133 ros::serialization::serialize(stream, cAcc); 00134 return stream.getData(); 00135 } 00136 00137 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00138 { 00139 ros::serialization::IStream stream(read_ptr, 1000000000); 00140 ros::serialization::deserialize(stream, iTOW); 00141 ros::serialization::deserialize(stream, velN); 00142 ros::serialization::deserialize(stream, velE); 00143 ros::serialization::deserialize(stream, velD); 00144 ros::serialization::deserialize(stream, speed); 00145 ros::serialization::deserialize(stream, gSpeed); 00146 ros::serialization::deserialize(stream, heading); 00147 ros::serialization::deserialize(stream, sAcc); 00148 ros::serialization::deserialize(stream, cAcc); 00149 return stream.getData(); 00150 } 00151 00152 ROS_DEPRECATED virtual uint32_t serializationLength() const 00153 { 00154 uint32_t size = 0; 00155 size += ros::serialization::serializationLength(iTOW); 00156 size += ros::serialization::serializationLength(velN); 00157 size += ros::serialization::serializationLength(velE); 00158 size += ros::serialization::serializationLength(velD); 00159 size += ros::serialization::serializationLength(speed); 00160 size += ros::serialization::serializationLength(gSpeed); 00161 size += ros::serialization::serializationLength(heading); 00162 size += ros::serialization::serializationLength(sAcc); 00163 size += ros::serialization::serializationLength(cAcc); 00164 return size; 00165 } 00166 00167 typedef boost::shared_ptr< ::ublox_msgs::NavVELNED_<ContainerAllocator> > Ptr; 00168 typedef boost::shared_ptr< ::ublox_msgs::NavVELNED_<ContainerAllocator> const> ConstPtr; 00169 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00170 }; // struct NavVELNED 00171 typedef ::ublox_msgs::NavVELNED_<std::allocator<void> > NavVELNED; 00172 00173 typedef boost::shared_ptr< ::ublox_msgs::NavVELNED> NavVELNEDPtr; 00174 typedef boost::shared_ptr< ::ublox_msgs::NavVELNED const> NavVELNEDConstPtr; 00175 00176 00177 template<typename ContainerAllocator> 00178 std::ostream& operator<<(std::ostream& s, const ::ublox_msgs::NavVELNED_<ContainerAllocator> & v) 00179 { 00180 ros::message_operations::Printer< ::ublox_msgs::NavVELNED_<ContainerAllocator> >::stream(s, "", v); 00181 return s;} 00182 00183 } // namespace ublox_msgs 00184 00185 namespace ros 00186 { 00187 namespace message_traits 00188 { 00189 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::NavVELNED_<ContainerAllocator> > : public TrueType {}; 00190 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::NavVELNED_<ContainerAllocator> const> : public TrueType {}; 00191 template<class ContainerAllocator> 00192 struct MD5Sum< ::ublox_msgs::NavVELNED_<ContainerAllocator> > { 00193 static const char* value() 00194 { 00195 return "b03402bb86164e74f01e04bff1850150"; 00196 } 00197 00198 static const char* value(const ::ublox_msgs::NavVELNED_<ContainerAllocator> &) { return value(); } 00199 static const uint64_t static_value1 = 0xb03402bb86164e74ULL; 00200 static const uint64_t static_value2 = 0xf01e04bff1850150ULL; 00201 }; 00202 00203 template<class ContainerAllocator> 00204 struct DataType< ::ublox_msgs::NavVELNED_<ContainerAllocator> > { 00205 static const char* value() 00206 { 00207 return "ublox_msgs/NavVELNED"; 00208 } 00209 00210 static const char* value(const ::ublox_msgs::NavVELNED_<ContainerAllocator> &) { return value(); } 00211 }; 00212 00213 template<class ContainerAllocator> 00214 struct Definition< ::ublox_msgs::NavVELNED_<ContainerAllocator> > { 00215 static const char* value() 00216 { 00217 return "# NAV-VELNED (0x01 0x12)\n\ 00218 # Velocity Solution in NED\n\ 00219 #\n\ 00220 # See important comments concerning validity of velocity given in section\n\ 00221 # Navigation Output Filters.\n\ 00222 #\n\ 00223 \n\ 00224 uint8 CLASS_ID = 1\n\ 00225 uint8 MESSAGE_ID = 18\n\ 00226 \n\ 00227 uint32 iTOW # GPS Millisecond time of week [ms]\n\ 00228 \n\ 00229 int32 velN # NED north velocity [cm/s]\n\ 00230 int32 velE # NED east velocity [cm/s]\n\ 00231 int32 velD # NED down velocity [cm/s]\n\ 00232 uint32 speed # Speed (3-D) [cm/s]\n\ 00233 uint32 gSpeed # Ground Speed (2-D) [cm/s]\n\ 00234 int32 heading # Heading of motion 2-D [deg / 1e-5]\n\ 00235 uint32 sAcc # Speed Accuracy Estimate [cm/s]\n\ 00236 uint32 cAcc # Course / Heading Accuracy Estimate [deg / 1e-5]\n\ 00237 \n\ 00238 "; 00239 } 00240 00241 static const char* value(const ::ublox_msgs::NavVELNED_<ContainerAllocator> &) { return value(); } 00242 }; 00243 00244 template<class ContainerAllocator> struct IsFixedSize< ::ublox_msgs::NavVELNED_<ContainerAllocator> > : public TrueType {}; 00245 } // namespace message_traits 00246 } // namespace ros 00247 00248 namespace ros 00249 { 00250 namespace serialization 00251 { 00252 00253 template<class ContainerAllocator> struct Serializer< ::ublox_msgs::NavVELNED_<ContainerAllocator> > 00254 { 00255 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00256 { 00257 stream.next(m.iTOW); 00258 stream.next(m.velN); 00259 stream.next(m.velE); 00260 stream.next(m.velD); 00261 stream.next(m.speed); 00262 stream.next(m.gSpeed); 00263 stream.next(m.heading); 00264 stream.next(m.sAcc); 00265 stream.next(m.cAcc); 00266 } 00267 00268 ROS_DECLARE_ALLINONE_SERIALIZER; 00269 }; // struct NavVELNED_ 00270 } // namespace serialization 00271 } // namespace ros 00272 00273 namespace ros 00274 { 00275 namespace message_operations 00276 { 00277 00278 template<class ContainerAllocator> 00279 struct Printer< ::ublox_msgs::NavVELNED_<ContainerAllocator> > 00280 { 00281 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::ublox_msgs::NavVELNED_<ContainerAllocator> & v) 00282 { 00283 s << indent << "iTOW: "; 00284 Printer<uint32_t>::stream(s, indent + " ", v.iTOW); 00285 s << indent << "velN: "; 00286 Printer<int32_t>::stream(s, indent + " ", v.velN); 00287 s << indent << "velE: "; 00288 Printer<int32_t>::stream(s, indent + " ", v.velE); 00289 s << indent << "velD: "; 00290 Printer<int32_t>::stream(s, indent + " ", v.velD); 00291 s << indent << "speed: "; 00292 Printer<uint32_t>::stream(s, indent + " ", v.speed); 00293 s << indent << "gSpeed: "; 00294 Printer<uint32_t>::stream(s, indent + " ", v.gSpeed); 00295 s << indent << "heading: "; 00296 Printer<int32_t>::stream(s, indent + " ", v.heading); 00297 s << indent << "sAcc: "; 00298 Printer<uint32_t>::stream(s, indent + " ", v.sAcc); 00299 s << indent << "cAcc: "; 00300 Printer<uint32_t>::stream(s, indent + " ", v.cAcc); 00301 } 00302 }; 00303 00304 00305 } // namespace message_operations 00306 } // namespace ros 00307 00308 #endif // UBLOX_MSGS_MESSAGE_NAVVELNED_H 00309