Go to the documentation of this file.00001
00002 #ifndef SRS_OBJECT_DATABASE_MSGS_MESSAGE_SURF_H
00003 #define SRS_OBJECT_DATABASE_MSGS_MESSAGE_SURF_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 "sensor_msgs/PointCloud2.h"
00018 #include "sensor_msgs/PointCloud2.h"
00019 #include "geometry_msgs/Pose.h"
00020
00021 namespace srs_object_database_msgs
00022 {
00023 template <class ContainerAllocator>
00024 struct surf_ {
00025 typedef surf_<ContainerAllocator> Type;
00026
00027 surf_()
00028 : objectId(0)
00029 , surf()
00030 , bounding_box()
00031 , coord_frame()
00032 {
00033 }
00034
00035 surf_(const ContainerAllocator& _alloc)
00036 : objectId(0)
00037 , surf(_alloc)
00038 , bounding_box(_alloc)
00039 , coord_frame(_alloc)
00040 {
00041 }
00042
00043 typedef int32_t _objectId_type;
00044 int32_t objectId;
00045
00046 typedef ::sensor_msgs::PointCloud2_<ContainerAllocator> _surf_type;
00047 ::sensor_msgs::PointCloud2_<ContainerAllocator> surf;
00048
00049 typedef ::sensor_msgs::PointCloud2_<ContainerAllocator> _bounding_box_type;
00050 ::sensor_msgs::PointCloud2_<ContainerAllocator> bounding_box;
00051
00052 typedef ::geometry_msgs::Pose_<ContainerAllocator> _coord_frame_type;
00053 ::geometry_msgs::Pose_<ContainerAllocator> coord_frame;
00054
00055
00056 typedef boost::shared_ptr< ::srs_object_database_msgs::surf_<ContainerAllocator> > Ptr;
00057 typedef boost::shared_ptr< ::srs_object_database_msgs::surf_<ContainerAllocator> const> ConstPtr;
00058 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00059 };
00060 typedef ::srs_object_database_msgs::surf_<std::allocator<void> > surf;
00061
00062 typedef boost::shared_ptr< ::srs_object_database_msgs::surf> surfPtr;
00063 typedef boost::shared_ptr< ::srs_object_database_msgs::surf const> surfConstPtr;
00064
00065
00066 template<typename ContainerAllocator>
00067 std::ostream& operator<<(std::ostream& s, const ::srs_object_database_msgs::surf_<ContainerAllocator> & v)
00068 {
00069 ros::message_operations::Printer< ::srs_object_database_msgs::surf_<ContainerAllocator> >::stream(s, "", v);
00070 return s;}
00071
00072 }
00073
00074 namespace ros
00075 {
00076 namespace message_traits
00077 {
00078 template<class ContainerAllocator> struct IsMessage< ::srs_object_database_msgs::surf_<ContainerAllocator> > : public TrueType {};
00079 template<class ContainerAllocator> struct IsMessage< ::srs_object_database_msgs::surf_<ContainerAllocator> const> : public TrueType {};
00080 template<class ContainerAllocator>
00081 struct MD5Sum< ::srs_object_database_msgs::surf_<ContainerAllocator> > {
00082 static const char* value()
00083 {
00084 return "0faab423389dc07fa3f21ffd5950aa25";
00085 }
00086
00087 static const char* value(const ::srs_object_database_msgs::surf_<ContainerAllocator> &) { return value(); }
00088 static const uint64_t static_value1 = 0x0faab423389dc07fULL;
00089 static const uint64_t static_value2 = 0xa3f21ffd5950aa25ULL;
00090 };
00091
00092 template<class ContainerAllocator>
00093 struct DataType< ::srs_object_database_msgs::surf_<ContainerAllocator> > {
00094 static const char* value()
00095 {
00096 return "srs_object_database_msgs/surf";
00097 }
00098
00099 static const char* value(const ::srs_object_database_msgs::surf_<ContainerAllocator> &) { return value(); }
00100 };
00101
00102 template<class ContainerAllocator>
00103 struct Definition< ::srs_object_database_msgs::surf_<ContainerAllocator> > {
00104 static const char* value()
00105 {
00106 return "int32 objectId\n\
00107 sensor_msgs/PointCloud2 surf\n\
00108 sensor_msgs/PointCloud2 bounding_box\n\
00109 geometry_msgs/Pose coord_frame\n\
00110 \n\
00111 ================================================================================\n\
00112 MSG: sensor_msgs/PointCloud2\n\
00113 # This message holds a collection of N-dimensional points, which may\n\
00114 # contain additional information such as normals, intensity, etc. The\n\
00115 # point data is stored as a binary blob, its layout described by the\n\
00116 # contents of the \"fields\" array.\n\
00117 \n\
00118 # The point cloud data may be organized 2d (image-like) or 1d\n\
00119 # (unordered). Point clouds organized as 2d images may be produced by\n\
00120 # camera depth sensors such as stereo or time-of-flight.\n\
00121 \n\
00122 # Time of sensor data acquisition, and the coordinate frame ID (for 3d\n\
00123 # points).\n\
00124 Header header\n\
00125 \n\
00126 # 2D structure of the point cloud. If the cloud is unordered, height is\n\
00127 # 1 and width is the length of the point cloud.\n\
00128 uint32 height\n\
00129 uint32 width\n\
00130 \n\
00131 # Describes the channels and their layout in the binary data blob.\n\
00132 PointField[] fields\n\
00133 \n\
00134 bool is_bigendian # Is this data bigendian?\n\
00135 uint32 point_step # Length of a point in bytes\n\
00136 uint32 row_step # Length of a row in bytes\n\
00137 uint8[] data # Actual point data, size is (row_step*height)\n\
00138 \n\
00139 bool is_dense # True if there are no invalid points\n\
00140 \n\
00141 ================================================================================\n\
00142 MSG: std_msgs/Header\n\
00143 # Standard metadata for higher-level stamped data types.\n\
00144 # This is generally used to communicate timestamped data \n\
00145 # in a particular coordinate frame.\n\
00146 # \n\
00147 # sequence ID: consecutively increasing ID \n\
00148 uint32 seq\n\
00149 #Two-integer timestamp that is expressed as:\n\
00150 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00151 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00152 # time-handling sugar is provided by the client library\n\
00153 time stamp\n\
00154 #Frame this data is associated with\n\
00155 # 0: no frame\n\
00156 # 1: global frame\n\
00157 string frame_id\n\
00158 \n\
00159 ================================================================================\n\
00160 MSG: sensor_msgs/PointField\n\
00161 # This message holds the description of one point entry in the\n\
00162 # PointCloud2 message format.\n\
00163 uint8 INT8 = 1\n\
00164 uint8 UINT8 = 2\n\
00165 uint8 INT16 = 3\n\
00166 uint8 UINT16 = 4\n\
00167 uint8 INT32 = 5\n\
00168 uint8 UINT32 = 6\n\
00169 uint8 FLOAT32 = 7\n\
00170 uint8 FLOAT64 = 8\n\
00171 \n\
00172 string name # Name of field\n\
00173 uint32 offset # Offset from start of point struct\n\
00174 uint8 datatype # Datatype enumeration, see above\n\
00175 uint32 count # How many elements in the field\n\
00176 \n\
00177 ================================================================================\n\
00178 MSG: geometry_msgs/Pose\n\
00179 # A representation of pose in free space, composed of postion and orientation. \n\
00180 Point position\n\
00181 Quaternion orientation\n\
00182 \n\
00183 ================================================================================\n\
00184 MSG: geometry_msgs/Point\n\
00185 # This contains the position of a point in free space\n\
00186 float64 x\n\
00187 float64 y\n\
00188 float64 z\n\
00189 \n\
00190 ================================================================================\n\
00191 MSG: geometry_msgs/Quaternion\n\
00192 # This represents an orientation in free space in quaternion form.\n\
00193 \n\
00194 float64 x\n\
00195 float64 y\n\
00196 float64 z\n\
00197 float64 w\n\
00198 \n\
00199 ";
00200 }
00201
00202 static const char* value(const ::srs_object_database_msgs::surf_<ContainerAllocator> &) { return value(); }
00203 };
00204
00205 }
00206 }
00207
00208 namespace ros
00209 {
00210 namespace serialization
00211 {
00212
00213 template<class ContainerAllocator> struct Serializer< ::srs_object_database_msgs::surf_<ContainerAllocator> >
00214 {
00215 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00216 {
00217 stream.next(m.objectId);
00218 stream.next(m.surf);
00219 stream.next(m.bounding_box);
00220 stream.next(m.coord_frame);
00221 }
00222
00223 ROS_DECLARE_ALLINONE_SERIALIZER;
00224 };
00225 }
00226 }
00227
00228 namespace ros
00229 {
00230 namespace message_operations
00231 {
00232
00233 template<class ContainerAllocator>
00234 struct Printer< ::srs_object_database_msgs::surf_<ContainerAllocator> >
00235 {
00236 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::srs_object_database_msgs::surf_<ContainerAllocator> & v)
00237 {
00238 s << indent << "objectId: ";
00239 Printer<int32_t>::stream(s, indent + " ", v.objectId);
00240 s << indent << "surf: ";
00241 s << std::endl;
00242 Printer< ::sensor_msgs::PointCloud2_<ContainerAllocator> >::stream(s, indent + " ", v.surf);
00243 s << indent << "bounding_box: ";
00244 s << std::endl;
00245 Printer< ::sensor_msgs::PointCloud2_<ContainerAllocator> >::stream(s, indent + " ", v.bounding_box);
00246 s << indent << "coord_frame: ";
00247 s << std::endl;
00248 Printer< ::geometry_msgs::Pose_<ContainerAllocator> >::stream(s, indent + " ", v.coord_frame);
00249 }
00250 };
00251
00252
00253 }
00254 }
00255
00256 #endif // SRS_OBJECT_DATABASE_MSGS_MESSAGE_SURF_H
00257