GpsInfo.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-art_vehicle/doc_stacks/2013-09-24_10-35-44.297713/art_vehicle/art_msgs/msg/GpsInfo.msg */
00002 #ifndef ART_MSGS_MESSAGE_GPSINFO_H
00003 #define ART_MSGS_MESSAGE_GPSINFO_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 #include "std_msgs/Header.h"
00018 
00019 namespace art_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct GpsInfo_ {
00023   typedef GpsInfo_<ContainerAllocator> Type;
00024 
00025   GpsInfo_()
00026   : header()
00027   , latitude(0.0)
00028   , longitude(0.0)
00029   , altitude(0.0)
00030   , utm_e(0.0)
00031   , utm_n(0.0)
00032   , zone()
00033   , hdop(0.0)
00034   , vdop(0.0)
00035   , err_horz(0.0)
00036   , err_vert(0.0)
00037   , quality(0)
00038   , num_sats(0)
00039   {
00040   }
00041 
00042   GpsInfo_(const ContainerAllocator& _alloc)
00043   : header(_alloc)
00044   , latitude(0.0)
00045   , longitude(0.0)
00046   , altitude(0.0)
00047   , utm_e(0.0)
00048   , utm_n(0.0)
00049   , zone(_alloc)
00050   , hdop(0.0)
00051   , vdop(0.0)
00052   , err_horz(0.0)
00053   , err_vert(0.0)
00054   , quality(0)
00055   , num_sats(0)
00056   {
00057   }
00058 
00059   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00060    ::std_msgs::Header_<ContainerAllocator>  header;
00061 
00062   typedef double _latitude_type;
00063   double latitude;
00064 
00065   typedef double _longitude_type;
00066   double longitude;
00067 
00068   typedef double _altitude_type;
00069   double altitude;
00070 
00071   typedef double _utm_e_type;
00072   double utm_e;
00073 
00074   typedef double _utm_n_type;
00075   double utm_n;
00076 
00077   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _zone_type;
00078   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  zone;
00079 
00080   typedef double _hdop_type;
00081   double hdop;
00082 
00083   typedef double _vdop_type;
00084   double vdop;
00085 
00086   typedef double _err_horz_type;
00087   double err_horz;
00088 
00089   typedef double _err_vert_type;
00090   double err_vert;
00091 
00092   typedef uint16_t _quality_type;
00093   uint16_t quality;
00094 
00095   typedef uint16_t _num_sats_type;
00096   uint16_t num_sats;
00097 
00098   enum { INVALID_FIX = 0 };
00099   enum { GPS_FIX = 1 };
00100   enum { DGPS_FIX = 2 };
00101 
00102   typedef boost::shared_ptr< ::art_msgs::GpsInfo_<ContainerAllocator> > Ptr;
00103   typedef boost::shared_ptr< ::art_msgs::GpsInfo_<ContainerAllocator>  const> ConstPtr;
00104   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00105 }; // struct GpsInfo
00106 typedef  ::art_msgs::GpsInfo_<std::allocator<void> > GpsInfo;
00107 
00108 typedef boost::shared_ptr< ::art_msgs::GpsInfo> GpsInfoPtr;
00109 typedef boost::shared_ptr< ::art_msgs::GpsInfo const> GpsInfoConstPtr;
00110 
00111 
00112 template<typename ContainerAllocator>
00113 std::ostream& operator<<(std::ostream& s, const  ::art_msgs::GpsInfo_<ContainerAllocator> & v)
00114 {
00115   ros::message_operations::Printer< ::art_msgs::GpsInfo_<ContainerAllocator> >::stream(s, "", v);
00116   return s;}
00117 
00118 } // namespace art_msgs
00119 
00120 namespace ros
00121 {
00122 namespace message_traits
00123 {
00124 template<class ContainerAllocator> struct IsMessage< ::art_msgs::GpsInfo_<ContainerAllocator> > : public TrueType {};
00125 template<class ContainerAllocator> struct IsMessage< ::art_msgs::GpsInfo_<ContainerAllocator>  const> : public TrueType {};
00126 template<class ContainerAllocator>
00127 struct MD5Sum< ::art_msgs::GpsInfo_<ContainerAllocator> > {
00128   static const char* value() 
00129   {
00130     return "4f5e197f8744c1a11f1c94dc6e9a77a6";
00131   }
00132 
00133   static const char* value(const  ::art_msgs::GpsInfo_<ContainerAllocator> &) { return value(); } 
00134   static const uint64_t static_value1 = 0x4f5e197f8744c1a1ULL;
00135   static const uint64_t static_value2 = 0x1f1c94dc6e9a77a6ULL;
00136 };
00137 
00138 template<class ContainerAllocator>
00139 struct DataType< ::art_msgs::GpsInfo_<ContainerAllocator> > {
00140   static const char* value() 
00141   {
00142     return "art_msgs/GpsInfo";
00143   }
00144 
00145   static const char* value(const  ::art_msgs::GpsInfo_<ContainerAllocator> &) { return value(); } 
00146 };
00147 
00148 template<class ContainerAllocator>
00149 struct Definition< ::art_msgs::GpsInfo_<ContainerAllocator> > {
00150   static const char* value() 
00151   {
00152     return "# GPS position message\n\
00153 #\n\
00154 # Probably to be replaced by a standard ROS message for Diamondback.\n\
00155 \n\
00156 # $Id: GpsInfo.msg 604 2010-09-22 15:50:16Z jack.oquin $\n\
00157 \n\
00158 # standard ROS header, includes time stamp\n\
00159 Header header\n\
00160 \n\
00161 # Latitude in degrees.  Positive is north of equator, negative is\n\
00162 # south of equator.\n\
00163 float64 latitude\n\
00164 \n\
00165 # Longitude in degrees.  Positive is east of prime meridian, negative\n\
00166 # is west of prime meridian.\n\
00167 float64 longitude\n\
00168 \n\
00169 # Altitude, in meters.  Positive is above reference (e.g., sea-level),\n\
00170 # and negative is below.\n\
00171 float64 altitude\n\
00172 \n\
00173 # UTM WGS84 coordinates, easting [m]\n\
00174 float64 utm_e\n\
00175 \n\
00176 # UTM WGS84 coordinates, northing [m]\n\
00177 float64 utm_n\n\
00178 \n\
00179 # UTM zone\n\
00180 string zone\n\
00181 \n\
00182 # Horizontal dilution of position (HDOP)\n\
00183 float64 hdop\n\
00184 \n\
00185 # Vertical dilution of position (VDOP)\n\
00186 float64 vdop\n\
00187 \n\
00188 # Horizonal error [m]\n\
00189 float64 err_horz\n\
00190 \n\
00191 # Vertical error [m]\n\
00192 float64 err_vert\n\
00193 \n\
00194 # Quality of fix 0 = invalid, 1 = GPS fix, 2 = Differential GPS fix\n\
00195 uint16 INVALID_FIX = 0\n\
00196 uint16 GPS_FIX = 1\n\
00197 uint16 DGPS_FIX = 2\n\
00198 uint16 quality\n\
00199 \n\
00200 # Number of satellites in view.\n\
00201 uint16 num_sats\n\
00202 \n\
00203 ================================================================================\n\
00204 MSG: std_msgs/Header\n\
00205 # Standard metadata for higher-level stamped data types.\n\
00206 # This is generally used to communicate timestamped data \n\
00207 # in a particular coordinate frame.\n\
00208 # \n\
00209 # sequence ID: consecutively increasing ID \n\
00210 uint32 seq\n\
00211 #Two-integer timestamp that is expressed as:\n\
00212 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00213 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00214 # time-handling sugar is provided by the client library\n\
00215 time stamp\n\
00216 #Frame this data is associated with\n\
00217 # 0: no frame\n\
00218 # 1: global frame\n\
00219 string frame_id\n\
00220 \n\
00221 ";
00222   }
00223 
00224   static const char* value(const  ::art_msgs::GpsInfo_<ContainerAllocator> &) { return value(); } 
00225 };
00226 
00227 template<class ContainerAllocator> struct HasHeader< ::art_msgs::GpsInfo_<ContainerAllocator> > : public TrueType {};
00228 template<class ContainerAllocator> struct HasHeader< const ::art_msgs::GpsInfo_<ContainerAllocator> > : public TrueType {};
00229 } // namespace message_traits
00230 } // namespace ros
00231 
00232 namespace ros
00233 {
00234 namespace serialization
00235 {
00236 
00237 template<class ContainerAllocator> struct Serializer< ::art_msgs::GpsInfo_<ContainerAllocator> >
00238 {
00239   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00240   {
00241     stream.next(m.header);
00242     stream.next(m.latitude);
00243     stream.next(m.longitude);
00244     stream.next(m.altitude);
00245     stream.next(m.utm_e);
00246     stream.next(m.utm_n);
00247     stream.next(m.zone);
00248     stream.next(m.hdop);
00249     stream.next(m.vdop);
00250     stream.next(m.err_horz);
00251     stream.next(m.err_vert);
00252     stream.next(m.quality);
00253     stream.next(m.num_sats);
00254   }
00255 
00256   ROS_DECLARE_ALLINONE_SERIALIZER;
00257 }; // struct GpsInfo_
00258 } // namespace serialization
00259 } // namespace ros
00260 
00261 namespace ros
00262 {
00263 namespace message_operations
00264 {
00265 
00266 template<class ContainerAllocator>
00267 struct Printer< ::art_msgs::GpsInfo_<ContainerAllocator> >
00268 {
00269   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::art_msgs::GpsInfo_<ContainerAllocator> & v) 
00270   {
00271     s << indent << "header: ";
00272 s << std::endl;
00273     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00274     s << indent << "latitude: ";
00275     Printer<double>::stream(s, indent + "  ", v.latitude);
00276     s << indent << "longitude: ";
00277     Printer<double>::stream(s, indent + "  ", v.longitude);
00278     s << indent << "altitude: ";
00279     Printer<double>::stream(s, indent + "  ", v.altitude);
00280     s << indent << "utm_e: ";
00281     Printer<double>::stream(s, indent + "  ", v.utm_e);
00282     s << indent << "utm_n: ";
00283     Printer<double>::stream(s, indent + "  ", v.utm_n);
00284     s << indent << "zone: ";
00285     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.zone);
00286     s << indent << "hdop: ";
00287     Printer<double>::stream(s, indent + "  ", v.hdop);
00288     s << indent << "vdop: ";
00289     Printer<double>::stream(s, indent + "  ", v.vdop);
00290     s << indent << "err_horz: ";
00291     Printer<double>::stream(s, indent + "  ", v.err_horz);
00292     s << indent << "err_vert: ";
00293     Printer<double>::stream(s, indent + "  ", v.err_vert);
00294     s << indent << "quality: ";
00295     Printer<uint16_t>::stream(s, indent + "  ", v.quality);
00296     s << indent << "num_sats: ";
00297     Printer<uint16_t>::stream(s, indent + "  ", v.num_sats);
00298   }
00299 };
00300 
00301 
00302 } // namespace message_operations
00303 } // namespace ros
00304 
00305 #endif // ART_MSGS_MESSAGE_GPSINFO_H
00306 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends


art_msgs
Author(s): Jack O'Quin
autogenerated on Tue Sep 24 2013 10:40:45