PositionWithCovarianceStamped.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/PositionWithCovarianceStamped.msg */
00002 #ifndef ASCTEC_HL_COMM_MESSAGE_POSITIONWITHCOVARIANCESTAMPED_H
00003 #define ASCTEC_HL_COMM_MESSAGE_POSITIONWITHCOVARIANCESTAMPED_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 PositionWithCovarianceStamped_ {
00024   typedef PositionWithCovarianceStamped_<ContainerAllocator> Type;
00025 
00026   PositionWithCovarianceStamped_()
00027   : header()
00028   , position()
00029   , covariance()
00030   {
00031     covariance.assign(0.0);
00032   }
00033 
00034   PositionWithCovarianceStamped_(const ContainerAllocator& _alloc)
00035   : header(_alloc)
00036   , position(_alloc)
00037   , covariance()
00038   {
00039     covariance.assign(0.0);
00040   }
00041 
00042   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00043    ::std_msgs::Header_<ContainerAllocator>  header;
00044 
00045   typedef  ::geometry_msgs::Point_<ContainerAllocator>  _position_type;
00046    ::geometry_msgs::Point_<ContainerAllocator>  position;
00047 
00048   typedef boost::array<double, 9>  _covariance_type;
00049   boost::array<double, 9>  covariance;
00050 
00051 
00052   typedef boost::shared_ptr< ::asctec_hl_comm::PositionWithCovarianceStamped_<ContainerAllocator> > Ptr;
00053   typedef boost::shared_ptr< ::asctec_hl_comm::PositionWithCovarianceStamped_<ContainerAllocator>  const> ConstPtr;
00054   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00055 }; // struct PositionWithCovarianceStamped
00056 typedef  ::asctec_hl_comm::PositionWithCovarianceStamped_<std::allocator<void> > PositionWithCovarianceStamped;
00057 
00058 typedef boost::shared_ptr< ::asctec_hl_comm::PositionWithCovarianceStamped> PositionWithCovarianceStampedPtr;
00059 typedef boost::shared_ptr< ::asctec_hl_comm::PositionWithCovarianceStamped const> PositionWithCovarianceStampedConstPtr;
00060 
00061 
00062 template<typename ContainerAllocator>
00063 std::ostream& operator<<(std::ostream& s, const  ::asctec_hl_comm::PositionWithCovarianceStamped_<ContainerAllocator> & v)
00064 {
00065   ros::message_operations::Printer< ::asctec_hl_comm::PositionWithCovarianceStamped_<ContainerAllocator> >::stream(s, "", v);
00066   return s;}
00067 
00068 } // namespace asctec_hl_comm
00069 
00070 namespace ros
00071 {
00072 namespace message_traits
00073 {
00074 template<class ContainerAllocator> struct IsMessage< ::asctec_hl_comm::PositionWithCovarianceStamped_<ContainerAllocator> > : public TrueType {};
00075 template<class ContainerAllocator> struct IsMessage< ::asctec_hl_comm::PositionWithCovarianceStamped_<ContainerAllocator>  const> : public TrueType {};
00076 template<class ContainerAllocator>
00077 struct MD5Sum< ::asctec_hl_comm::PositionWithCovarianceStamped_<ContainerAllocator> > {
00078   static const char* value() 
00079   {
00080     return "3128d09129e2da15dcfe14f5a9b5a902";
00081   }
00082 
00083   static const char* value(const  ::asctec_hl_comm::PositionWithCovarianceStamped_<ContainerAllocator> &) { return value(); } 
00084   static const uint64_t static_value1 = 0x3128d09129e2da15ULL;
00085   static const uint64_t static_value2 = 0xdcfe14f5a9b5a902ULL;
00086 };
00087 
00088 template<class ContainerAllocator>
00089 struct DataType< ::asctec_hl_comm::PositionWithCovarianceStamped_<ContainerAllocator> > {
00090   static const char* value() 
00091   {
00092     return "asctec_hl_comm/PositionWithCovarianceStamped";
00093   }
00094 
00095   static const char* value(const  ::asctec_hl_comm::PositionWithCovarianceStamped_<ContainerAllocator> &) { return value(); } 
00096 };
00097 
00098 template<class ContainerAllocator>
00099 struct Definition< ::asctec_hl_comm::PositionWithCovarianceStamped_<ContainerAllocator> > {
00100   static const char* value() 
00101   {
00102     return "Header header\n\
00103 geometry_msgs/Point position\n\
00104 float64[9] covariance\n\
00105 ================================================================================\n\
00106 MSG: std_msgs/Header\n\
00107 # Standard metadata for higher-level stamped data types.\n\
00108 # This is generally used to communicate timestamped data \n\
00109 # in a particular coordinate frame.\n\
00110 # \n\
00111 # sequence ID: consecutively increasing ID \n\
00112 uint32 seq\n\
00113 #Two-integer timestamp that is expressed as:\n\
00114 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00115 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00116 # time-handling sugar is provided by the client library\n\
00117 time stamp\n\
00118 #Frame this data is associated with\n\
00119 # 0: no frame\n\
00120 # 1: global frame\n\
00121 string frame_id\n\
00122 \n\
00123 ================================================================================\n\
00124 MSG: geometry_msgs/Point\n\
00125 # This contains the position of a point in free space\n\
00126 float64 x\n\
00127 float64 y\n\
00128 float64 z\n\
00129 \n\
00130 ";
00131   }
00132 
00133   static const char* value(const  ::asctec_hl_comm::PositionWithCovarianceStamped_<ContainerAllocator> &) { return value(); } 
00134 };
00135 
00136 template<class ContainerAllocator> struct HasHeader< ::asctec_hl_comm::PositionWithCovarianceStamped_<ContainerAllocator> > : public TrueType {};
00137 template<class ContainerAllocator> struct HasHeader< const ::asctec_hl_comm::PositionWithCovarianceStamped_<ContainerAllocator> > : public TrueType {};
00138 } // namespace message_traits
00139 } // namespace ros
00140 
00141 namespace ros
00142 {
00143 namespace serialization
00144 {
00145 
00146 template<class ContainerAllocator> struct Serializer< ::asctec_hl_comm::PositionWithCovarianceStamped_<ContainerAllocator> >
00147 {
00148   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00149   {
00150     stream.next(m.header);
00151     stream.next(m.position);
00152     stream.next(m.covariance);
00153   }
00154 
00155   ROS_DECLARE_ALLINONE_SERIALIZER;
00156 }; // struct PositionWithCovarianceStamped_
00157 } // namespace serialization
00158 } // namespace ros
00159 
00160 namespace ros
00161 {
00162 namespace message_operations
00163 {
00164 
00165 template<class ContainerAllocator>
00166 struct Printer< ::asctec_hl_comm::PositionWithCovarianceStamped_<ContainerAllocator> >
00167 {
00168   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::asctec_hl_comm::PositionWithCovarianceStamped_<ContainerAllocator> & v) 
00169   {
00170     s << indent << "header: ";
00171 s << std::endl;
00172     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00173     s << indent << "position: ";
00174 s << std::endl;
00175     Printer< ::geometry_msgs::Point_<ContainerAllocator> >::stream(s, indent + "  ", v.position);
00176     s << indent << "covariance[]" << std::endl;
00177     for (size_t i = 0; i < v.covariance.size(); ++i)
00178     {
00179       s << indent << "  covariance[" << i << "]: ";
00180       Printer<double>::stream(s, indent + "  ", v.covariance[i]);
00181     }
00182   }
00183 };
00184 
00185 
00186 } // namespace message_operations
00187 } // namespace ros
00188 
00189 #endif // ASCTEC_HL_COMM_MESSAGE_POSITIONWITHCOVARIANCESTAMPED_H
00190 


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