Go to the documentation of this file.00001
00002 #ifndef HECTOR_WORLDMODEL_MSGS_MESSAGE_POSEPERCEPT_H
00003 #define HECTOR_WORLDMODEL_MSGS_MESSAGE_POSEPERCEPT_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 #include "hector_worldmodel_msgs/PerceptInfo.h"
00020
00021 namespace hector_worldmodel_msgs
00022 {
00023 template <class ContainerAllocator>
00024 struct PosePercept_ {
00025 typedef PosePercept_<ContainerAllocator> Type;
00026
00027 PosePercept_()
00028 : header()
00029 , pose()
00030 , info()
00031 {
00032 }
00033
00034 PosePercept_(const ContainerAllocator& _alloc)
00035 : header(_alloc)
00036 , pose(_alloc)
00037 , info(_alloc)
00038 {
00039 }
00040
00041 typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
00042 ::std_msgs::Header_<ContainerAllocator> header;
00043
00044 typedef ::geometry_msgs::PoseWithCovariance_<ContainerAllocator> _pose_type;
00045 ::geometry_msgs::PoseWithCovariance_<ContainerAllocator> pose;
00046
00047 typedef ::hector_worldmodel_msgs::PerceptInfo_<ContainerAllocator> _info_type;
00048 ::hector_worldmodel_msgs::PerceptInfo_<ContainerAllocator> info;
00049
00050
00051 typedef boost::shared_ptr< ::hector_worldmodel_msgs::PosePercept_<ContainerAllocator> > Ptr;
00052 typedef boost::shared_ptr< ::hector_worldmodel_msgs::PosePercept_<ContainerAllocator> const> ConstPtr;
00053 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00054 };
00055 typedef ::hector_worldmodel_msgs::PosePercept_<std::allocator<void> > PosePercept;
00056
00057 typedef boost::shared_ptr< ::hector_worldmodel_msgs::PosePercept> PosePerceptPtr;
00058 typedef boost::shared_ptr< ::hector_worldmodel_msgs::PosePercept const> PosePerceptConstPtr;
00059
00060
00061 template<typename ContainerAllocator>
00062 std::ostream& operator<<(std::ostream& s, const ::hector_worldmodel_msgs::PosePercept_<ContainerAllocator> & v)
00063 {
00064 ros::message_operations::Printer< ::hector_worldmodel_msgs::PosePercept_<ContainerAllocator> >::stream(s, "", v);
00065 return s;}
00066
00067 }
00068
00069 namespace ros
00070 {
00071 namespace message_traits
00072 {
00073 template<class ContainerAllocator> struct IsMessage< ::hector_worldmodel_msgs::PosePercept_<ContainerAllocator> > : public TrueType {};
00074 template<class ContainerAllocator> struct IsMessage< ::hector_worldmodel_msgs::PosePercept_<ContainerAllocator> const> : public TrueType {};
00075 template<class ContainerAllocator>
00076 struct MD5Sum< ::hector_worldmodel_msgs::PosePercept_<ContainerAllocator> > {
00077 static const char* value()
00078 {
00079 return "3b0c987b9e39c7b12b9e71be97a0c021";
00080 }
00081
00082 static const char* value(const ::hector_worldmodel_msgs::PosePercept_<ContainerAllocator> &) { return value(); }
00083 static const uint64_t static_value1 = 0x3b0c987b9e39c7b1ULL;
00084 static const uint64_t static_value2 = 0x2b9e71be97a0c021ULL;
00085 };
00086
00087 template<class ContainerAllocator>
00088 struct DataType< ::hector_worldmodel_msgs::PosePercept_<ContainerAllocator> > {
00089 static const char* value()
00090 {
00091 return "hector_worldmodel_msgs/PosePercept";
00092 }
00093
00094 static const char* value(const ::hector_worldmodel_msgs::PosePercept_<ContainerAllocator> &) { return value(); }
00095 };
00096
00097 template<class ContainerAllocator>
00098 struct Definition< ::hector_worldmodel_msgs::PosePercept_<ContainerAllocator> > {
00099 static const char* value()
00100 {
00101 return "# hector_worldmodel_msgs/PosePercept\n\
00102 # This message represents an observation of an object in a single image.\n\
00103 \n\
00104 # The header should equal the header of the corresponding image.\n\
00105 Header header\n\
00106 \n\
00107 # The estimated pose of the object with its covariance\n\
00108 geometry_msgs/PoseWithCovariance pose\n\
00109 \n\
00110 # Additional information about the percept\n\
00111 PerceptInfo info\n\
00112 \n\
00113 ================================================================================\n\
00114 MSG: std_msgs/Header\n\
00115 # Standard metadata for higher-level stamped data types.\n\
00116 # This is generally used to communicate timestamped data \n\
00117 # in a particular coordinate frame.\n\
00118 # \n\
00119 # sequence ID: consecutively increasing ID \n\
00120 uint32 seq\n\
00121 #Two-integer timestamp that is expressed as:\n\
00122 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00123 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00124 # time-handling sugar is provided by the client library\n\
00125 time stamp\n\
00126 #Frame this data is associated with\n\
00127 # 0: no frame\n\
00128 # 1: global frame\n\
00129 string frame_id\n\
00130 \n\
00131 ================================================================================\n\
00132 MSG: geometry_msgs/PoseWithCovariance\n\
00133 # This represents a pose in free space with uncertainty.\n\
00134 \n\
00135 Pose pose\n\
00136 \n\
00137 # Row-major representation of the 6x6 covariance matrix\n\
00138 # The orientation parameters use a fixed-axis representation.\n\
00139 # In order, the parameters are:\n\
00140 # (x, y, z, rotation about X axis, rotation about Y axis, rotation about Z axis)\n\
00141 float64[36] covariance\n\
00142 \n\
00143 ================================================================================\n\
00144 MSG: geometry_msgs/Pose\n\
00145 # A representation of pose in free space, composed of postion and orientation. \n\
00146 Point position\n\
00147 Quaternion orientation\n\
00148 \n\
00149 ================================================================================\n\
00150 MSG: geometry_msgs/Point\n\
00151 # This contains the position of a point in free space\n\
00152 float64 x\n\
00153 float64 y\n\
00154 float64 z\n\
00155 \n\
00156 ================================================================================\n\
00157 MSG: geometry_msgs/Quaternion\n\
00158 # This represents an orientation in free space in quaternion form.\n\
00159 \n\
00160 float64 x\n\
00161 float64 y\n\
00162 float64 z\n\
00163 float64 w\n\
00164 \n\
00165 ================================================================================\n\
00166 MSG: hector_worldmodel_msgs/PerceptInfo\n\
00167 # hector_worldmodel_msgs/PerceptInfo\n\
00168 # This message contains information about the estimated class and object identity \n\
00169 \n\
00170 # A string identifying the object's class (all objects of a class look the same)\n\
00171 string class_id\n\
00172 \n\
00173 # The class association support of the observation\n\
00174 # The support is the log odd likelihood ratio given by log(p(y/observation y belongs to object of class class_id) / p(y/observation y is a false positive))\n\
00175 float32 class_support\n\
00176 \n\
00177 # A string identifying a specific object\n\
00178 string object_id\n\
00179 \n\
00180 # The object association support of the observation\n\
00181 # The support is the log odd likelihood ratio given by log(p(observation belongs to object object_id) / p(observation is false positive or belongs to another object))\n\
00182 float32 object_support\n\
00183 \n\
00184 # A string that contains the name or a description of the specific object\n\
00185 string name\n\
00186 \n\
00187 ";
00188 }
00189
00190 static const char* value(const ::hector_worldmodel_msgs::PosePercept_<ContainerAllocator> &) { return value(); }
00191 };
00192
00193 template<class ContainerAllocator> struct HasHeader< ::hector_worldmodel_msgs::PosePercept_<ContainerAllocator> > : public TrueType {};
00194 template<class ContainerAllocator> struct HasHeader< const ::hector_worldmodel_msgs::PosePercept_<ContainerAllocator> > : public TrueType {};
00195 }
00196 }
00197
00198 namespace ros
00199 {
00200 namespace serialization
00201 {
00202
00203 template<class ContainerAllocator> struct Serializer< ::hector_worldmodel_msgs::PosePercept_<ContainerAllocator> >
00204 {
00205 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00206 {
00207 stream.next(m.header);
00208 stream.next(m.pose);
00209 stream.next(m.info);
00210 }
00211
00212 ROS_DECLARE_ALLINONE_SERIALIZER;
00213 };
00214 }
00215 }
00216
00217 namespace ros
00218 {
00219 namespace message_operations
00220 {
00221
00222 template<class ContainerAllocator>
00223 struct Printer< ::hector_worldmodel_msgs::PosePercept_<ContainerAllocator> >
00224 {
00225 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::hector_worldmodel_msgs::PosePercept_<ContainerAllocator> & v)
00226 {
00227 s << indent << "header: ";
00228 s << std::endl;
00229 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header);
00230 s << indent << "pose: ";
00231 s << std::endl;
00232 Printer< ::geometry_msgs::PoseWithCovariance_<ContainerAllocator> >::stream(s, indent + " ", v.pose);
00233 s << indent << "info: ";
00234 s << std::endl;
00235 Printer< ::hector_worldmodel_msgs::PerceptInfo_<ContainerAllocator> >::stream(s, indent + " ", v.info);
00236 }
00237 };
00238
00239
00240 }
00241 }
00242
00243 #endif // HECTOR_WORLDMODEL_MSGS_MESSAGE_POSEPERCEPT_H
00244