GpsCustomCartesian.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-asctec_mav_framework/doc_stacks/2014-01-07_11-03-25.838445/asctec_mav_framework/asctec_hl_comm/msg/GpsCustomCartesian.msg */
00002 #ifndef ASCTEC_HL_COMM_MESSAGE_GPSCUSTOMCARTESIAN_H
00003 #define ASCTEC_HL_COMM_MESSAGE_GPSCUSTOMCARTESIAN_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 #include "geometry_msgs/Point.h"
00019 
00020 namespace asctec_hl_comm
00021 {
00022 template <class ContainerAllocator>
00023 struct GpsCustomCartesian_ {
00024   typedef GpsCustomCartesian_<ContainerAllocator> Type;
00025 
00026   GpsCustomCartesian_()
00027   : header()
00028   , position()
00029   , position_covariance()
00030   , velocity_x(0.0)
00031   , velocity_y(0.0)
00032   , velocity_covariance()
00033   {
00034     position_covariance.assign(0.0);
00035     velocity_covariance.assign(0.0);
00036   }
00037 
00038   GpsCustomCartesian_(const ContainerAllocator& _alloc)
00039   : header(_alloc)
00040   , position(_alloc)
00041   , position_covariance()
00042   , velocity_x(0.0)
00043   , velocity_y(0.0)
00044   , velocity_covariance()
00045   {
00046     position_covariance.assign(0.0);
00047     velocity_covariance.assign(0.0);
00048   }
00049 
00050   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00051    ::std_msgs::Header_<ContainerAllocator>  header;
00052 
00053   typedef  ::geometry_msgs::Point_<ContainerAllocator>  _position_type;
00054    ::geometry_msgs::Point_<ContainerAllocator>  position;
00055 
00056   typedef boost::array<double, 9>  _position_covariance_type;
00057   boost::array<double, 9>  position_covariance;
00058 
00059   typedef double _velocity_x_type;
00060   double velocity_x;
00061 
00062   typedef double _velocity_y_type;
00063   double velocity_y;
00064 
00065   typedef boost::array<double, 4>  _velocity_covariance_type;
00066   boost::array<double, 4>  velocity_covariance;
00067 
00068 
00069   typedef boost::shared_ptr< ::asctec_hl_comm::GpsCustomCartesian_<ContainerAllocator> > Ptr;
00070   typedef boost::shared_ptr< ::asctec_hl_comm::GpsCustomCartesian_<ContainerAllocator>  const> ConstPtr;
00071   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00072 }; // struct GpsCustomCartesian
00073 typedef  ::asctec_hl_comm::GpsCustomCartesian_<std::allocator<void> > GpsCustomCartesian;
00074 
00075 typedef boost::shared_ptr< ::asctec_hl_comm::GpsCustomCartesian> GpsCustomCartesianPtr;
00076 typedef boost::shared_ptr< ::asctec_hl_comm::GpsCustomCartesian const> GpsCustomCartesianConstPtr;
00077 
00078 
00079 template<typename ContainerAllocator>
00080 std::ostream& operator<<(std::ostream& s, const  ::asctec_hl_comm::GpsCustomCartesian_<ContainerAllocator> & v)
00081 {
00082   ros::message_operations::Printer< ::asctec_hl_comm::GpsCustomCartesian_<ContainerAllocator> >::stream(s, "", v);
00083   return s;}
00084 
00085 } // namespace asctec_hl_comm
00086 
00087 namespace ros
00088 {
00089 namespace message_traits
00090 {
00091 template<class ContainerAllocator> struct IsMessage< ::asctec_hl_comm::GpsCustomCartesian_<ContainerAllocator> > : public TrueType {};
00092 template<class ContainerAllocator> struct IsMessage< ::asctec_hl_comm::GpsCustomCartesian_<ContainerAllocator>  const> : public TrueType {};
00093 template<class ContainerAllocator>
00094 struct MD5Sum< ::asctec_hl_comm::GpsCustomCartesian_<ContainerAllocator> > {
00095   static const char* value() 
00096   {
00097     return "5d2c0118ba9eb587c756024a82d4d4a6";
00098   }
00099 
00100   static const char* value(const  ::asctec_hl_comm::GpsCustomCartesian_<ContainerAllocator> &) { return value(); } 
00101   static const uint64_t static_value1 = 0x5d2c0118ba9eb587ULL;
00102   static const uint64_t static_value2 = 0xc756024a82d4d4a6ULL;
00103 };
00104 
00105 template<class ContainerAllocator>
00106 struct DataType< ::asctec_hl_comm::GpsCustomCartesian_<ContainerAllocator> > {
00107   static const char* value() 
00108   {
00109     return "asctec_hl_comm/GpsCustomCartesian";
00110   }
00111 
00112   static const char* value(const  ::asctec_hl_comm::GpsCustomCartesian_<ContainerAllocator> &) { return value(); } 
00113 };
00114 
00115 template<class ContainerAllocator>
00116 struct Definition< ::asctec_hl_comm::GpsCustomCartesian_<ContainerAllocator> > {
00117   static const char* value() 
00118   {
00119     return "\n\
00120 Header header\n\
00121 \n\
00122 geometry_msgs/Point   position\n\
00123 float64[9]            position_covariance\n\
00124 float64               velocity_x\n\
00125 float64               velocity_y\n\
00126 float64[4]            velocity_covariance\n\
00127 \n\
00128 ================================================================================\n\
00129 MSG: std_msgs/Header\n\
00130 # Standard metadata for higher-level stamped data types.\n\
00131 # This is generally used to communicate timestamped data \n\
00132 # in a particular coordinate frame.\n\
00133 # \n\
00134 # sequence ID: consecutively increasing ID \n\
00135 uint32 seq\n\
00136 #Two-integer timestamp that is expressed as:\n\
00137 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00138 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00139 # time-handling sugar is provided by the client library\n\
00140 time stamp\n\
00141 #Frame this data is associated with\n\
00142 # 0: no frame\n\
00143 # 1: global frame\n\
00144 string frame_id\n\
00145 \n\
00146 ================================================================================\n\
00147 MSG: geometry_msgs/Point\n\
00148 # This contains the position of a point in free space\n\
00149 float64 x\n\
00150 float64 y\n\
00151 float64 z\n\
00152 \n\
00153 ";
00154   }
00155 
00156   static const char* value(const  ::asctec_hl_comm::GpsCustomCartesian_<ContainerAllocator> &) { return value(); } 
00157 };
00158 
00159 template<class ContainerAllocator> struct HasHeader< ::asctec_hl_comm::GpsCustomCartesian_<ContainerAllocator> > : public TrueType {};
00160 template<class ContainerAllocator> struct HasHeader< const ::asctec_hl_comm::GpsCustomCartesian_<ContainerAllocator> > : public TrueType {};
00161 } // namespace message_traits
00162 } // namespace ros
00163 
00164 namespace ros
00165 {
00166 namespace serialization
00167 {
00168 
00169 template<class ContainerAllocator> struct Serializer< ::asctec_hl_comm::GpsCustomCartesian_<ContainerAllocator> >
00170 {
00171   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00172   {
00173     stream.next(m.header);
00174     stream.next(m.position);
00175     stream.next(m.position_covariance);
00176     stream.next(m.velocity_x);
00177     stream.next(m.velocity_y);
00178     stream.next(m.velocity_covariance);
00179   }
00180 
00181   ROS_DECLARE_ALLINONE_SERIALIZER;
00182 }; // struct GpsCustomCartesian_
00183 } // namespace serialization
00184 } // namespace ros
00185 
00186 namespace ros
00187 {
00188 namespace message_operations
00189 {
00190 
00191 template<class ContainerAllocator>
00192 struct Printer< ::asctec_hl_comm::GpsCustomCartesian_<ContainerAllocator> >
00193 {
00194   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::asctec_hl_comm::GpsCustomCartesian_<ContainerAllocator> & v) 
00195   {
00196     s << indent << "header: ";
00197 s << std::endl;
00198     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00199     s << indent << "position: ";
00200 s << std::endl;
00201     Printer< ::geometry_msgs::Point_<ContainerAllocator> >::stream(s, indent + "  ", v.position);
00202     s << indent << "position_covariance[]" << std::endl;
00203     for (size_t i = 0; i < v.position_covariance.size(); ++i)
00204     {
00205       s << indent << "  position_covariance[" << i << "]: ";
00206       Printer<double>::stream(s, indent + "  ", v.position_covariance[i]);
00207     }
00208     s << indent << "velocity_x: ";
00209     Printer<double>::stream(s, indent + "  ", v.velocity_x);
00210     s << indent << "velocity_y: ";
00211     Printer<double>::stream(s, indent + "  ", v.velocity_y);
00212     s << indent << "velocity_covariance[]" << std::endl;
00213     for (size_t i = 0; i < v.velocity_covariance.size(); ++i)
00214     {
00215       s << indent << "  velocity_covariance[" << i << "]: ";
00216       Printer<double>::stream(s, indent + "  ", v.velocity_covariance[i]);
00217     }
00218   }
00219 };
00220 
00221 
00222 } // namespace message_operations
00223 } // namespace ros
00224 
00225 #endif // ASCTEC_HL_COMM_MESSAGE_GPSCUSTOMCARTESIAN_H
00226 


asctec_hl_comm
Author(s): Markus Achtelik, Michael Achtelik, Stephan Weiss, Laurent Kneip
autogenerated on Tue Jan 7 2014 11:05:05