PclToMarker.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-all-iri-ros.pub/doc_stacks/2013-12-06_19-37-16.229269/iri_perception/iri_perception_msgs/srv/PclToMarker.srv */
00002 #ifndef IRI_PERCEPTION_MSGS_SERVICE_PCLTOMARKER_H
00003 #define IRI_PERCEPTION_MSGS_SERVICE_PCLTOMARKER_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 "ros/service_traits.h"
00018 
00019 #include "sensor_msgs/PointCloud2.h"
00020 
00021 
00022 #include "visualization_msgs/Marker.h"
00023 
00024 namespace iri_perception_msgs
00025 {
00026 template <class ContainerAllocator>
00027 struct PclToMarkerRequest_ {
00028   typedef PclToMarkerRequest_<ContainerAllocator> Type;
00029 
00030   PclToMarkerRequest_()
00031   : pointcloud()
00032   {
00033   }
00034 
00035   PclToMarkerRequest_(const ContainerAllocator& _alloc)
00036   : pointcloud(_alloc)
00037   {
00038   }
00039 
00040   typedef  ::sensor_msgs::PointCloud2_<ContainerAllocator>  _pointcloud_type;
00041    ::sensor_msgs::PointCloud2_<ContainerAllocator>  pointcloud;
00042 
00043 
00044   typedef boost::shared_ptr< ::iri_perception_msgs::PclToMarkerRequest_<ContainerAllocator> > Ptr;
00045   typedef boost::shared_ptr< ::iri_perception_msgs::PclToMarkerRequest_<ContainerAllocator>  const> ConstPtr;
00046   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00047 }; // struct PclToMarkerRequest
00048 typedef  ::iri_perception_msgs::PclToMarkerRequest_<std::allocator<void> > PclToMarkerRequest;
00049 
00050 typedef boost::shared_ptr< ::iri_perception_msgs::PclToMarkerRequest> PclToMarkerRequestPtr;
00051 typedef boost::shared_ptr< ::iri_perception_msgs::PclToMarkerRequest const> PclToMarkerRequestConstPtr;
00052 
00053 
00054 template <class ContainerAllocator>
00055 struct PclToMarkerResponse_ {
00056   typedef PclToMarkerResponse_<ContainerAllocator> Type;
00057 
00058   PclToMarkerResponse_()
00059   : marker()
00060   {
00061   }
00062 
00063   PclToMarkerResponse_(const ContainerAllocator& _alloc)
00064   : marker(_alloc)
00065   {
00066   }
00067 
00068   typedef  ::visualization_msgs::Marker_<ContainerAllocator>  _marker_type;
00069    ::visualization_msgs::Marker_<ContainerAllocator>  marker;
00070 
00071 
00072   typedef boost::shared_ptr< ::iri_perception_msgs::PclToMarkerResponse_<ContainerAllocator> > Ptr;
00073   typedef boost::shared_ptr< ::iri_perception_msgs::PclToMarkerResponse_<ContainerAllocator>  const> ConstPtr;
00074   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00075 }; // struct PclToMarkerResponse
00076 typedef  ::iri_perception_msgs::PclToMarkerResponse_<std::allocator<void> > PclToMarkerResponse;
00077 
00078 typedef boost::shared_ptr< ::iri_perception_msgs::PclToMarkerResponse> PclToMarkerResponsePtr;
00079 typedef boost::shared_ptr< ::iri_perception_msgs::PclToMarkerResponse const> PclToMarkerResponseConstPtr;
00080 
00081 struct PclToMarker
00082 {
00083 
00084 typedef PclToMarkerRequest Request;
00085 typedef PclToMarkerResponse Response;
00086 Request request;
00087 Response response;
00088 
00089 typedef Request RequestType;
00090 typedef Response ResponseType;
00091 }; // struct PclToMarker
00092 } // namespace iri_perception_msgs
00093 
00094 namespace ros
00095 {
00096 namespace message_traits
00097 {
00098 template<class ContainerAllocator> struct IsMessage< ::iri_perception_msgs::PclToMarkerRequest_<ContainerAllocator> > : public TrueType {};
00099 template<class ContainerAllocator> struct IsMessage< ::iri_perception_msgs::PclToMarkerRequest_<ContainerAllocator>  const> : public TrueType {};
00100 template<class ContainerAllocator>
00101 struct MD5Sum< ::iri_perception_msgs::PclToMarkerRequest_<ContainerAllocator> > {
00102   static const char* value() 
00103   {
00104     return "56680b720436a8fbd002ea7abe6966e1";
00105   }
00106 
00107   static const char* value(const  ::iri_perception_msgs::PclToMarkerRequest_<ContainerAllocator> &) { return value(); } 
00108   static const uint64_t static_value1 = 0x56680b720436a8fbULL;
00109   static const uint64_t static_value2 = 0xd002ea7abe6966e1ULL;
00110 };
00111 
00112 template<class ContainerAllocator>
00113 struct DataType< ::iri_perception_msgs::PclToMarkerRequest_<ContainerAllocator> > {
00114   static const char* value() 
00115   {
00116     return "iri_perception_msgs/PclToMarkerRequest";
00117   }
00118 
00119   static const char* value(const  ::iri_perception_msgs::PclToMarkerRequest_<ContainerAllocator> &) { return value(); } 
00120 };
00121 
00122 template<class ContainerAllocator>
00123 struct Definition< ::iri_perception_msgs::PclToMarkerRequest_<ContainerAllocator> > {
00124   static const char* value() 
00125   {
00126     return "\n\
00127 sensor_msgs/PointCloud2 pointcloud\n\
00128 \n\
00129 ================================================================================\n\
00130 MSG: sensor_msgs/PointCloud2\n\
00131 # This message holds a collection of N-dimensional points, which may\n\
00132 # contain additional information such as normals, intensity, etc. The\n\
00133 # point data is stored as a binary blob, its layout described by the\n\
00134 # contents of the \"fields\" array.\n\
00135 \n\
00136 # The point cloud data may be organized 2d (image-like) or 1d\n\
00137 # (unordered). Point clouds organized as 2d images may be produced by\n\
00138 # camera depth sensors such as stereo or time-of-flight.\n\
00139 \n\
00140 # Time of sensor data acquisition, and the coordinate frame ID (for 3d\n\
00141 # points).\n\
00142 Header header\n\
00143 \n\
00144 # 2D structure of the point cloud. If the cloud is unordered, height is\n\
00145 # 1 and width is the length of the point cloud.\n\
00146 uint32 height\n\
00147 uint32 width\n\
00148 \n\
00149 # Describes the channels and their layout in the binary data blob.\n\
00150 PointField[] fields\n\
00151 \n\
00152 bool    is_bigendian # Is this data bigendian?\n\
00153 uint32  point_step   # Length of a point in bytes\n\
00154 uint32  row_step     # Length of a row in bytes\n\
00155 uint8[] data         # Actual point data, size is (row_step*height)\n\
00156 \n\
00157 bool is_dense        # True if there are no invalid points\n\
00158 \n\
00159 ================================================================================\n\
00160 MSG: std_msgs/Header\n\
00161 # Standard metadata for higher-level stamped data types.\n\
00162 # This is generally used to communicate timestamped data \n\
00163 # in a particular coordinate frame.\n\
00164 # \n\
00165 # sequence ID: consecutively increasing ID \n\
00166 uint32 seq\n\
00167 #Two-integer timestamp that is expressed as:\n\
00168 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00169 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00170 # time-handling sugar is provided by the client library\n\
00171 time stamp\n\
00172 #Frame this data is associated with\n\
00173 # 0: no frame\n\
00174 # 1: global frame\n\
00175 string frame_id\n\
00176 \n\
00177 ================================================================================\n\
00178 MSG: sensor_msgs/PointField\n\
00179 # This message holds the description of one point entry in the\n\
00180 # PointCloud2 message format.\n\
00181 uint8 INT8    = 1\n\
00182 uint8 UINT8   = 2\n\
00183 uint8 INT16   = 3\n\
00184 uint8 UINT16  = 4\n\
00185 uint8 INT32   = 5\n\
00186 uint8 UINT32  = 6\n\
00187 uint8 FLOAT32 = 7\n\
00188 uint8 FLOAT64 = 8\n\
00189 \n\
00190 string name      # Name of field\n\
00191 uint32 offset    # Offset from start of point struct\n\
00192 uint8  datatype  # Datatype enumeration, see above\n\
00193 uint32 count     # How many elements in the field\n\
00194 \n\
00195 ";
00196   }
00197 
00198   static const char* value(const  ::iri_perception_msgs::PclToMarkerRequest_<ContainerAllocator> &) { return value(); } 
00199 };
00200 
00201 } // namespace message_traits
00202 } // namespace ros
00203 
00204 
00205 namespace ros
00206 {
00207 namespace message_traits
00208 {
00209 template<class ContainerAllocator> struct IsMessage< ::iri_perception_msgs::PclToMarkerResponse_<ContainerAllocator> > : public TrueType {};
00210 template<class ContainerAllocator> struct IsMessage< ::iri_perception_msgs::PclToMarkerResponse_<ContainerAllocator>  const> : public TrueType {};
00211 template<class ContainerAllocator>
00212 struct MD5Sum< ::iri_perception_msgs::PclToMarkerResponse_<ContainerAllocator> > {
00213   static const char* value() 
00214   {
00215     return "227a89e3d0c778686f83f2dd7b0caac4";
00216   }
00217 
00218   static const char* value(const  ::iri_perception_msgs::PclToMarkerResponse_<ContainerAllocator> &) { return value(); } 
00219   static const uint64_t static_value1 = 0x227a89e3d0c77868ULL;
00220   static const uint64_t static_value2 = 0x6f83f2dd7b0caac4ULL;
00221 };
00222 
00223 template<class ContainerAllocator>
00224 struct DataType< ::iri_perception_msgs::PclToMarkerResponse_<ContainerAllocator> > {
00225   static const char* value() 
00226   {
00227     return "iri_perception_msgs/PclToMarkerResponse";
00228   }
00229 
00230   static const char* value(const  ::iri_perception_msgs::PclToMarkerResponse_<ContainerAllocator> &) { return value(); } 
00231 };
00232 
00233 template<class ContainerAllocator>
00234 struct Definition< ::iri_perception_msgs::PclToMarkerResponse_<ContainerAllocator> > {
00235   static const char* value() 
00236   {
00237     return "\n\
00238 visualization_msgs/Marker marker\n\
00239 \n\
00240 \n\
00241 ================================================================================\n\
00242 MSG: visualization_msgs/Marker\n\
00243 # See http://www.ros.org/wiki/rviz/DisplayTypes/Marker and http://www.ros.org/wiki/rviz/Tutorials/Markers%3A%20Basic%20Shapes for more information on using this message with rviz\n\
00244 \n\
00245 uint8 ARROW=0\n\
00246 uint8 CUBE=1\n\
00247 uint8 SPHERE=2\n\
00248 uint8 CYLINDER=3\n\
00249 uint8 LINE_STRIP=4\n\
00250 uint8 LINE_LIST=5\n\
00251 uint8 CUBE_LIST=6\n\
00252 uint8 SPHERE_LIST=7\n\
00253 uint8 POINTS=8\n\
00254 uint8 TEXT_VIEW_FACING=9\n\
00255 uint8 MESH_RESOURCE=10\n\
00256 uint8 TRIANGLE_LIST=11\n\
00257 \n\
00258 uint8 ADD=0\n\
00259 uint8 MODIFY=0\n\
00260 uint8 DELETE=2\n\
00261 \n\
00262 Header header                        # header for time/frame information\n\
00263 string ns                            # Namespace to place this object in... used in conjunction with id to create a unique name for the object\n\
00264 int32 id                                         # object ID useful in conjunction with the namespace for manipulating and deleting the object later\n\
00265 int32 type                                     # Type of object\n\
00266 int32 action                           # 0 add/modify an object, 1 (deprecated), 2 deletes an object\n\
00267 geometry_msgs/Pose pose                 # Pose of the object\n\
00268 geometry_msgs/Vector3 scale             # Scale of the object 1,1,1 means default (usually 1 meter square)\n\
00269 std_msgs/ColorRGBA color             # Color [0.0-1.0]\n\
00270 duration lifetime                    # How long the object should last before being automatically deleted.  0 means forever\n\
00271 bool frame_locked                    # If this marker should be frame-locked, i.e. retransformed into its frame every timestep\n\
00272 \n\
00273 #Only used if the type specified has some use for them (eg. POINTS, LINE_STRIP, ...)\n\
00274 geometry_msgs/Point[] points\n\
00275 #Only used if the type specified has some use for them (eg. POINTS, LINE_STRIP, ...)\n\
00276 #number of colors must either be 0 or equal to the number of points\n\
00277 #NOTE: alpha is not yet used\n\
00278 std_msgs/ColorRGBA[] colors\n\
00279 \n\
00280 # NOTE: only used for text markers\n\
00281 string text\n\
00282 \n\
00283 # NOTE: only used for MESH_RESOURCE markers\n\
00284 string mesh_resource\n\
00285 bool mesh_use_embedded_materials\n\
00286 \n\
00287 ================================================================================\n\
00288 MSG: std_msgs/Header\n\
00289 # Standard metadata for higher-level stamped data types.\n\
00290 # This is generally used to communicate timestamped data \n\
00291 # in a particular coordinate frame.\n\
00292 # \n\
00293 # sequence ID: consecutively increasing ID \n\
00294 uint32 seq\n\
00295 #Two-integer timestamp that is expressed as:\n\
00296 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00297 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00298 # time-handling sugar is provided by the client library\n\
00299 time stamp\n\
00300 #Frame this data is associated with\n\
00301 # 0: no frame\n\
00302 # 1: global frame\n\
00303 string frame_id\n\
00304 \n\
00305 ================================================================================\n\
00306 MSG: geometry_msgs/Pose\n\
00307 # A representation of pose in free space, composed of postion and orientation. \n\
00308 Point position\n\
00309 Quaternion orientation\n\
00310 \n\
00311 ================================================================================\n\
00312 MSG: geometry_msgs/Point\n\
00313 # This contains the position of a point in free space\n\
00314 float64 x\n\
00315 float64 y\n\
00316 float64 z\n\
00317 \n\
00318 ================================================================================\n\
00319 MSG: geometry_msgs/Quaternion\n\
00320 # This represents an orientation in free space in quaternion form.\n\
00321 \n\
00322 float64 x\n\
00323 float64 y\n\
00324 float64 z\n\
00325 float64 w\n\
00326 \n\
00327 ================================================================================\n\
00328 MSG: geometry_msgs/Vector3\n\
00329 # This represents a vector in free space. \n\
00330 \n\
00331 float64 x\n\
00332 float64 y\n\
00333 float64 z\n\
00334 ================================================================================\n\
00335 MSG: std_msgs/ColorRGBA\n\
00336 float32 r\n\
00337 float32 g\n\
00338 float32 b\n\
00339 float32 a\n\
00340 \n\
00341 ";
00342   }
00343 
00344   static const char* value(const  ::iri_perception_msgs::PclToMarkerResponse_<ContainerAllocator> &) { return value(); } 
00345 };
00346 
00347 } // namespace message_traits
00348 } // namespace ros
00349 
00350 namespace ros
00351 {
00352 namespace serialization
00353 {
00354 
00355 template<class ContainerAllocator> struct Serializer< ::iri_perception_msgs::PclToMarkerRequest_<ContainerAllocator> >
00356 {
00357   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00358   {
00359     stream.next(m.pointcloud);
00360   }
00361 
00362   ROS_DECLARE_ALLINONE_SERIALIZER;
00363 }; // struct PclToMarkerRequest_
00364 } // namespace serialization
00365 } // namespace ros
00366 
00367 
00368 namespace ros
00369 {
00370 namespace serialization
00371 {
00372 
00373 template<class ContainerAllocator> struct Serializer< ::iri_perception_msgs::PclToMarkerResponse_<ContainerAllocator> >
00374 {
00375   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00376   {
00377     stream.next(m.marker);
00378   }
00379 
00380   ROS_DECLARE_ALLINONE_SERIALIZER;
00381 }; // struct PclToMarkerResponse_
00382 } // namespace serialization
00383 } // namespace ros
00384 
00385 namespace ros
00386 {
00387 namespace service_traits
00388 {
00389 template<>
00390 struct MD5Sum<iri_perception_msgs::PclToMarker> {
00391   static const char* value() 
00392   {
00393     return "e8ebdfd2bdabaf1623d8d3b6f7d39096";
00394   }
00395 
00396   static const char* value(const iri_perception_msgs::PclToMarker&) { return value(); } 
00397 };
00398 
00399 template<>
00400 struct DataType<iri_perception_msgs::PclToMarker> {
00401   static const char* value() 
00402   {
00403     return "iri_perception_msgs/PclToMarker";
00404   }
00405 
00406   static const char* value(const iri_perception_msgs::PclToMarker&) { return value(); } 
00407 };
00408 
00409 template<class ContainerAllocator>
00410 struct MD5Sum<iri_perception_msgs::PclToMarkerRequest_<ContainerAllocator> > {
00411   static const char* value() 
00412   {
00413     return "e8ebdfd2bdabaf1623d8d3b6f7d39096";
00414   }
00415 
00416   static const char* value(const iri_perception_msgs::PclToMarkerRequest_<ContainerAllocator> &) { return value(); } 
00417 };
00418 
00419 template<class ContainerAllocator>
00420 struct DataType<iri_perception_msgs::PclToMarkerRequest_<ContainerAllocator> > {
00421   static const char* value() 
00422   {
00423     return "iri_perception_msgs/PclToMarker";
00424   }
00425 
00426   static const char* value(const iri_perception_msgs::PclToMarkerRequest_<ContainerAllocator> &) { return value(); } 
00427 };
00428 
00429 template<class ContainerAllocator>
00430 struct MD5Sum<iri_perception_msgs::PclToMarkerResponse_<ContainerAllocator> > {
00431   static const char* value() 
00432   {
00433     return "e8ebdfd2bdabaf1623d8d3b6f7d39096";
00434   }
00435 
00436   static const char* value(const iri_perception_msgs::PclToMarkerResponse_<ContainerAllocator> &) { return value(); } 
00437 };
00438 
00439 template<class ContainerAllocator>
00440 struct DataType<iri_perception_msgs::PclToMarkerResponse_<ContainerAllocator> > {
00441   static const char* value() 
00442   {
00443     return "iri_perception_msgs/PclToMarker";
00444   }
00445 
00446   static const char* value(const iri_perception_msgs::PclToMarkerResponse_<ContainerAllocator> &) { return value(); } 
00447 };
00448 
00449 } // namespace service_traits
00450 } // namespace ros
00451 
00452 #endif // IRI_PERCEPTION_MSGS_SERVICE_PCLTOMARKER_H
00453 


iri_perception_msgs
Author(s):
autogenerated on Fri Dec 6 2013 20:02:16