Go to the documentation of this file.00001
00002 #ifndef HOUSEHOLD_OBJECTS_DATABASE_MSGS_MESSAGE_DATABASEMODELPOSE_H
00003 #define HOUSEHOLD_OBJECTS_DATABASE_MSGS_MESSAGE_DATABASEMODELPOSE_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 "geometry_msgs/PoseStamped.h"
00018
00019 namespace household_objects_database_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct DatabaseModelPose_ {
00023 typedef DatabaseModelPose_<ContainerAllocator> Type;
00024
00025 DatabaseModelPose_()
00026 : model_id(0)
00027 , pose()
00028 , confidence(0.0)
00029 , detector_name()
00030 {
00031 }
00032
00033 DatabaseModelPose_(const ContainerAllocator& _alloc)
00034 : model_id(0)
00035 , pose(_alloc)
00036 , confidence(0.0)
00037 , detector_name(_alloc)
00038 {
00039 }
00040
00041 typedef int32_t _model_id_type;
00042 int32_t model_id;
00043
00044 typedef ::geometry_msgs::PoseStamped_<ContainerAllocator> _pose_type;
00045 ::geometry_msgs::PoseStamped_<ContainerAllocator> pose;
00046
00047 typedef float _confidence_type;
00048 float confidence;
00049
00050 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _detector_name_type;
00051 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > detector_name;
00052
00053
00054 typedef boost::shared_ptr< ::household_objects_database_msgs::DatabaseModelPose_<ContainerAllocator> > Ptr;
00055 typedef boost::shared_ptr< ::household_objects_database_msgs::DatabaseModelPose_<ContainerAllocator> const> ConstPtr;
00056 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00057 };
00058 typedef ::household_objects_database_msgs::DatabaseModelPose_<std::allocator<void> > DatabaseModelPose;
00059
00060 typedef boost::shared_ptr< ::household_objects_database_msgs::DatabaseModelPose> DatabaseModelPosePtr;
00061 typedef boost::shared_ptr< ::household_objects_database_msgs::DatabaseModelPose const> DatabaseModelPoseConstPtr;
00062
00063
00064 template<typename ContainerAllocator>
00065 std::ostream& operator<<(std::ostream& s, const ::household_objects_database_msgs::DatabaseModelPose_<ContainerAllocator> & v)
00066 {
00067 ros::message_operations::Printer< ::household_objects_database_msgs::DatabaseModelPose_<ContainerAllocator> >::stream(s, "", v);
00068 return s;}
00069
00070 }
00071
00072 namespace ros
00073 {
00074 namespace message_traits
00075 {
00076 template<class ContainerAllocator> struct IsMessage< ::household_objects_database_msgs::DatabaseModelPose_<ContainerAllocator> > : public TrueType {};
00077 template<class ContainerAllocator> struct IsMessage< ::household_objects_database_msgs::DatabaseModelPose_<ContainerAllocator> const> : public TrueType {};
00078 template<class ContainerAllocator>
00079 struct MD5Sum< ::household_objects_database_msgs::DatabaseModelPose_<ContainerAllocator> > {
00080 static const char* value()
00081 {
00082 return "b739e78b71454381fec36791b724ddfc";
00083 }
00084
00085 static const char* value(const ::household_objects_database_msgs::DatabaseModelPose_<ContainerAllocator> &) { return value(); }
00086 static const uint64_t static_value1 = 0xb739e78b71454381ULL;
00087 static const uint64_t static_value2 = 0xfec36791b724ddfcULL;
00088 };
00089
00090 template<class ContainerAllocator>
00091 struct DataType< ::household_objects_database_msgs::DatabaseModelPose_<ContainerAllocator> > {
00092 static const char* value()
00093 {
00094 return "household_objects_database_msgs/DatabaseModelPose";
00095 }
00096
00097 static const char* value(const ::household_objects_database_msgs::DatabaseModelPose_<ContainerAllocator> &) { return value(); }
00098 };
00099
00100 template<class ContainerAllocator>
00101 struct Definition< ::household_objects_database_msgs::DatabaseModelPose_<ContainerAllocator> > {
00102 static const char* value()
00103 {
00104 return "# Informs that a specific model from the Model Database has been \n\
00105 # identified at a certain location\n\
00106 \n\
00107 # the database id of the model\n\
00108 int32 model_id\n\
00109 \n\
00110 # the pose that it can be found in\n\
00111 geometry_msgs/PoseStamped pose\n\
00112 \n\
00113 # a measure of the confidence level in this detection result\n\
00114 float32 confidence\n\
00115 \n\
00116 # the name of the object detector that generated this detection result\n\
00117 string detector_name\n\
00118 \n\
00119 ================================================================================\n\
00120 MSG: geometry_msgs/PoseStamped\n\
00121 # A Pose with reference coordinate frame and timestamp\n\
00122 Header header\n\
00123 Pose pose\n\
00124 \n\
00125 ================================================================================\n\
00126 MSG: std_msgs/Header\n\
00127 # Standard metadata for higher-level stamped data types.\n\
00128 # This is generally used to communicate timestamped data \n\
00129 # in a particular coordinate frame.\n\
00130 # \n\
00131 # sequence ID: consecutively increasing ID \n\
00132 uint32 seq\n\
00133 #Two-integer timestamp that is expressed as:\n\
00134 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00135 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00136 # time-handling sugar is provided by the client library\n\
00137 time stamp\n\
00138 #Frame this data is associated with\n\
00139 # 0: no frame\n\
00140 # 1: global frame\n\
00141 string frame_id\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 ";
00166 }
00167
00168 static const char* value(const ::household_objects_database_msgs::DatabaseModelPose_<ContainerAllocator> &) { return value(); }
00169 };
00170
00171 }
00172 }
00173
00174 namespace ros
00175 {
00176 namespace serialization
00177 {
00178
00179 template<class ContainerAllocator> struct Serializer< ::household_objects_database_msgs::DatabaseModelPose_<ContainerAllocator> >
00180 {
00181 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00182 {
00183 stream.next(m.model_id);
00184 stream.next(m.pose);
00185 stream.next(m.confidence);
00186 stream.next(m.detector_name);
00187 }
00188
00189 ROS_DECLARE_ALLINONE_SERIALIZER;
00190 };
00191 }
00192 }
00193
00194 namespace ros
00195 {
00196 namespace message_operations
00197 {
00198
00199 template<class ContainerAllocator>
00200 struct Printer< ::household_objects_database_msgs::DatabaseModelPose_<ContainerAllocator> >
00201 {
00202 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::household_objects_database_msgs::DatabaseModelPose_<ContainerAllocator> & v)
00203 {
00204 s << indent << "model_id: ";
00205 Printer<int32_t>::stream(s, indent + " ", v.model_id);
00206 s << indent << "pose: ";
00207 s << std::endl;
00208 Printer< ::geometry_msgs::PoseStamped_<ContainerAllocator> >::stream(s, indent + " ", v.pose);
00209 s << indent << "confidence: ";
00210 Printer<float>::stream(s, indent + " ", v.confidence);
00211 s << indent << "detector_name: ";
00212 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.detector_name);
00213 }
00214 };
00215
00216
00217 }
00218 }
00219
00220 #endif // HOUSEHOLD_OBJECTS_DATABASE_MSGS_MESSAGE_DATABASEMODELPOSE_H
00221