GPSDataAdvanced.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-asctec_drivers/doc_stacks/2014-01-07_11-02-55.712616/asctec_drivers/asctec_msgs/msg/GPSDataAdvanced.msg */
00002 #ifndef ASCTEC_MSGS_MESSAGE_GPSDATAADVANCED_H
00003 #define ASCTEC_MSGS_MESSAGE_GPSDATAADVANCED_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 asctec_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct GPSDataAdvanced_ {
00023   typedef GPSDataAdvanced_<ContainerAllocator> Type;
00024 
00025   GPSDataAdvanced_()
00026   : header()
00027   , latitude(0)
00028   , longitude(0)
00029   , height(0)
00030   , speed_x(0)
00031   , speed_y(0)
00032   , heading(0)
00033   , horizontal_accuracy(0)
00034   , vertical_accuracy(0)
00035   , speed_accuracy(0)
00036   , numSV(0)
00037   , status(0)
00038   , latitude_best_estimate(0)
00039   , longitude_best_estimate(0)
00040   , speed_x_best_estimate(0)
00041   , speed_y_best_estimate(0)
00042   {
00043   }
00044 
00045   GPSDataAdvanced_(const ContainerAllocator& _alloc)
00046   : header(_alloc)
00047   , latitude(0)
00048   , longitude(0)
00049   , height(0)
00050   , speed_x(0)
00051   , speed_y(0)
00052   , heading(0)
00053   , horizontal_accuracy(0)
00054   , vertical_accuracy(0)
00055   , speed_accuracy(0)
00056   , numSV(0)
00057   , status(0)
00058   , latitude_best_estimate(0)
00059   , longitude_best_estimate(0)
00060   , speed_x_best_estimate(0)
00061   , speed_y_best_estimate(0)
00062   {
00063   }
00064 
00065   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00066    ::std_msgs::Header_<ContainerAllocator>  header;
00067 
00068   typedef int32_t _latitude_type;
00069   int32_t latitude;
00070 
00071   typedef int32_t _longitude_type;
00072   int32_t longitude;
00073 
00074   typedef int32_t _height_type;
00075   int32_t height;
00076 
00077   typedef int32_t _speed_x_type;
00078   int32_t speed_x;
00079 
00080   typedef int32_t _speed_y_type;
00081   int32_t speed_y;
00082 
00083   typedef int32_t _heading_type;
00084   int32_t heading;
00085 
00086   typedef int32_t _horizontal_accuracy_type;
00087   int32_t horizontal_accuracy;
00088 
00089   typedef int32_t _vertical_accuracy_type;
00090   int32_t vertical_accuracy;
00091 
00092   typedef int32_t _speed_accuracy_type;
00093   int32_t speed_accuracy;
00094 
00095   typedef int32_t _numSV_type;
00096   int32_t numSV;
00097 
00098   typedef int32_t _status_type;
00099   int32_t status;
00100 
00101   typedef int32_t _latitude_best_estimate_type;
00102   int32_t latitude_best_estimate;
00103 
00104   typedef int32_t _longitude_best_estimate_type;
00105   int32_t longitude_best_estimate;
00106 
00107   typedef int32_t _speed_x_best_estimate_type;
00108   int32_t speed_x_best_estimate;
00109 
00110   typedef int32_t _speed_y_best_estimate_type;
00111   int32_t speed_y_best_estimate;
00112 
00113 
00114   typedef boost::shared_ptr< ::asctec_msgs::GPSDataAdvanced_<ContainerAllocator> > Ptr;
00115   typedef boost::shared_ptr< ::asctec_msgs::GPSDataAdvanced_<ContainerAllocator>  const> ConstPtr;
00116   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00117 }; // struct GPSDataAdvanced
00118 typedef  ::asctec_msgs::GPSDataAdvanced_<std::allocator<void> > GPSDataAdvanced;
00119 
00120 typedef boost::shared_ptr< ::asctec_msgs::GPSDataAdvanced> GPSDataAdvancedPtr;
00121 typedef boost::shared_ptr< ::asctec_msgs::GPSDataAdvanced const> GPSDataAdvancedConstPtr;
00122 
00123 
00124 template<typename ContainerAllocator>
00125 std::ostream& operator<<(std::ostream& s, const  ::asctec_msgs::GPSDataAdvanced_<ContainerAllocator> & v)
00126 {
00127   ros::message_operations::Printer< ::asctec_msgs::GPSDataAdvanced_<ContainerAllocator> >::stream(s, "", v);
00128   return s;}
00129 
00130 } // namespace asctec_msgs
00131 
00132 namespace ros
00133 {
00134 namespace message_traits
00135 {
00136 template<class ContainerAllocator> struct IsMessage< ::asctec_msgs::GPSDataAdvanced_<ContainerAllocator> > : public TrueType {};
00137 template<class ContainerAllocator> struct IsMessage< ::asctec_msgs::GPSDataAdvanced_<ContainerAllocator>  const> : public TrueType {};
00138 template<class ContainerAllocator>
00139 struct MD5Sum< ::asctec_msgs::GPSDataAdvanced_<ContainerAllocator> > {
00140   static const char* value() 
00141   {
00142     return "9ab56d8a7fca6e53fe5619fec119323d";
00143   }
00144 
00145   static const char* value(const  ::asctec_msgs::GPSDataAdvanced_<ContainerAllocator> &) { return value(); } 
00146   static const uint64_t static_value1 = 0x9ab56d8a7fca6e53ULL;
00147   static const uint64_t static_value2 = 0xfe5619fec119323dULL;
00148 };
00149 
00150 template<class ContainerAllocator>
00151 struct DataType< ::asctec_msgs::GPSDataAdvanced_<ContainerAllocator> > {
00152   static const char* value() 
00153   {
00154     return "asctec_msgs/GPSDataAdvanced";
00155   }
00156 
00157   static const char* value(const  ::asctec_msgs::GPSDataAdvanced_<ContainerAllocator> &) { return value(); } 
00158 };
00159 
00160 template<class ContainerAllocator>
00161 struct Definition< ::asctec_msgs::GPSDataAdvanced_<ContainerAllocator> > {
00162   static const char* value() 
00163   {
00164     return "# Software License Agreement (BSD License)\n\
00165 #\n\
00166 # Copyright (c) 2010\n\
00167 #  William Morris <morris@ee.ccny.cuny.edu>\n\
00168 #  Ivan Dryanovski <ivan.dryanovski@gmail.com>\n\
00169 # All rights reserved.\n\
00170 #\n\
00171 # Redistribution and use in source and binary forms, with or without\n\
00172 # modification, are permitted provided that the following conditions\n\
00173 # are met:\n\
00174 #\n\
00175 #  * Redistributions of source code must retain the above copyright\n\
00176 #    notice, this list of conditions and the following disclaimer.\n\
00177 #  * Redistributions in binary form must reproduce the above\n\
00178 #    copyright notice, this list of conditions and the following\n\
00179 #    disclaimer in the documentation and/or other materials provided\n\
00180 #    with the distribution.\n\
00181 #  * Neither the name of CCNY Robotics Lab nor the names of its\n\
00182 #    contributors may be used to endorse or promote products derived\n\
00183 #    from this software without specific prior written permission.\n\
00184 #\n\
00185 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\
00186 # \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n\
00187 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n\
00188 # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n\
00189 # COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n\
00190 # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\n\
00191 # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n\
00192 # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n\
00193 # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n\
00194 # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN\n\
00195 # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n\
00196 # POSSIBILITY OF SUCH DAMAGE.\n\
00197 \n\
00198 Header header\n\
00199 #latitude/longitude in deg * 10^7\n\
00200 int32 latitude\n\
00201 int32 longitude\n\
00202 \n\
00203 #GPS height in mm\n\
00204 int32 height\n\
00205 \n\
00206 #speed in x (E/W) and y(N/S) in mm/s\n\
00207 int32 speed_x\n\
00208 int32 speed_y\n\
00209 \n\
00210 #GPS heading in deg * 100\n\
00211 int32 heading\n\
00212 \n\
00213 #accuracy estimates in mm and mm/s\n\
00214 int32 horizontal_accuracy\n\
00215 int32 vertical_accuracy\n\
00216 int32 speed_accuracy\n\
00217 \n\
00218 #number of satellite vehicles used in NAV solution\n\
00219 int32 numSV\n\
00220 \n\
00221 #GPS status information; 0x03 = valid GPS fix\n\
00222 int32 status\n\
00223 \n\
00224 #coordinates of current origin in deg * 10^7\n\
00225 int32 latitude_best_estimate\n\
00226 int32 longitude_best_estimate\n\
00227 \n\
00228 #velocities in X (E/W) and Y (N/S) after data fusion\n\
00229 int32 speed_x_best_estimate\n\
00230 int32 speed_y_best_estimate\n\
00231 \n\
00232 ================================================================================\n\
00233 MSG: std_msgs/Header\n\
00234 # Standard metadata for higher-level stamped data types.\n\
00235 # This is generally used to communicate timestamped data \n\
00236 # in a particular coordinate frame.\n\
00237 # \n\
00238 # sequence ID: consecutively increasing ID \n\
00239 uint32 seq\n\
00240 #Two-integer timestamp that is expressed as:\n\
00241 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00242 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00243 # time-handling sugar is provided by the client library\n\
00244 time stamp\n\
00245 #Frame this data is associated with\n\
00246 # 0: no frame\n\
00247 # 1: global frame\n\
00248 string frame_id\n\
00249 \n\
00250 ";
00251   }
00252 
00253   static const char* value(const  ::asctec_msgs::GPSDataAdvanced_<ContainerAllocator> &) { return value(); } 
00254 };
00255 
00256 template<class ContainerAllocator> struct HasHeader< ::asctec_msgs::GPSDataAdvanced_<ContainerAllocator> > : public TrueType {};
00257 template<class ContainerAllocator> struct HasHeader< const ::asctec_msgs::GPSDataAdvanced_<ContainerAllocator> > : public TrueType {};
00258 } // namespace message_traits
00259 } // namespace ros
00260 
00261 namespace ros
00262 {
00263 namespace serialization
00264 {
00265 
00266 template<class ContainerAllocator> struct Serializer< ::asctec_msgs::GPSDataAdvanced_<ContainerAllocator> >
00267 {
00268   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00269   {
00270     stream.next(m.header);
00271     stream.next(m.latitude);
00272     stream.next(m.longitude);
00273     stream.next(m.height);
00274     stream.next(m.speed_x);
00275     stream.next(m.speed_y);
00276     stream.next(m.heading);
00277     stream.next(m.horizontal_accuracy);
00278     stream.next(m.vertical_accuracy);
00279     stream.next(m.speed_accuracy);
00280     stream.next(m.numSV);
00281     stream.next(m.status);
00282     stream.next(m.latitude_best_estimate);
00283     stream.next(m.longitude_best_estimate);
00284     stream.next(m.speed_x_best_estimate);
00285     stream.next(m.speed_y_best_estimate);
00286   }
00287 
00288   ROS_DECLARE_ALLINONE_SERIALIZER;
00289 }; // struct GPSDataAdvanced_
00290 } // namespace serialization
00291 } // namespace ros
00292 
00293 namespace ros
00294 {
00295 namespace message_operations
00296 {
00297 
00298 template<class ContainerAllocator>
00299 struct Printer< ::asctec_msgs::GPSDataAdvanced_<ContainerAllocator> >
00300 {
00301   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::asctec_msgs::GPSDataAdvanced_<ContainerAllocator> & v) 
00302   {
00303     s << indent << "header: ";
00304 s << std::endl;
00305     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00306     s << indent << "latitude: ";
00307     Printer<int32_t>::stream(s, indent + "  ", v.latitude);
00308     s << indent << "longitude: ";
00309     Printer<int32_t>::stream(s, indent + "  ", v.longitude);
00310     s << indent << "height: ";
00311     Printer<int32_t>::stream(s, indent + "  ", v.height);
00312     s << indent << "speed_x: ";
00313     Printer<int32_t>::stream(s, indent + "  ", v.speed_x);
00314     s << indent << "speed_y: ";
00315     Printer<int32_t>::stream(s, indent + "  ", v.speed_y);
00316     s << indent << "heading: ";
00317     Printer<int32_t>::stream(s, indent + "  ", v.heading);
00318     s << indent << "horizontal_accuracy: ";
00319     Printer<int32_t>::stream(s, indent + "  ", v.horizontal_accuracy);
00320     s << indent << "vertical_accuracy: ";
00321     Printer<int32_t>::stream(s, indent + "  ", v.vertical_accuracy);
00322     s << indent << "speed_accuracy: ";
00323     Printer<int32_t>::stream(s, indent + "  ", v.speed_accuracy);
00324     s << indent << "numSV: ";
00325     Printer<int32_t>::stream(s, indent + "  ", v.numSV);
00326     s << indent << "status: ";
00327     Printer<int32_t>::stream(s, indent + "  ", v.status);
00328     s << indent << "latitude_best_estimate: ";
00329     Printer<int32_t>::stream(s, indent + "  ", v.latitude_best_estimate);
00330     s << indent << "longitude_best_estimate: ";
00331     Printer<int32_t>::stream(s, indent + "  ", v.longitude_best_estimate);
00332     s << indent << "speed_x_best_estimate: ";
00333     Printer<int32_t>::stream(s, indent + "  ", v.speed_x_best_estimate);
00334     s << indent << "speed_y_best_estimate: ";
00335     Printer<int32_t>::stream(s, indent + "  ", v.speed_y_best_estimate);
00336   }
00337 };
00338 
00339 
00340 } // namespace message_operations
00341 } // namespace ros
00342 
00343 #endif // ASCTEC_MSGS_MESSAGE_GPSDATAADVANCED_H
00344 


asctec_msgs
Author(s): William Morris, Ivan Dryanovski, Steven Bellens, Patrick Bouffard et al.
autogenerated on Tue Jan 7 2014 11:04:07