Go to the documentation of this file.00001
00002 #ifndef IRI_NAV_MSGS_MESSAGE_POSEWITHCOVARIANCESTAMPEDARRAY_H
00003 #define IRI_NAV_MSGS_MESSAGE_POSEWITHCOVARIANCESTAMPEDARRAY_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/PoseWithCovariance.h"
00019
00020 namespace iri_nav_msgs
00021 {
00022 template <class ContainerAllocator>
00023 struct PoseWithCovarianceStampedArray_ {
00024 typedef PoseWithCovarianceStampedArray_<ContainerAllocator> Type;
00025
00026 PoseWithCovarianceStampedArray_()
00027 : header()
00028 , poses()
00029 {
00030 }
00031
00032 PoseWithCovarianceStampedArray_(const ContainerAllocator& _alloc)
00033 : header(_alloc)
00034 , poses(_alloc)
00035 {
00036 }
00037
00038 typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
00039 ::std_msgs::Header_<ContainerAllocator> header;
00040
00041 typedef std::vector< ::geometry_msgs::PoseWithCovariance_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::PoseWithCovariance_<ContainerAllocator> >::other > _poses_type;
00042 std::vector< ::geometry_msgs::PoseWithCovariance_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::PoseWithCovariance_<ContainerAllocator> >::other > poses;
00043
00044
00045 typedef boost::shared_ptr< ::iri_nav_msgs::PoseWithCovarianceStampedArray_<ContainerAllocator> > Ptr;
00046 typedef boost::shared_ptr< ::iri_nav_msgs::PoseWithCovarianceStampedArray_<ContainerAllocator> const> ConstPtr;
00047 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00048 };
00049 typedef ::iri_nav_msgs::PoseWithCovarianceStampedArray_<std::allocator<void> > PoseWithCovarianceStampedArray;
00050
00051 typedef boost::shared_ptr< ::iri_nav_msgs::PoseWithCovarianceStampedArray> PoseWithCovarianceStampedArrayPtr;
00052 typedef boost::shared_ptr< ::iri_nav_msgs::PoseWithCovarianceStampedArray const> PoseWithCovarianceStampedArrayConstPtr;
00053
00054
00055 template<typename ContainerAllocator>
00056 std::ostream& operator<<(std::ostream& s, const ::iri_nav_msgs::PoseWithCovarianceStampedArray_<ContainerAllocator> & v)
00057 {
00058 ros::message_operations::Printer< ::iri_nav_msgs::PoseWithCovarianceStampedArray_<ContainerAllocator> >::stream(s, "", v);
00059 return s;}
00060
00061 }
00062
00063 namespace ros
00064 {
00065 namespace message_traits
00066 {
00067 template<class ContainerAllocator> struct IsMessage< ::iri_nav_msgs::PoseWithCovarianceStampedArray_<ContainerAllocator> > : public TrueType {};
00068 template<class ContainerAllocator> struct IsMessage< ::iri_nav_msgs::PoseWithCovarianceStampedArray_<ContainerAllocator> const> : public TrueType {};
00069 template<class ContainerAllocator>
00070 struct MD5Sum< ::iri_nav_msgs::PoseWithCovarianceStampedArray_<ContainerAllocator> > {
00071 static const char* value()
00072 {
00073 return "9ae57d4912ee570d48570ab5b45b5942";
00074 }
00075
00076 static const char* value(const ::iri_nav_msgs::PoseWithCovarianceStampedArray_<ContainerAllocator> &) { return value(); }
00077 static const uint64_t static_value1 = 0x9ae57d4912ee570dULL;
00078 static const uint64_t static_value2 = 0x48570ab5b45b5942ULL;
00079 };
00080
00081 template<class ContainerAllocator>
00082 struct DataType< ::iri_nav_msgs::PoseWithCovarianceStampedArray_<ContainerAllocator> > {
00083 static const char* value()
00084 {
00085 return "iri_nav_msgs/PoseWithCovarianceStampedArray";
00086 }
00087
00088 static const char* value(const ::iri_nav_msgs::PoseWithCovarianceStampedArray_<ContainerAllocator> &) { return value(); }
00089 };
00090
00091 template<class ContainerAllocator>
00092 struct Definition< ::iri_nav_msgs::PoseWithCovarianceStampedArray_<ContainerAllocator> > {
00093 static const char* value()
00094 {
00095 return "#An array of poses with covariance with a header for global reference.\n\
00096 Header header\n\
00097 \n\
00098 geometry_msgs/PoseWithCovariance[] poses\n\
00099 \n\
00100 ================================================================================\n\
00101 MSG: std_msgs/Header\n\
00102 # Standard metadata for higher-level stamped data types.\n\
00103 # This is generally used to communicate timestamped data \n\
00104 # in a particular coordinate frame.\n\
00105 # \n\
00106 # sequence ID: consecutively increasing ID \n\
00107 uint32 seq\n\
00108 #Two-integer timestamp that is expressed as:\n\
00109 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00110 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00111 # time-handling sugar is provided by the client library\n\
00112 time stamp\n\
00113 #Frame this data is associated with\n\
00114 # 0: no frame\n\
00115 # 1: global frame\n\
00116 string frame_id\n\
00117 \n\
00118 ================================================================================\n\
00119 MSG: geometry_msgs/PoseWithCovariance\n\
00120 # This represents a pose in free space with uncertainty.\n\
00121 \n\
00122 Pose pose\n\
00123 \n\
00124 # Row-major representation of the 6x6 covariance matrix\n\
00125 # The orientation parameters use a fixed-axis representation.\n\
00126 # In order, the parameters are:\n\
00127 # (x, y, z, rotation about X axis, rotation about Y axis, rotation about Z axis)\n\
00128 float64[36] covariance\n\
00129 \n\
00130 ================================================================================\n\
00131 MSG: geometry_msgs/Pose\n\
00132 # A representation of pose in free space, composed of postion and orientation. \n\
00133 Point position\n\
00134 Quaternion orientation\n\
00135 \n\
00136 ================================================================================\n\
00137 MSG: geometry_msgs/Point\n\
00138 # This contains the position of a point in free space\n\
00139 float64 x\n\
00140 float64 y\n\
00141 float64 z\n\
00142 \n\
00143 ================================================================================\n\
00144 MSG: geometry_msgs/Quaternion\n\
00145 # This represents an orientation in free space in quaternion form.\n\
00146 \n\
00147 float64 x\n\
00148 float64 y\n\
00149 float64 z\n\
00150 float64 w\n\
00151 \n\
00152 ";
00153 }
00154
00155 static const char* value(const ::iri_nav_msgs::PoseWithCovarianceStampedArray_<ContainerAllocator> &) { return value(); }
00156 };
00157
00158 template<class ContainerAllocator> struct HasHeader< ::iri_nav_msgs::PoseWithCovarianceStampedArray_<ContainerAllocator> > : public TrueType {};
00159 template<class ContainerAllocator> struct HasHeader< const ::iri_nav_msgs::PoseWithCovarianceStampedArray_<ContainerAllocator> > : public TrueType {};
00160 }
00161 }
00162
00163 namespace ros
00164 {
00165 namespace serialization
00166 {
00167
00168 template<class ContainerAllocator> struct Serializer< ::iri_nav_msgs::PoseWithCovarianceStampedArray_<ContainerAllocator> >
00169 {
00170 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00171 {
00172 stream.next(m.header);
00173 stream.next(m.poses);
00174 }
00175
00176 ROS_DECLARE_ALLINONE_SERIALIZER;
00177 };
00178 }
00179 }
00180
00181 namespace ros
00182 {
00183 namespace message_operations
00184 {
00185
00186 template<class ContainerAllocator>
00187 struct Printer< ::iri_nav_msgs::PoseWithCovarianceStampedArray_<ContainerAllocator> >
00188 {
00189 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::iri_nav_msgs::PoseWithCovarianceStampedArray_<ContainerAllocator> & v)
00190 {
00191 s << indent << "header: ";
00192 s << std::endl;
00193 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header);
00194 s << indent << "poses[]" << std::endl;
00195 for (size_t i = 0; i < v.poses.size(); ++i)
00196 {
00197 s << indent << " poses[" << i << "]: ";
00198 s << std::endl;
00199 s << indent;
00200 Printer< ::geometry_msgs::PoseWithCovariance_<ContainerAllocator> >::stream(s, indent + " ", v.poses[i]);
00201 }
00202 }
00203 };
00204
00205
00206 }
00207 }
00208
00209 #endif // IRI_NAV_MSGS_MESSAGE_POSEWITHCOVARIANCESTAMPEDARRAY_H
00210