Object.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-hector_worldmodel/doc_stacks/2014-10-06_00-33-41.120387/hector_worldmodel/hector_worldmodel_msgs/msg/Object.msg */
00002 #ifndef HECTOR_WORLDMODEL_MSGS_MESSAGE_OBJECT_H
00003 #define HECTOR_WORLDMODEL_MSGS_MESSAGE_OBJECT_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/ObjectInfo.h"
00020 #include "hector_worldmodel_msgs/ObjectState.h"
00021 
00022 namespace hector_worldmodel_msgs
00023 {
00024 template <class ContainerAllocator>
00025 struct Object_ {
00026   typedef Object_<ContainerAllocator> Type;
00027 
00028   Object_()
00029   : header()
00030   , pose()
00031   , info()
00032   , state()
00033   {
00034   }
00035 
00036   Object_(const ContainerAllocator& _alloc)
00037   : header(_alloc)
00038   , pose(_alloc)
00039   , info(_alloc)
00040   , state(_alloc)
00041   {
00042   }
00043 
00044   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00045    ::std_msgs::Header_<ContainerAllocator>  header;
00046 
00047   typedef  ::geometry_msgs::PoseWithCovariance_<ContainerAllocator>  _pose_type;
00048    ::geometry_msgs::PoseWithCovariance_<ContainerAllocator>  pose;
00049 
00050   typedef  ::hector_worldmodel_msgs::ObjectInfo_<ContainerAllocator>  _info_type;
00051    ::hector_worldmodel_msgs::ObjectInfo_<ContainerAllocator>  info;
00052 
00053   typedef  ::hector_worldmodel_msgs::ObjectState_<ContainerAllocator>  _state_type;
00054    ::hector_worldmodel_msgs::ObjectState_<ContainerAllocator>  state;
00055 
00056 
00057   typedef boost::shared_ptr< ::hector_worldmodel_msgs::Object_<ContainerAllocator> > Ptr;
00058   typedef boost::shared_ptr< ::hector_worldmodel_msgs::Object_<ContainerAllocator>  const> ConstPtr;
00059   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00060 }; // struct Object
00061 typedef  ::hector_worldmodel_msgs::Object_<std::allocator<void> > Object;
00062 
00063 typedef boost::shared_ptr< ::hector_worldmodel_msgs::Object> ObjectPtr;
00064 typedef boost::shared_ptr< ::hector_worldmodel_msgs::Object const> ObjectConstPtr;
00065 
00066 
00067 template<typename ContainerAllocator>
00068 std::ostream& operator<<(std::ostream& s, const  ::hector_worldmodel_msgs::Object_<ContainerAllocator> & v)
00069 {
00070   ros::message_operations::Printer< ::hector_worldmodel_msgs::Object_<ContainerAllocator> >::stream(s, "", v);
00071   return s;}
00072 
00073 } // namespace hector_worldmodel_msgs
00074 
00075 namespace ros
00076 {
00077 namespace message_traits
00078 {
00079 template<class ContainerAllocator> struct IsMessage< ::hector_worldmodel_msgs::Object_<ContainerAllocator> > : public TrueType {};
00080 template<class ContainerAllocator> struct IsMessage< ::hector_worldmodel_msgs::Object_<ContainerAllocator>  const> : public TrueType {};
00081 template<class ContainerAllocator>
00082 struct MD5Sum< ::hector_worldmodel_msgs::Object_<ContainerAllocator> > {
00083   static const char* value() 
00084   {
00085     return "02dea96e80640703553490052f13918d";
00086   }
00087 
00088   static const char* value(const  ::hector_worldmodel_msgs::Object_<ContainerAllocator> &) { return value(); } 
00089   static const uint64_t static_value1 = 0x02dea96e80640703ULL;
00090   static const uint64_t static_value2 = 0x553490052f13918dULL;
00091 };
00092 
00093 template<class ContainerAllocator>
00094 struct DataType< ::hector_worldmodel_msgs::Object_<ContainerAllocator> > {
00095   static const char* value() 
00096   {
00097     return "hector_worldmodel_msgs/Object";
00098   }
00099 
00100   static const char* value(const  ::hector_worldmodel_msgs::Object_<ContainerAllocator> &) { return value(); } 
00101 };
00102 
00103 template<class ContainerAllocator>
00104 struct Definition< ::hector_worldmodel_msgs::Object_<ContainerAllocator> > {
00105   static const char* value() 
00106   {
00107     return "# hector_worldmodel_msgs/Object\n\
00108 # This message represents an estimate of an object's pose and identity.\n\
00109 \n\
00110 # The header.\n\
00111 #   stamp: Timestamp of last update.\n\
00112 #   frame_id: Coordinate frame, in which the pose is given\n\
00113 Header header\n\
00114 \n\
00115 # The pose\n\
00116 geometry_msgs/PoseWithCovariance pose\n\
00117 \n\
00118 # Further information about the object\n\
00119 ObjectInfo info\n\
00120 \n\
00121 # The tracked state of the object\n\
00122 ObjectState state\n\
00123 \n\
00124 ================================================================================\n\
00125 MSG: std_msgs/Header\n\
00126 # Standard metadata for higher-level stamped data types.\n\
00127 # This is generally used to communicate timestamped data \n\
00128 # in a particular coordinate frame.\n\
00129 # \n\
00130 # sequence ID: consecutively increasing ID \n\
00131 uint32 seq\n\
00132 #Two-integer timestamp that is expressed as:\n\
00133 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00134 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00135 # time-handling sugar is provided by the client library\n\
00136 time stamp\n\
00137 #Frame this data is associated with\n\
00138 # 0: no frame\n\
00139 # 1: global frame\n\
00140 string frame_id\n\
00141 \n\
00142 ================================================================================\n\
00143 MSG: geometry_msgs/PoseWithCovariance\n\
00144 # This represents a pose in free space with uncertainty.\n\
00145 \n\
00146 Pose pose\n\
00147 \n\
00148 # Row-major representation of the 6x6 covariance matrix\n\
00149 # The orientation parameters use a fixed-axis representation.\n\
00150 # In order, the parameters are:\n\
00151 # (x, y, z, rotation about X axis, rotation about Y axis, rotation about Z axis)\n\
00152 float64[36] covariance\n\
00153 \n\
00154 ================================================================================\n\
00155 MSG: geometry_msgs/Pose\n\
00156 # A representation of pose in free space, composed of postion and orientation. \n\
00157 Point position\n\
00158 Quaternion orientation\n\
00159 \n\
00160 ================================================================================\n\
00161 MSG: geometry_msgs/Point\n\
00162 # This contains the position of a point in free space\n\
00163 float64 x\n\
00164 float64 y\n\
00165 float64 z\n\
00166 \n\
00167 ================================================================================\n\
00168 MSG: geometry_msgs/Quaternion\n\
00169 # This represents an orientation in free space in quaternion form.\n\
00170 \n\
00171 float64 x\n\
00172 float64 y\n\
00173 float64 z\n\
00174 float64 w\n\
00175 \n\
00176 ================================================================================\n\
00177 MSG: hector_worldmodel_msgs/ObjectInfo\n\
00178 # hector_worldmodel_msgs/ObjectInfo\n\
00179 # This message contains information about the estimated class affiliation, object id and corresponding support\n\
00180 \n\
00181 # A string identifying the object's class (all objects of a class look the same)\n\
00182 string class_id\n\
00183 \n\
00184 # A string identifying the specific object\n\
00185 string object_id\n\
00186 \n\
00187 # A string that contains the name or a description of the specific object\n\
00188 string name\n\
00189 \n\
00190 # The support (degree of belief) of the object's presence given as log odd ratio\n\
00191 float32 support\n\
00192 \n\
00193 \n\
00194 ================================================================================\n\
00195 MSG: hector_worldmodel_msgs/ObjectState\n\
00196 # The state of an object estimate used to track\n\
00197 # states smaller than 0 disable all updates\n\
00198 \n\
00199 # Predefined states. Use states smaller than 0 or bigger than 63 for user defined states.\n\
00200 int8 UNKNOWN = 0\n\
00201 int8 PENDING = 1\n\
00202 int8 ACTIVE  = 2\n\
00203 int8 INACTIVE = 3\n\
00204 int8 CONFIRMED = -1\n\
00205 int8 DISCARDED = -2\n\
00206 int8 APPROACHING = -3\n\
00207 \n\
00208 int8 state\n\
00209 \n\
00210 ";
00211   }
00212 
00213   static const char* value(const  ::hector_worldmodel_msgs::Object_<ContainerAllocator> &) { return value(); } 
00214 };
00215 
00216 template<class ContainerAllocator> struct HasHeader< ::hector_worldmodel_msgs::Object_<ContainerAllocator> > : public TrueType {};
00217 template<class ContainerAllocator> struct HasHeader< const ::hector_worldmodel_msgs::Object_<ContainerAllocator> > : public TrueType {};
00218 } // namespace message_traits
00219 } // namespace ros
00220 
00221 namespace ros
00222 {
00223 namespace serialization
00224 {
00225 
00226 template<class ContainerAllocator> struct Serializer< ::hector_worldmodel_msgs::Object_<ContainerAllocator> >
00227 {
00228   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00229   {
00230     stream.next(m.header);
00231     stream.next(m.pose);
00232     stream.next(m.info);
00233     stream.next(m.state);
00234   }
00235 
00236   ROS_DECLARE_ALLINONE_SERIALIZER;
00237 }; // struct Object_
00238 } // namespace serialization
00239 } // namespace ros
00240 
00241 namespace ros
00242 {
00243 namespace message_operations
00244 {
00245 
00246 template<class ContainerAllocator>
00247 struct Printer< ::hector_worldmodel_msgs::Object_<ContainerAllocator> >
00248 {
00249   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::hector_worldmodel_msgs::Object_<ContainerAllocator> & v) 
00250   {
00251     s << indent << "header: ";
00252 s << std::endl;
00253     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00254     s << indent << "pose: ";
00255 s << std::endl;
00256     Printer< ::geometry_msgs::PoseWithCovariance_<ContainerAllocator> >::stream(s, indent + "  ", v.pose);
00257     s << indent << "info: ";
00258 s << std::endl;
00259     Printer< ::hector_worldmodel_msgs::ObjectInfo_<ContainerAllocator> >::stream(s, indent + "  ", v.info);
00260     s << indent << "state: ";
00261 s << std::endl;
00262     Printer< ::hector_worldmodel_msgs::ObjectState_<ContainerAllocator> >::stream(s, indent + "  ", v.state);
00263   }
00264 };
00265 
00266 
00267 } // namespace message_operations
00268 } // namespace ros
00269 
00270 #endif // HECTOR_WORLDMODEL_MSGS_MESSAGE_OBJECT_H
00271 


hector_worldmodel_msgs
Author(s): Johannes Meyer
autogenerated on Mon Oct 6 2014 00:36:27