Table.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-pr2_object_manipulation/doc_stacks/2014-10-06_11-30-38.833395/pr2_object_manipulation/perception/tabletop_object_detector/msg/Table.msg */
00002 #ifndef TABLETOP_OBJECT_DETECTOR_MESSAGE_TABLE_H
00003 #define TABLETOP_OBJECT_DETECTOR_MESSAGE_TABLE_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 #include "shape_msgs/Mesh.h"
00019 
00020 namespace tabletop_object_detector
00021 {
00022 template <class ContainerAllocator>
00023 struct Table_ {
00024   typedef Table_<ContainerAllocator> Type;
00025 
00026   Table_()
00027   : pose()
00028   , x_min(0.0)
00029   , x_max(0.0)
00030   , y_min(0.0)
00031   , y_max(0.0)
00032   , convex_hull()
00033   {
00034   }
00035 
00036   Table_(const ContainerAllocator& _alloc)
00037   : pose(_alloc)
00038   , x_min(0.0)
00039   , x_max(0.0)
00040   , y_min(0.0)
00041   , y_max(0.0)
00042   , convex_hull(_alloc)
00043   {
00044   }
00045 
00046   typedef  ::geometry_msgs::PoseStamped_<ContainerAllocator>  _pose_type;
00047    ::geometry_msgs::PoseStamped_<ContainerAllocator>  pose;
00048 
00049   typedef float _x_min_type;
00050   float x_min;
00051 
00052   typedef float _x_max_type;
00053   float x_max;
00054 
00055   typedef float _y_min_type;
00056   float y_min;
00057 
00058   typedef float _y_max_type;
00059   float y_max;
00060 
00061   typedef  ::shape_msgs::Mesh_<ContainerAllocator>  _convex_hull_type;
00062    ::shape_msgs::Mesh_<ContainerAllocator>  convex_hull;
00063 
00064 
00065   typedef boost::shared_ptr< ::tabletop_object_detector::Table_<ContainerAllocator> > Ptr;
00066   typedef boost::shared_ptr< ::tabletop_object_detector::Table_<ContainerAllocator>  const> ConstPtr;
00067   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00068 }; // struct Table
00069 typedef  ::tabletop_object_detector::Table_<std::allocator<void> > Table;
00070 
00071 typedef boost::shared_ptr< ::tabletop_object_detector::Table> TablePtr;
00072 typedef boost::shared_ptr< ::tabletop_object_detector::Table const> TableConstPtr;
00073 
00074 
00075 template<typename ContainerAllocator>
00076 std::ostream& operator<<(std::ostream& s, const  ::tabletop_object_detector::Table_<ContainerAllocator> & v)
00077 {
00078   ros::message_operations::Printer< ::tabletop_object_detector::Table_<ContainerAllocator> >::stream(s, "", v);
00079   return s;}
00080 
00081 } // namespace tabletop_object_detector
00082 
00083 namespace ros
00084 {
00085 namespace message_traits
00086 {
00087 template<class ContainerAllocator> struct IsMessage< ::tabletop_object_detector::Table_<ContainerAllocator> > : public TrueType {};
00088 template<class ContainerAllocator> struct IsMessage< ::tabletop_object_detector::Table_<ContainerAllocator>  const> : public TrueType {};
00089 template<class ContainerAllocator>
00090 struct MD5Sum< ::tabletop_object_detector::Table_<ContainerAllocator> > {
00091   static const char* value() 
00092   {
00093     return "78bc15ede71d2a033c05b33bb2a65927";
00094   }
00095 
00096   static const char* value(const  ::tabletop_object_detector::Table_<ContainerAllocator> &) { return value(); } 
00097   static const uint64_t static_value1 = 0x78bc15ede71d2a03ULL;
00098   static const uint64_t static_value2 = 0x3c05b33bb2a65927ULL;
00099 };
00100 
00101 template<class ContainerAllocator>
00102 struct DataType< ::tabletop_object_detector::Table_<ContainerAllocator> > {
00103   static const char* value() 
00104   {
00105     return "tabletop_object_detector/Table";
00106   }
00107 
00108   static const char* value(const  ::tabletop_object_detector::Table_<ContainerAllocator> &) { return value(); } 
00109 };
00110 
00111 template<class ContainerAllocator>
00112 struct Definition< ::tabletop_object_detector::Table_<ContainerAllocator> > {
00113   static const char* value() 
00114   {
00115     return "# Informs that a planar table has been detected at a given location\n\
00116 \n\
00117 # The pose gives you the transform that take you to the coordinate system\n\
00118 # of the table, with the origin somewhere in the table plane and the \n\
00119 # z axis normal to the plane\n\
00120 geometry_msgs/PoseStamped pose\n\
00121 \n\
00122 # These values give you the observed extents of the table, along x and y,\n\
00123 # in the table's own coordinate system (above)\n\
00124 # there is no guarantee that the origin of the table coordinate system is\n\
00125 # inside the boundary defined by these values. \n\
00126 float32 x_min\n\
00127 float32 x_max\n\
00128 float32 y_min\n\
00129 float32 y_max\n\
00130 \n\
00131 # There is no guarantee that the table does NOT extend further than these \n\
00132 # values; this is just as far as we've observed it.\n\
00133 \n\
00134 \n\
00135 # Newer table definition as triangle mesh of convex hull (relative to pose)\n\
00136 shape_msgs/Mesh convex_hull\n\
00137 \n\
00138 ================================================================================\n\
00139 MSG: geometry_msgs/PoseStamped\n\
00140 # A Pose with reference coordinate frame and timestamp\n\
00141 Header header\n\
00142 Pose pose\n\
00143 \n\
00144 ================================================================================\n\
00145 MSG: std_msgs/Header\n\
00146 # Standard metadata for higher-level stamped data types.\n\
00147 # This is generally used to communicate timestamped data \n\
00148 # in a particular coordinate frame.\n\
00149 # \n\
00150 # sequence ID: consecutively increasing ID \n\
00151 uint32 seq\n\
00152 #Two-integer timestamp that is expressed as:\n\
00153 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00154 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00155 # time-handling sugar is provided by the client library\n\
00156 time stamp\n\
00157 #Frame this data is associated with\n\
00158 # 0: no frame\n\
00159 # 1: global frame\n\
00160 string frame_id\n\
00161 \n\
00162 ================================================================================\n\
00163 MSG: geometry_msgs/Pose\n\
00164 # A representation of pose in free space, composed of postion and orientation. \n\
00165 Point position\n\
00166 Quaternion orientation\n\
00167 \n\
00168 ================================================================================\n\
00169 MSG: geometry_msgs/Point\n\
00170 # This contains the position of a point in free space\n\
00171 float64 x\n\
00172 float64 y\n\
00173 float64 z\n\
00174 \n\
00175 ================================================================================\n\
00176 MSG: geometry_msgs/Quaternion\n\
00177 # This represents an orientation in free space in quaternion form.\n\
00178 \n\
00179 float64 x\n\
00180 float64 y\n\
00181 float64 z\n\
00182 float64 w\n\
00183 \n\
00184 ================================================================================\n\
00185 MSG: shape_msgs/Mesh\n\
00186 # Definition of a mesh\n\
00187 \n\
00188 # list of triangles; the index values refer to positions in vertices[]\n\
00189 MeshTriangle[] triangles\n\
00190 \n\
00191 # the actual vertices that make up the mesh\n\
00192 geometry_msgs/Point[] vertices\n\
00193 \n\
00194 ================================================================================\n\
00195 MSG: shape_msgs/MeshTriangle\n\
00196 # Definition of a triangle's vertices\n\
00197 uint32[3] vertex_indices\n\
00198 \n\
00199 ";
00200   }
00201 
00202   static const char* value(const  ::tabletop_object_detector::Table_<ContainerAllocator> &) { return value(); } 
00203 };
00204 
00205 } // namespace message_traits
00206 } // namespace ros
00207 
00208 namespace ros
00209 {
00210 namespace serialization
00211 {
00212 
00213 template<class ContainerAllocator> struct Serializer< ::tabletop_object_detector::Table_<ContainerAllocator> >
00214 {
00215   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00216   {
00217     stream.next(m.pose);
00218     stream.next(m.x_min);
00219     stream.next(m.x_max);
00220     stream.next(m.y_min);
00221     stream.next(m.y_max);
00222     stream.next(m.convex_hull);
00223   }
00224 
00225   ROS_DECLARE_ALLINONE_SERIALIZER;
00226 }; // struct Table_
00227 } // namespace serialization
00228 } // namespace ros
00229 
00230 namespace ros
00231 {
00232 namespace message_operations
00233 {
00234 
00235 template<class ContainerAllocator>
00236 struct Printer< ::tabletop_object_detector::Table_<ContainerAllocator> >
00237 {
00238   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::tabletop_object_detector::Table_<ContainerAllocator> & v) 
00239   {
00240     s << indent << "pose: ";
00241 s << std::endl;
00242     Printer< ::geometry_msgs::PoseStamped_<ContainerAllocator> >::stream(s, indent + "  ", v.pose);
00243     s << indent << "x_min: ";
00244     Printer<float>::stream(s, indent + "  ", v.x_min);
00245     s << indent << "x_max: ";
00246     Printer<float>::stream(s, indent + "  ", v.x_max);
00247     s << indent << "y_min: ";
00248     Printer<float>::stream(s, indent + "  ", v.y_min);
00249     s << indent << "y_max: ";
00250     Printer<float>::stream(s, indent + "  ", v.y_max);
00251     s << indent << "convex_hull: ";
00252 s << std::endl;
00253     Printer< ::shape_msgs::Mesh_<ContainerAllocator> >::stream(s, indent + "  ", v.convex_hull);
00254   }
00255 };
00256 
00257 
00258 } // namespace message_operations
00259 } // namespace ros
00260 
00261 #endif // TABLETOP_OBJECT_DETECTOR_MESSAGE_TABLE_H
00262 


tabletop_object_detector
Author(s): Marius Muja and Matei Ciocarlie
autogenerated on Mon Oct 6 2014 11:45:32