Go to the documentation of this file.00001
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 typedef boost::shared_ptr< ::ublox_msgs::NavVELECEF_<ContainerAllocator> > Ptr;
00061 typedef boost::shared_ptr< ::ublox_msgs::NavVELECEF_<ContainerAllocator> const> ConstPtr;
00062 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00063 };
00064 typedef ::ublox_msgs::NavVELECEF_<std::allocator<void> > NavVELECEF;
00065
00066 typedef boost::shared_ptr< ::ublox_msgs::NavVELECEF> NavVELECEFPtr;
00067 typedef boost::shared_ptr< ::ublox_msgs::NavVELECEF const> NavVELECEFConstPtr;
00068
00069
00070 template<typename ContainerAllocator>
00071 std::ostream& operator<<(std::ostream& s, const ::ublox_msgs::NavVELECEF_<ContainerAllocator> & v)
00072 {
00073 ros::message_operations::Printer< ::ublox_msgs::NavVELECEF_<ContainerAllocator> >::stream(s, "", v);
00074 return s;}
00075
00076 }
00077
00078 namespace ros
00079 {
00080 namespace message_traits
00081 {
00082 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::NavVELECEF_<ContainerAllocator> > : public TrueType {};
00083 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::NavVELECEF_<ContainerAllocator> const> : public TrueType {};
00084 template<class ContainerAllocator>
00085 struct MD5Sum< ::ublox_msgs::NavVELECEF_<ContainerAllocator> > {
00086 static const char* value()
00087 {
00088 return "97299f597364a39a6c0e96ed2ee4e702";
00089 }
00090
00091 static const char* value(const ::ublox_msgs::NavVELECEF_<ContainerAllocator> &) { return value(); }
00092 static const uint64_t static_value1 = 0x97299f597364a39aULL;
00093 static const uint64_t static_value2 = 0x6c0e96ed2ee4e702ULL;
00094 };
00095
00096 template<class ContainerAllocator>
00097 struct DataType< ::ublox_msgs::NavVELECEF_<ContainerAllocator> > {
00098 static const char* value()
00099 {
00100 return "ublox_msgs/NavVELECEF";
00101 }
00102
00103 static const char* value(const ::ublox_msgs::NavVELECEF_<ContainerAllocator> &) { return value(); }
00104 };
00105
00106 template<class ContainerAllocator>
00107 struct Definition< ::ublox_msgs::NavVELECEF_<ContainerAllocator> > {
00108 static const char* value()
00109 {
00110 return "# NAV-VELECEF (0x01 0x11)\n\
00111 # Velocity Solution in ECEF\n\
00112 #\n\
00113 # See important comments concerning validity of velocity given in section\n\
00114 # Navigation Output Filters.\n\
00115 #\n\
00116 \n\
00117 uint8 CLASS_ID = 1\n\
00118 uint8 MESSAGE_ID = 17\n\
00119 \n\
00120 uint32 iTOW # GPS Millisecond time of week [ms]\n\
00121 \n\
00122 int32 ecefVX # ECEF X velocity [cm/s]\n\
00123 int32 ecefVY # ECEF Y velocity [cm/s]\n\
00124 int32 ecefVZ # ECEF Z velocity [cm/s]\n\
00125 uint32 sAcc # Speed Accuracy Estimate [cm/s]\n\
00126 \n\
00127 ";
00128 }
00129
00130 static const char* value(const ::ublox_msgs::NavVELECEF_<ContainerAllocator> &) { return value(); }
00131 };
00132
00133 template<class ContainerAllocator> struct IsFixedSize< ::ublox_msgs::NavVELECEF_<ContainerAllocator> > : public TrueType {};
00134 }
00135 }
00136
00137 namespace ros
00138 {
00139 namespace serialization
00140 {
00141
00142 template<class ContainerAllocator> struct Serializer< ::ublox_msgs::NavVELECEF_<ContainerAllocator> >
00143 {
00144 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00145 {
00146 stream.next(m.iTOW);
00147 stream.next(m.ecefVX);
00148 stream.next(m.ecefVY);
00149 stream.next(m.ecefVZ);
00150 stream.next(m.sAcc);
00151 }
00152
00153 ROS_DECLARE_ALLINONE_SERIALIZER;
00154 };
00155 }
00156 }
00157
00158 namespace ros
00159 {
00160 namespace message_operations
00161 {
00162
00163 template<class ContainerAllocator>
00164 struct Printer< ::ublox_msgs::NavVELECEF_<ContainerAllocator> >
00165 {
00166 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::ublox_msgs::NavVELECEF_<ContainerAllocator> & v)
00167 {
00168 s << indent << "iTOW: ";
00169 Printer<uint32_t>::stream(s, indent + " ", v.iTOW);
00170 s << indent << "ecefVX: ";
00171 Printer<int32_t>::stream(s, indent + " ", v.ecefVX);
00172 s << indent << "ecefVY: ";
00173 Printer<int32_t>::stream(s, indent + " ", v.ecefVY);
00174 s << indent << "ecefVZ: ";
00175 Printer<int32_t>::stream(s, indent + " ", v.ecefVZ);
00176 s << indent << "sAcc: ";
00177 Printer<uint32_t>::stream(s, indent + " ", v.sAcc);
00178 }
00179 };
00180
00181
00182 }
00183 }
00184
00185 #endif // UBLOX_MSGS_MESSAGE_NAVVELECEF_H
00186