Go to the documentation of this file.00001
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 typedef boost::shared_ptr< ::ublox_msgs::NavPOSECEF_<ContainerAllocator> > Ptr;
00061 typedef boost::shared_ptr< ::ublox_msgs::NavPOSECEF_<ContainerAllocator> const> ConstPtr;
00062 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00063 };
00064 typedef ::ublox_msgs::NavPOSECEF_<std::allocator<void> > NavPOSECEF;
00065
00066 typedef boost::shared_ptr< ::ublox_msgs::NavPOSECEF> NavPOSECEFPtr;
00067 typedef boost::shared_ptr< ::ublox_msgs::NavPOSECEF const> NavPOSECEFConstPtr;
00068
00069
00070 template<typename ContainerAllocator>
00071 std::ostream& operator<<(std::ostream& s, const ::ublox_msgs::NavPOSECEF_<ContainerAllocator> & v)
00072 {
00073 ros::message_operations::Printer< ::ublox_msgs::NavPOSECEF_<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::NavPOSECEF_<ContainerAllocator> > : public TrueType {};
00083 template<class ContainerAllocator> struct IsMessage< ::ublox_msgs::NavPOSECEF_<ContainerAllocator> const> : public TrueType {};
00084 template<class ContainerAllocator>
00085 struct MD5Sum< ::ublox_msgs::NavPOSECEF_<ContainerAllocator> > {
00086 static const char* value()
00087 {
00088 return "6f1f4f9473d5586f7fa1427a3c53cee9";
00089 }
00090
00091 static const char* value(const ::ublox_msgs::NavPOSECEF_<ContainerAllocator> &) { return value(); }
00092 static const uint64_t static_value1 = 0x6f1f4f9473d5586fULL;
00093 static const uint64_t static_value2 = 0x7fa1427a3c53cee9ULL;
00094 };
00095
00096 template<class ContainerAllocator>
00097 struct DataType< ::ublox_msgs::NavPOSECEF_<ContainerAllocator> > {
00098 static const char* value()
00099 {
00100 return "ublox_msgs/NavPOSECEF";
00101 }
00102
00103 static const char* value(const ::ublox_msgs::NavPOSECEF_<ContainerAllocator> &) { return value(); }
00104 };
00105
00106 template<class ContainerAllocator>
00107 struct Definition< ::ublox_msgs::NavPOSECEF_<ContainerAllocator> > {
00108 static const char* value()
00109 {
00110 return "# NAV-POSECEF (0x01 0x01)\n\
00111 # Position Solution in ECEF\n\
00112 #\n\
00113 # See important comments concerning validity of position given in section\n\
00114 # Navigation Output Filters.\n\
00115 #\n\
00116 \n\
00117 uint8 CLASS_ID = 1\n\
00118 uint8 MESSAGE_ID = 1\n\
00119 \n\
00120 uint32 iTOW # GPS Millisecond Time of Week [ms]\n\
00121 \n\
00122 int32 ecefX # ECEF X coordinate [cm]\n\
00123 int32 ecefY # ECEF Y coordinate [cm]\n\
00124 int32 ecefZ # ECEF Z coordinate [cm]\n\
00125 uint32 pAcc # Position Accuracy Estimate [cm]\n\
00126 \n\
00127 ";
00128 }
00129
00130 static const char* value(const ::ublox_msgs::NavPOSECEF_<ContainerAllocator> &) { return value(); }
00131 };
00132
00133 template<class ContainerAllocator> struct IsFixedSize< ::ublox_msgs::NavPOSECEF_<ContainerAllocator> > : public TrueType {};
00134 }
00135 }
00136
00137 namespace ros
00138 {
00139 namespace serialization
00140 {
00141
00142 template<class ContainerAllocator> struct Serializer< ::ublox_msgs::NavPOSECEF_<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.ecefX);
00148 stream.next(m.ecefY);
00149 stream.next(m.ecefZ);
00150 stream.next(m.pAcc);
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::NavPOSECEF_<ContainerAllocator> >
00165 {
00166 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::ublox_msgs::NavPOSECEF_<ContainerAllocator> & v)
00167 {
00168 s << indent << "iTOW: ";
00169 Printer<uint32_t>::stream(s, indent + " ", v.iTOW);
00170 s << indent << "ecefX: ";
00171 Printer<int32_t>::stream(s, indent + " ", v.ecefX);
00172 s << indent << "ecefY: ";
00173 Printer<int32_t>::stream(s, indent + " ", v.ecefY);
00174 s << indent << "ecefZ: ";
00175 Printer<int32_t>::stream(s, indent + " ", v.ecefZ);
00176 s << indent << "pAcc: ";
00177 Printer<uint32_t>::stream(s, indent + " ", v.pAcc);
00178 }
00179 };
00180
00181
00182 }
00183 }
00184
00185 #endif // UBLOX_MSGS_MESSAGE_NAVPOSECEF_H
00186