$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-tu-darmstadt-ros-pkg/doc_stacks/2013-03-05_12-22-58.304137/hector_worldmodel/worldmodel_msgs/msg/PosePercept.msg */ 00002 #ifndef WORLDMODEL_MSGS_MESSAGE_POSEPERCEPT_H 00003 #define 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 "worldmodel_msgs/PerceptInfo.h" 00020 00021 namespace 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 ::worldmodel_msgs::PerceptInfo_<ContainerAllocator> _info_type; 00048 ::worldmodel_msgs::PerceptInfo_<ContainerAllocator> info; 00049 00050 00051 private: 00052 static const char* __s_getDataType_() { return "worldmodel_msgs/PosePercept"; } 00053 public: 00054 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00055 00056 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00057 00058 private: 00059 static const char* __s_getMD5Sum_() { return "3b0c987b9e39c7b12b9e71be97a0c021"; } 00060 public: 00061 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00062 00063 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00064 00065 private: 00066 static const char* __s_getMessageDefinition_() { return "# This message represents an observation of an object in a single image.\n\ 00067 \n\ 00068 # The header should equal the header of the corresponding image.\n\ 00069 Header header\n\ 00070 \n\ 00071 # The estimated pose of the object with its covariance\n\ 00072 geometry_msgs/PoseWithCovariance pose\n\ 00073 \n\ 00074 # Additional information about the percept\n\ 00075 worldmodel_msgs/PerceptInfo info\n\ 00076 \n\ 00077 ================================================================================\n\ 00078 MSG: std_msgs/Header\n\ 00079 # Standard metadata for higher-level stamped data types.\n\ 00080 # This is generally used to communicate timestamped data \n\ 00081 # in a particular coordinate frame.\n\ 00082 # \n\ 00083 # sequence ID: consecutively increasing ID \n\ 00084 uint32 seq\n\ 00085 #Two-integer timestamp that is expressed as:\n\ 00086 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00087 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00088 # time-handling sugar is provided by the client library\n\ 00089 time stamp\n\ 00090 #Frame this data is associated with\n\ 00091 # 0: no frame\n\ 00092 # 1: global frame\n\ 00093 string frame_id\n\ 00094 \n\ 00095 ================================================================================\n\ 00096 MSG: geometry_msgs/PoseWithCovariance\n\ 00097 # This represents a pose in free space with uncertainty.\n\ 00098 \n\ 00099 Pose pose\n\ 00100 \n\ 00101 # Row-major representation of the 6x6 covariance matrix\n\ 00102 # The orientation parameters use a fixed-axis representation.\n\ 00103 # In order, the parameters are:\n\ 00104 # (x, y, z, rotation about X axis, rotation about Y axis, rotation about Z axis)\n\ 00105 float64[36] covariance\n\ 00106 \n\ 00107 ================================================================================\n\ 00108 MSG: geometry_msgs/Pose\n\ 00109 # A representation of pose in free space, composed of postion and orientation. \n\ 00110 Point position\n\ 00111 Quaternion orientation\n\ 00112 \n\ 00113 ================================================================================\n\ 00114 MSG: geometry_msgs/Point\n\ 00115 # This contains the position of a point in free space\n\ 00116 float64 x\n\ 00117 float64 y\n\ 00118 float64 z\n\ 00119 \n\ 00120 ================================================================================\n\ 00121 MSG: geometry_msgs/Quaternion\n\ 00122 # This represents an orientation in free space in quaternion form.\n\ 00123 \n\ 00124 float64 x\n\ 00125 float64 y\n\ 00126 float64 z\n\ 00127 float64 w\n\ 00128 \n\ 00129 ================================================================================\n\ 00130 MSG: worldmodel_msgs/PerceptInfo\n\ 00131 # This message contains information about the estimated class and object identity \n\ 00132 \n\ 00133 # A string identifying the object's class (all objects of a class look the same)\n\ 00134 string class_id\n\ 00135 \n\ 00136 # The class association support of the observation\n\ 00137 # 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\ 00138 float32 class_support\n\ 00139 \n\ 00140 # A string identifying a specific object\n\ 00141 string object_id\n\ 00142 \n\ 00143 # The object association support of the observation\n\ 00144 # 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\ 00145 float32 object_support\n\ 00146 \n\ 00147 # A string that contains the name or a description of the specific object\n\ 00148 string name\n\ 00149 \n\ 00150 "; } 00151 public: 00152 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00153 00154 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00155 00156 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00157 { 00158 ros::serialization::OStream stream(write_ptr, 1000000000); 00159 ros::serialization::serialize(stream, header); 00160 ros::serialization::serialize(stream, pose); 00161 ros::serialization::serialize(stream, info); 00162 return stream.getData(); 00163 } 00164 00165 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00166 { 00167 ros::serialization::IStream stream(read_ptr, 1000000000); 00168 ros::serialization::deserialize(stream, header); 00169 ros::serialization::deserialize(stream, pose); 00170 ros::serialization::deserialize(stream, info); 00171 return stream.getData(); 00172 } 00173 00174 ROS_DEPRECATED virtual uint32_t serializationLength() const 00175 { 00176 uint32_t size = 0; 00177 size += ros::serialization::serializationLength(header); 00178 size += ros::serialization::serializationLength(pose); 00179 size += ros::serialization::serializationLength(info); 00180 return size; 00181 } 00182 00183 typedef boost::shared_ptr< ::worldmodel_msgs::PosePercept_<ContainerAllocator> > Ptr; 00184 typedef boost::shared_ptr< ::worldmodel_msgs::PosePercept_<ContainerAllocator> const> ConstPtr; 00185 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00186 }; // struct PosePercept 00187 typedef ::worldmodel_msgs::PosePercept_<std::allocator<void> > PosePercept; 00188 00189 typedef boost::shared_ptr< ::worldmodel_msgs::PosePercept> PosePerceptPtr; 00190 typedef boost::shared_ptr< ::worldmodel_msgs::PosePercept const> PosePerceptConstPtr; 00191 00192 00193 template<typename ContainerAllocator> 00194 std::ostream& operator<<(std::ostream& s, const ::worldmodel_msgs::PosePercept_<ContainerAllocator> & v) 00195 { 00196 ros::message_operations::Printer< ::worldmodel_msgs::PosePercept_<ContainerAllocator> >::stream(s, "", v); 00197 return s;} 00198 00199 } // namespace worldmodel_msgs 00200 00201 namespace ros 00202 { 00203 namespace message_traits 00204 { 00205 template<class ContainerAllocator> struct IsMessage< ::worldmodel_msgs::PosePercept_<ContainerAllocator> > : public TrueType {}; 00206 template<class ContainerAllocator> struct IsMessage< ::worldmodel_msgs::PosePercept_<ContainerAllocator> const> : public TrueType {}; 00207 template<class ContainerAllocator> 00208 struct MD5Sum< ::worldmodel_msgs::PosePercept_<ContainerAllocator> > { 00209 static const char* value() 00210 { 00211 return "3b0c987b9e39c7b12b9e71be97a0c021"; 00212 } 00213 00214 static const char* value(const ::worldmodel_msgs::PosePercept_<ContainerAllocator> &) { return value(); } 00215 static const uint64_t static_value1 = 0x3b0c987b9e39c7b1ULL; 00216 static const uint64_t static_value2 = 0x2b9e71be97a0c021ULL; 00217 }; 00218 00219 template<class ContainerAllocator> 00220 struct DataType< ::worldmodel_msgs::PosePercept_<ContainerAllocator> > { 00221 static const char* value() 00222 { 00223 return "worldmodel_msgs/PosePercept"; 00224 } 00225 00226 static const char* value(const ::worldmodel_msgs::PosePercept_<ContainerAllocator> &) { return value(); } 00227 }; 00228 00229 template<class ContainerAllocator> 00230 struct Definition< ::worldmodel_msgs::PosePercept_<ContainerAllocator> > { 00231 static const char* value() 00232 { 00233 return "# This message represents an observation of an object in a single image.\n\ 00234 \n\ 00235 # The header should equal the header of the corresponding image.\n\ 00236 Header header\n\ 00237 \n\ 00238 # The estimated pose of the object with its covariance\n\ 00239 geometry_msgs/PoseWithCovariance pose\n\ 00240 \n\ 00241 # Additional information about the percept\n\ 00242 worldmodel_msgs/PerceptInfo info\n\ 00243 \n\ 00244 ================================================================================\n\ 00245 MSG: std_msgs/Header\n\ 00246 # Standard metadata for higher-level stamped data types.\n\ 00247 # This is generally used to communicate timestamped data \n\ 00248 # in a particular coordinate frame.\n\ 00249 # \n\ 00250 # sequence ID: consecutively increasing ID \n\ 00251 uint32 seq\n\ 00252 #Two-integer timestamp that is expressed as:\n\ 00253 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00254 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00255 # time-handling sugar is provided by the client library\n\ 00256 time stamp\n\ 00257 #Frame this data is associated with\n\ 00258 # 0: no frame\n\ 00259 # 1: global frame\n\ 00260 string frame_id\n\ 00261 \n\ 00262 ================================================================================\n\ 00263 MSG: geometry_msgs/PoseWithCovariance\n\ 00264 # This represents a pose in free space with uncertainty.\n\ 00265 \n\ 00266 Pose pose\n\ 00267 \n\ 00268 # Row-major representation of the 6x6 covariance matrix\n\ 00269 # The orientation parameters use a fixed-axis representation.\n\ 00270 # In order, the parameters are:\n\ 00271 # (x, y, z, rotation about X axis, rotation about Y axis, rotation about Z axis)\n\ 00272 float64[36] covariance\n\ 00273 \n\ 00274 ================================================================================\n\ 00275 MSG: geometry_msgs/Pose\n\ 00276 # A representation of pose in free space, composed of postion and orientation. \n\ 00277 Point position\n\ 00278 Quaternion orientation\n\ 00279 \n\ 00280 ================================================================================\n\ 00281 MSG: geometry_msgs/Point\n\ 00282 # This contains the position of a point in free space\n\ 00283 float64 x\n\ 00284 float64 y\n\ 00285 float64 z\n\ 00286 \n\ 00287 ================================================================================\n\ 00288 MSG: geometry_msgs/Quaternion\n\ 00289 # This represents an orientation in free space in quaternion form.\n\ 00290 \n\ 00291 float64 x\n\ 00292 float64 y\n\ 00293 float64 z\n\ 00294 float64 w\n\ 00295 \n\ 00296 ================================================================================\n\ 00297 MSG: worldmodel_msgs/PerceptInfo\n\ 00298 # This message contains information about the estimated class and object identity \n\ 00299 \n\ 00300 # A string identifying the object's class (all objects of a class look the same)\n\ 00301 string class_id\n\ 00302 \n\ 00303 # The class association support of the observation\n\ 00304 # 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\ 00305 float32 class_support\n\ 00306 \n\ 00307 # A string identifying a specific object\n\ 00308 string object_id\n\ 00309 \n\ 00310 # The object association support of the observation\n\ 00311 # 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\ 00312 float32 object_support\n\ 00313 \n\ 00314 # A string that contains the name or a description of the specific object\n\ 00315 string name\n\ 00316 \n\ 00317 "; 00318 } 00319 00320 static const char* value(const ::worldmodel_msgs::PosePercept_<ContainerAllocator> &) { return value(); } 00321 }; 00322 00323 template<class ContainerAllocator> struct HasHeader< ::worldmodel_msgs::PosePercept_<ContainerAllocator> > : public TrueType {}; 00324 template<class ContainerAllocator> struct HasHeader< const ::worldmodel_msgs::PosePercept_<ContainerAllocator> > : public TrueType {}; 00325 } // namespace message_traits 00326 } // namespace ros 00327 00328 namespace ros 00329 { 00330 namespace serialization 00331 { 00332 00333 template<class ContainerAllocator> struct Serializer< ::worldmodel_msgs::PosePercept_<ContainerAllocator> > 00334 { 00335 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00336 { 00337 stream.next(m.header); 00338 stream.next(m.pose); 00339 stream.next(m.info); 00340 } 00341 00342 ROS_DECLARE_ALLINONE_SERIALIZER; 00343 }; // struct PosePercept_ 00344 } // namespace serialization 00345 } // namespace ros 00346 00347 namespace ros 00348 { 00349 namespace message_operations 00350 { 00351 00352 template<class ContainerAllocator> 00353 struct Printer< ::worldmodel_msgs::PosePercept_<ContainerAllocator> > 00354 { 00355 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::worldmodel_msgs::PosePercept_<ContainerAllocator> & v) 00356 { 00357 s << indent << "header: "; 00358 s << std::endl; 00359 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header); 00360 s << indent << "pose: "; 00361 s << std::endl; 00362 Printer< ::geometry_msgs::PoseWithCovariance_<ContainerAllocator> >::stream(s, indent + " ", v.pose); 00363 s << indent << "info: "; 00364 s << std::endl; 00365 Printer< ::worldmodel_msgs::PerceptInfo_<ContainerAllocator> >::stream(s, indent + " ", v.info); 00366 } 00367 }; 00368 00369 00370 } // namespace message_operations 00371 } // namespace ros 00372 00373 #endif // WORLDMODEL_MSGS_MESSAGE_POSEPERCEPT_H 00374