Go to the documentation of this file.00001
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 typedef boost::shared_ptr< ::ublox_msgs::NavVELNED_<ContainerAllocator> > Ptr;
00081 typedef boost::shared_ptr< ::ublox_msgs::NavVELNED_<ContainerAllocator> const> ConstPtr;
00082 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00083 };
00084 typedef ::ublox_msgs::NavVELNED_<std::allocator<void> > NavVELNED;
00085
00086 typedef boost::shared_ptr< ::ublox_msgs::NavVELNED> NavVELNEDPtr;
00087 typedef boost::shared_ptr< ::ublox_msgs::NavVELNED const> NavVELNEDConstPtr;
00088
00089
00090 template<typename ContainerAllocator>
00091 std::ostream& operator<<(std::ostream& s, const ::ublox_msgs::NavVELNED_<ContainerAllocator> & v)
00092 {
00093 ros::message_operations::Printer< ::ublox_msgs::NavVELNED_<ContainerAllocator> >::stream(s, "", v);
00094 return s;}
00095
00096 }
00097
00098 namespace ros
00099 {
00100 namespace message_traits
00101 {
00102 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::NavVELNED_<ContainerAllocator> > : public TrueType {};
00103 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::NavVELNED_<ContainerAllocator> const> : public TrueType {};
00104 template<class ContainerAllocator>
00105 struct MD5Sum< ::ublox_msgs::NavVELNED_<ContainerAllocator> > {
00106 static const char* value()
00107 {
00108 return "b03402bb86164e74f01e04bff1850150";
00109 }
00110
00111 static const char* value(const ::ublox_msgs::NavVELNED_<ContainerAllocator> &) { return value(); }
00112 static const uint64_t static_value1 = 0xb03402bb86164e74ULL;
00113 static const uint64_t static_value2 = 0xf01e04bff1850150ULL;
00114 };
00115
00116 template<class ContainerAllocator>
00117 struct DataType< ::ublox_msgs::NavVELNED_<ContainerAllocator> > {
00118 static const char* value()
00119 {
00120 return "ublox_msgs/NavVELNED";
00121 }
00122
00123 static const char* value(const ::ublox_msgs::NavVELNED_<ContainerAllocator> &) { return value(); }
00124 };
00125
00126 template<class ContainerAllocator>
00127 struct Definition< ::ublox_msgs::NavVELNED_<ContainerAllocator> > {
00128 static const char* value()
00129 {
00130 return "# NAV-VELNED (0x01 0x12)\n\
00131 # Velocity Solution in NED\n\
00132 #\n\
00133 # See important comments concerning validity of velocity given in section\n\
00134 # Navigation Output Filters.\n\
00135 #\n\
00136 \n\
00137 uint8 CLASS_ID = 1\n\
00138 uint8 MESSAGE_ID = 18\n\
00139 \n\
00140 uint32 iTOW # GPS Millisecond time of week [ms]\n\
00141 \n\
00142 int32 velN # NED north velocity [cm/s]\n\
00143 int32 velE # NED east velocity [cm/s]\n\
00144 int32 velD # NED down velocity [cm/s]\n\
00145 uint32 speed # Speed (3-D) [cm/s]\n\
00146 uint32 gSpeed # Ground Speed (2-D) [cm/s]\n\
00147 int32 heading # Heading of motion 2-D [deg / 1e-5]\n\
00148 uint32 sAcc # Speed Accuracy Estimate [cm/s]\n\
00149 uint32 cAcc # Course / Heading Accuracy Estimate [deg / 1e-5]\n\
00150 \n\
00151 ";
00152 }
00153
00154 static const char* value(const ::ublox_msgs::NavVELNED_<ContainerAllocator> &) { return value(); }
00155 };
00156
00157 template<class ContainerAllocator> struct IsFixedSize< ::ublox_msgs::NavVELNED_<ContainerAllocator> > : public TrueType {};
00158 }
00159 }
00160
00161 namespace ros
00162 {
00163 namespace serialization
00164 {
00165
00166 template<class ContainerAllocator> struct Serializer< ::ublox_msgs::NavVELNED_<ContainerAllocator> >
00167 {
00168 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00169 {
00170 stream.next(m.iTOW);
00171 stream.next(m.velN);
00172 stream.next(m.velE);
00173 stream.next(m.velD);
00174 stream.next(m.speed);
00175 stream.next(m.gSpeed);
00176 stream.next(m.heading);
00177 stream.next(m.sAcc);
00178 stream.next(m.cAcc);
00179 }
00180
00181 ROS_DECLARE_ALLINONE_SERIALIZER;
00182 };
00183 }
00184 }
00185
00186 namespace ros
00187 {
00188 namespace message_operations
00189 {
00190
00191 template<class ContainerAllocator>
00192 struct Printer< ::ublox_msgs::NavVELNED_<ContainerAllocator> >
00193 {
00194 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::ublox_msgs::NavVELNED_<ContainerAllocator> & v)
00195 {
00196 s << indent << "iTOW: ";
00197 Printer<uint32_t>::stream(s, indent + " ", v.iTOW);
00198 s << indent << "velN: ";
00199 Printer<int32_t>::stream(s, indent + " ", v.velN);
00200 s << indent << "velE: ";
00201 Printer<int32_t>::stream(s, indent + " ", v.velE);
00202 s << indent << "velD: ";
00203 Printer<int32_t>::stream(s, indent + " ", v.velD);
00204 s << indent << "speed: ";
00205 Printer<uint32_t>::stream(s, indent + " ", v.speed);
00206 s << indent << "gSpeed: ";
00207 Printer<uint32_t>::stream(s, indent + " ", v.gSpeed);
00208 s << indent << "heading: ";
00209 Printer<int32_t>::stream(s, indent + " ", v.heading);
00210 s << indent << "sAcc: ";
00211 Printer<uint32_t>::stream(s, indent + " ", v.sAcc);
00212 s << indent << "cAcc: ";
00213 Printer<uint32_t>::stream(s, indent + " ", v.cAcc);
00214 }
00215 };
00216
00217
00218 }
00219 }
00220
00221 #endif // UBLOX_MSGS_MESSAGE_NAVVELNED_H
00222