PickPlace.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-remote_lab/doc_stacks/2014-01-05_11-23-35.722910/remote_lab/pr2_pick_and_place_service/srv/PickPlace.srv */
00002 #ifndef PR2_PICK_AND_PLACE_SERVICE_SERVICE_PICKPLACE_H
00003 #define PR2_PICK_AND_PLACE_SERVICE_SERVICE_PICKPLACE_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 
00020 
00021 #include "pr2_pick_and_place_service/PickPlaceObject.h"
00022 
00023 namespace pr2_pick_and_place_service
00024 {
00025 template <class ContainerAllocator>
00026 struct PickPlaceRequest_ {
00027   typedef PickPlaceRequest_<ContainerAllocator> Type;
00028 
00029   PickPlaceRequest_()
00030   : command()
00031   , arg()
00032   {
00033   }
00034 
00035   PickPlaceRequest_(const ContainerAllocator& _alloc)
00036   : command(_alloc)
00037   , arg(_alloc)
00038   {
00039   }
00040 
00041   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _command_type;
00042   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  command;
00043 
00044   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _arg_type;
00045   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  arg;
00046 
00047 
00048   typedef boost::shared_ptr< ::pr2_pick_and_place_service::PickPlaceRequest_<ContainerAllocator> > Ptr;
00049   typedef boost::shared_ptr< ::pr2_pick_and_place_service::PickPlaceRequest_<ContainerAllocator>  const> ConstPtr;
00050   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00051 }; // struct PickPlaceRequest
00052 typedef  ::pr2_pick_and_place_service::PickPlaceRequest_<std::allocator<void> > PickPlaceRequest;
00053 
00054 typedef boost::shared_ptr< ::pr2_pick_and_place_service::PickPlaceRequest> PickPlaceRequestPtr;
00055 typedef boost::shared_ptr< ::pr2_pick_and_place_service::PickPlaceRequest const> PickPlaceRequestConstPtr;
00056 
00057 
00058 template <class ContainerAllocator>
00059 struct PickPlaceResponse_ {
00060   typedef PickPlaceResponse_<ContainerAllocator> Type;
00061 
00062   PickPlaceResponse_()
00063   : response()
00064   , objects()
00065   {
00066   }
00067 
00068   PickPlaceResponse_(const ContainerAllocator& _alloc)
00069   : response(_alloc)
00070   , objects(_alloc)
00071   {
00072   }
00073 
00074   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _response_type;
00075   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  response;
00076 
00077   typedef std::vector< ::pr2_pick_and_place_service::PickPlaceObject_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::pr2_pick_and_place_service::PickPlaceObject_<ContainerAllocator> >::other >  _objects_type;
00078   std::vector< ::pr2_pick_and_place_service::PickPlaceObject_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::pr2_pick_and_place_service::PickPlaceObject_<ContainerAllocator> >::other >  objects;
00079 
00080 
00081   typedef boost::shared_ptr< ::pr2_pick_and_place_service::PickPlaceResponse_<ContainerAllocator> > Ptr;
00082   typedef boost::shared_ptr< ::pr2_pick_and_place_service::PickPlaceResponse_<ContainerAllocator>  const> ConstPtr;
00083   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00084 }; // struct PickPlaceResponse
00085 typedef  ::pr2_pick_and_place_service::PickPlaceResponse_<std::allocator<void> > PickPlaceResponse;
00086 
00087 typedef boost::shared_ptr< ::pr2_pick_and_place_service::PickPlaceResponse> PickPlaceResponsePtr;
00088 typedef boost::shared_ptr< ::pr2_pick_and_place_service::PickPlaceResponse const> PickPlaceResponseConstPtr;
00089 
00090 struct PickPlace
00091 {
00092 
00093 typedef PickPlaceRequest Request;
00094 typedef PickPlaceResponse Response;
00095 Request request;
00096 Response response;
00097 
00098 typedef Request RequestType;
00099 typedef Response ResponseType;
00100 }; // struct PickPlace
00101 } // namespace pr2_pick_and_place_service
00102 
00103 namespace ros
00104 {
00105 namespace message_traits
00106 {
00107 template<class ContainerAllocator> struct IsMessage< ::pr2_pick_and_place_service::PickPlaceRequest_<ContainerAllocator> > : public TrueType {};
00108 template<class ContainerAllocator> struct IsMessage< ::pr2_pick_and_place_service::PickPlaceRequest_<ContainerAllocator>  const> : public TrueType {};
00109 template<class ContainerAllocator>
00110 struct MD5Sum< ::pr2_pick_and_place_service::PickPlaceRequest_<ContainerAllocator> > {
00111   static const char* value() 
00112   {
00113     return "a103fd90ae71bfd419fcdfa60a00c804";
00114   }
00115 
00116   static const char* value(const  ::pr2_pick_and_place_service::PickPlaceRequest_<ContainerAllocator> &) { return value(); } 
00117   static const uint64_t static_value1 = 0xa103fd90ae71bfd4ULL;
00118   static const uint64_t static_value2 = 0x19fcdfa60a00c804ULL;
00119 };
00120 
00121 template<class ContainerAllocator>
00122 struct DataType< ::pr2_pick_and_place_service::PickPlaceRequest_<ContainerAllocator> > {
00123   static const char* value() 
00124   {
00125     return "pr2_pick_and_place_service/PickPlaceRequest";
00126   }
00127 
00128   static const char* value(const  ::pr2_pick_and_place_service::PickPlaceRequest_<ContainerAllocator> &) { return value(); } 
00129 };
00130 
00131 template<class ContainerAllocator>
00132 struct Definition< ::pr2_pick_and_place_service::PickPlaceRequest_<ContainerAllocator> > {
00133   static const char* value() 
00134   {
00135     return "string command\n\
00136 string arg\n\
00137 \n\
00138 \n\
00139 ";
00140   }
00141 
00142   static const char* value(const  ::pr2_pick_and_place_service::PickPlaceRequest_<ContainerAllocator> &) { return value(); } 
00143 };
00144 
00145 } // namespace message_traits
00146 } // namespace ros
00147 
00148 
00149 namespace ros
00150 {
00151 namespace message_traits
00152 {
00153 template<class ContainerAllocator> struct IsMessage< ::pr2_pick_and_place_service::PickPlaceResponse_<ContainerAllocator> > : public TrueType {};
00154 template<class ContainerAllocator> struct IsMessage< ::pr2_pick_and_place_service::PickPlaceResponse_<ContainerAllocator>  const> : public TrueType {};
00155 template<class ContainerAllocator>
00156 struct MD5Sum< ::pr2_pick_and_place_service::PickPlaceResponse_<ContainerAllocator> > {
00157   static const char* value() 
00158   {
00159     return "a1461d83d374e19cb65866ae1f17bb1c";
00160   }
00161 
00162   static const char* value(const  ::pr2_pick_and_place_service::PickPlaceResponse_<ContainerAllocator> &) { return value(); } 
00163   static const uint64_t static_value1 = 0xa1461d83d374e19cULL;
00164   static const uint64_t static_value2 = 0xb65866ae1f17bb1cULL;
00165 };
00166 
00167 template<class ContainerAllocator>
00168 struct DataType< ::pr2_pick_and_place_service::PickPlaceResponse_<ContainerAllocator> > {
00169   static const char* value() 
00170   {
00171     return "pr2_pick_and_place_service/PickPlaceResponse";
00172   }
00173 
00174   static const char* value(const  ::pr2_pick_and_place_service::PickPlaceResponse_<ContainerAllocator> &) { return value(); } 
00175 };
00176 
00177 template<class ContainerAllocator>
00178 struct Definition< ::pr2_pick_and_place_service::PickPlaceResponse_<ContainerAllocator> > {
00179   static const char* value() 
00180   {
00181     return "string response\n\
00182 PickPlaceObject[] objects\n\
00183 \n\
00184 \n\
00185 ================================================================================\n\
00186 MSG: pr2_pick_and_place_service/PickPlaceObject\n\
00187 int32 objectid\n\
00188 object_manipulation_msgs/GraspableObject object\n\
00189 geometry_msgs/PoseStamped pose\n\
00190 float64[] boundingbox\n\
00191 \n\
00192 ================================================================================\n\
00193 MSG: object_manipulation_msgs/GraspableObject\n\
00194 # an object that the object_manipulator can work on\n\
00195 \n\
00196 # a graspable object can be represented in multiple ways. This message\n\
00197 # can contain all of them. Which one is actually used is up to the receiver\n\
00198 # of this message. When adding new representations, one must be careful that\n\
00199 # they have reasonable lightweight defaults indicating that that particular\n\
00200 # representation is not available.\n\
00201 \n\
00202 # the tf frame to be used as a reference frame when combining information from\n\
00203 # the different representations below\n\
00204 string reference_frame_id\n\
00205 \n\
00206 # potential recognition results from a database of models\n\
00207 # all poses are relative to the object reference pose\n\
00208 household_objects_database_msgs/DatabaseModelPose[] potential_models\n\
00209 \n\
00210 # the point cloud itself\n\
00211 sensor_msgs/PointCloud cluster\n\
00212 \n\
00213 # a region of a PointCloud2 of interest\n\
00214 object_manipulation_msgs/SceneRegion region\n\
00215 \n\
00216 # the name that this object has in the collision environment\n\
00217 string collision_name\n\
00218 ================================================================================\n\
00219 MSG: household_objects_database_msgs/DatabaseModelPose\n\
00220 # Informs that a specific model from the Model Database has been \n\
00221 # identified at a certain location\n\
00222 \n\
00223 # the database id of the model\n\
00224 int32 model_id\n\
00225 \n\
00226 # the pose that it can be found in\n\
00227 geometry_msgs/PoseStamped pose\n\
00228 \n\
00229 # a measure of the confidence level in this detection result\n\
00230 float32 confidence\n\
00231 \n\
00232 # the name of the object detector that generated this detection result\n\
00233 string detector_name\n\
00234 \n\
00235 ================================================================================\n\
00236 MSG: geometry_msgs/PoseStamped\n\
00237 # A Pose with reference coordinate frame and timestamp\n\
00238 Header header\n\
00239 Pose pose\n\
00240 \n\
00241 ================================================================================\n\
00242 MSG: std_msgs/Header\n\
00243 # Standard metadata for higher-level stamped data types.\n\
00244 # This is generally used to communicate timestamped data \n\
00245 # in a particular coordinate frame.\n\
00246 # \n\
00247 # sequence ID: consecutively increasing ID \n\
00248 uint32 seq\n\
00249 #Two-integer timestamp that is expressed as:\n\
00250 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00251 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00252 # time-handling sugar is provided by the client library\n\
00253 time stamp\n\
00254 #Frame this data is associated with\n\
00255 # 0: no frame\n\
00256 # 1: global frame\n\
00257 string frame_id\n\
00258 \n\
00259 ================================================================================\n\
00260 MSG: geometry_msgs/Pose\n\
00261 # A representation of pose in free space, composed of postion and orientation. \n\
00262 Point position\n\
00263 Quaternion orientation\n\
00264 \n\
00265 ================================================================================\n\
00266 MSG: geometry_msgs/Point\n\
00267 # This contains the position of a point in free space\n\
00268 float64 x\n\
00269 float64 y\n\
00270 float64 z\n\
00271 \n\
00272 ================================================================================\n\
00273 MSG: geometry_msgs/Quaternion\n\
00274 # This represents an orientation in free space in quaternion form.\n\
00275 \n\
00276 float64 x\n\
00277 float64 y\n\
00278 float64 z\n\
00279 float64 w\n\
00280 \n\
00281 ================================================================================\n\
00282 MSG: sensor_msgs/PointCloud\n\
00283 # This message holds a collection of 3d points, plus optional additional\n\
00284 # information about each point.\n\
00285 \n\
00286 # Time of sensor data acquisition, coordinate frame ID.\n\
00287 Header header\n\
00288 \n\
00289 # Array of 3d points. Each Point32 should be interpreted as a 3d point\n\
00290 # in the frame given in the header.\n\
00291 geometry_msgs/Point32[] points\n\
00292 \n\
00293 # Each channel should have the same number of elements as points array,\n\
00294 # and the data in each channel should correspond 1:1 with each point.\n\
00295 # Channel names in common practice are listed in ChannelFloat32.msg.\n\
00296 ChannelFloat32[] channels\n\
00297 \n\
00298 ================================================================================\n\
00299 MSG: geometry_msgs/Point32\n\
00300 # This contains the position of a point in free space(with 32 bits of precision).\n\
00301 # It is recommeded to use Point wherever possible instead of Point32.  \n\
00302 # \n\
00303 # This recommendation is to promote interoperability.  \n\
00304 #\n\
00305 # This message is designed to take up less space when sending\n\
00306 # lots of points at once, as in the case of a PointCloud.  \n\
00307 \n\
00308 float32 x\n\
00309 float32 y\n\
00310 float32 z\n\
00311 ================================================================================\n\
00312 MSG: sensor_msgs/ChannelFloat32\n\
00313 # This message is used by the PointCloud message to hold optional data\n\
00314 # associated with each point in the cloud. The length of the values\n\
00315 # array should be the same as the length of the points array in the\n\
00316 # PointCloud, and each value should be associated with the corresponding\n\
00317 # point.\n\
00318 \n\
00319 # Channel names in existing practice include:\n\
00320 #   \"u\", \"v\" - row and column (respectively) in the left stereo image.\n\
00321 #              This is opposite to usual conventions but remains for\n\
00322 #              historical reasons. The newer PointCloud2 message has no\n\
00323 #              such problem.\n\
00324 #   \"rgb\" - For point clouds produced by color stereo cameras. uint8\n\
00325 #           (R,G,B) values packed into the least significant 24 bits,\n\
00326 #           in order.\n\
00327 #   \"intensity\" - laser or pixel intensity.\n\
00328 #   \"distance\"\n\
00329 \n\
00330 # The channel name should give semantics of the channel (e.g.\n\
00331 # \"intensity\" instead of \"value\").\n\
00332 string name\n\
00333 \n\
00334 # The values array should be 1-1 with the elements of the associated\n\
00335 # PointCloud.\n\
00336 float32[] values\n\
00337 \n\
00338 ================================================================================\n\
00339 MSG: object_manipulation_msgs/SceneRegion\n\
00340 # Point cloud\n\
00341 sensor_msgs/PointCloud2 cloud\n\
00342 \n\
00343 # Indices for the region of interest\n\
00344 int32[] mask\n\
00345 \n\
00346 # One of the corresponding 2D images, if applicable\n\
00347 sensor_msgs/Image image\n\
00348 \n\
00349 # The disparity image, if applicable\n\
00350 sensor_msgs/Image disparity_image\n\
00351 \n\
00352 # Camera info for the camera that took the image\n\
00353 sensor_msgs/CameraInfo cam_info\n\
00354 \n\
00355 # a 3D region of interest for grasp planning\n\
00356 geometry_msgs/PoseStamped  roi_box_pose\n\
00357 geometry_msgs/Vector3      roi_box_dims\n\
00358 \n\
00359 ================================================================================\n\
00360 MSG: sensor_msgs/PointCloud2\n\
00361 # This message holds a collection of N-dimensional points, which may\n\
00362 # contain additional information such as normals, intensity, etc. The\n\
00363 # point data is stored as a binary blob, its layout described by the\n\
00364 # contents of the \"fields\" array.\n\
00365 \n\
00366 # The point cloud data may be organized 2d (image-like) or 1d\n\
00367 # (unordered). Point clouds organized as 2d images may be produced by\n\
00368 # camera depth sensors such as stereo or time-of-flight.\n\
00369 \n\
00370 # Time of sensor data acquisition, and the coordinate frame ID (for 3d\n\
00371 # points).\n\
00372 Header header\n\
00373 \n\
00374 # 2D structure of the point cloud. If the cloud is unordered, height is\n\
00375 # 1 and width is the length of the point cloud.\n\
00376 uint32 height\n\
00377 uint32 width\n\
00378 \n\
00379 # Describes the channels and their layout in the binary data blob.\n\
00380 PointField[] fields\n\
00381 \n\
00382 bool    is_bigendian # Is this data bigendian?\n\
00383 uint32  point_step   # Length of a point in bytes\n\
00384 uint32  row_step     # Length of a row in bytes\n\
00385 uint8[] data         # Actual point data, size is (row_step*height)\n\
00386 \n\
00387 bool is_dense        # True if there are no invalid points\n\
00388 \n\
00389 ================================================================================\n\
00390 MSG: sensor_msgs/PointField\n\
00391 # This message holds the description of one point entry in the\n\
00392 # PointCloud2 message format.\n\
00393 uint8 INT8    = 1\n\
00394 uint8 UINT8   = 2\n\
00395 uint8 INT16   = 3\n\
00396 uint8 UINT16  = 4\n\
00397 uint8 INT32   = 5\n\
00398 uint8 UINT32  = 6\n\
00399 uint8 FLOAT32 = 7\n\
00400 uint8 FLOAT64 = 8\n\
00401 \n\
00402 string name      # Name of field\n\
00403 uint32 offset    # Offset from start of point struct\n\
00404 uint8  datatype  # Datatype enumeration, see above\n\
00405 uint32 count     # How many elements in the field\n\
00406 \n\
00407 ================================================================================\n\
00408 MSG: sensor_msgs/Image\n\
00409 # This message contains an uncompressed image\n\
00410 # (0, 0) is at top-left corner of image\n\
00411 #\n\
00412 \n\
00413 Header header        # Header timestamp should be acquisition time of image\n\
00414                      # Header frame_id should be optical frame of camera\n\
00415                      # origin of frame should be optical center of cameara\n\
00416                      # +x should point to the right in the image\n\
00417                      # +y should point down in the image\n\
00418                      # +z should point into to plane of the image\n\
00419                      # If the frame_id here and the frame_id of the CameraInfo\n\
00420                      # message associated with the image conflict\n\
00421                      # the behavior is undefined\n\
00422 \n\
00423 uint32 height         # image height, that is, number of rows\n\
00424 uint32 width          # image width, that is, number of columns\n\
00425 \n\
00426 # The legal values for encoding are in file src/image_encodings.cpp\n\
00427 # If you want to standardize a new string format, join\n\
00428 # ros-users@lists.sourceforge.net and send an email proposing a new encoding.\n\
00429 \n\
00430 string encoding       # Encoding of pixels -- channel meaning, ordering, size\n\
00431                       # taken from the list of strings in src/image_encodings.cpp\n\
00432 \n\
00433 uint8 is_bigendian    # is this data bigendian?\n\
00434 uint32 step           # Full row length in bytes\n\
00435 uint8[] data          # actual matrix data, size is (step * rows)\n\
00436 \n\
00437 ================================================================================\n\
00438 MSG: sensor_msgs/CameraInfo\n\
00439 # This message defines meta information for a camera. It should be in a\n\
00440 # camera namespace on topic \"camera_info\" and accompanied by up to five\n\
00441 # image topics named:\n\
00442 #\n\
00443 #   image_raw - raw data from the camera driver, possibly Bayer encoded\n\
00444 #   image            - monochrome, distorted\n\
00445 #   image_color      - color, distorted\n\
00446 #   image_rect       - monochrome, rectified\n\
00447 #   image_rect_color - color, rectified\n\
00448 #\n\
00449 # The image_pipeline contains packages (image_proc, stereo_image_proc)\n\
00450 # for producing the four processed image topics from image_raw and\n\
00451 # camera_info. The meaning of the camera parameters are described in\n\
00452 # detail at http://www.ros.org/wiki/image_pipeline/CameraInfo.\n\
00453 #\n\
00454 # The image_geometry package provides a user-friendly interface to\n\
00455 # common operations using this meta information. If you want to, e.g.,\n\
00456 # project a 3d point into image coordinates, we strongly recommend\n\
00457 # using image_geometry.\n\
00458 #\n\
00459 # If the camera is uncalibrated, the matrices D, K, R, P should be left\n\
00460 # zeroed out. In particular, clients may assume that K[0] == 0.0\n\
00461 # indicates an uncalibrated camera.\n\
00462 \n\
00463 #######################################################################\n\
00464 #                     Image acquisition info                          #\n\
00465 #######################################################################\n\
00466 \n\
00467 # Time of image acquisition, camera coordinate frame ID\n\
00468 Header header    # Header timestamp should be acquisition time of image\n\
00469                  # Header frame_id should be optical frame of camera\n\
00470                  # origin of frame should be optical center of camera\n\
00471                  # +x should point to the right in the image\n\
00472                  # +y should point down in the image\n\
00473                  # +z should point into the plane of the image\n\
00474 \n\
00475 \n\
00476 #######################################################################\n\
00477 #                      Calibration Parameters                         #\n\
00478 #######################################################################\n\
00479 # These are fixed during camera calibration. Their values will be the #\n\
00480 # same in all messages until the camera is recalibrated. Note that    #\n\
00481 # self-calibrating systems may \"recalibrate\" frequently.              #\n\
00482 #                                                                     #\n\
00483 # The internal parameters can be used to warp a raw (distorted) image #\n\
00484 # to:                                                                 #\n\
00485 #   1. An undistorted image (requires D and K)                        #\n\
00486 #   2. A rectified image (requires D, K, R)                           #\n\
00487 # The projection matrix P projects 3D points into the rectified image.#\n\
00488 #######################################################################\n\
00489 \n\
00490 # The image dimensions with which the camera was calibrated. Normally\n\
00491 # this will be the full camera resolution in pixels.\n\
00492 uint32 height\n\
00493 uint32 width\n\
00494 \n\
00495 # The distortion model used. Supported models are listed in\n\
00496 # sensor_msgs/distortion_models.h. For most cameras, \"plumb_bob\" - a\n\
00497 # simple model of radial and tangential distortion - is sufficent.\n\
00498 string distortion_model\n\
00499 \n\
00500 # The distortion parameters, size depending on the distortion model.\n\
00501 # For \"plumb_bob\", the 5 parameters are: (k1, k2, t1, t2, k3).\n\
00502 float64[] D\n\
00503 \n\
00504 # Intrinsic camera matrix for the raw (distorted) images.\n\
00505 #     [fx  0 cx]\n\
00506 # K = [ 0 fy cy]\n\
00507 #     [ 0  0  1]\n\
00508 # Projects 3D points in the camera coordinate frame to 2D pixel\n\
00509 # coordinates using the focal lengths (fx, fy) and principal point\n\
00510 # (cx, cy).\n\
00511 float64[9]  K # 3x3 row-major matrix\n\
00512 \n\
00513 # Rectification matrix (stereo cameras only)\n\
00514 # A rotation matrix aligning the camera coordinate system to the ideal\n\
00515 # stereo image plane so that epipolar lines in both stereo images are\n\
00516 # parallel.\n\
00517 float64[9]  R # 3x3 row-major matrix\n\
00518 \n\
00519 # Projection/camera matrix\n\
00520 #     [fx'  0  cx' Tx]\n\
00521 # P = [ 0  fy' cy' Ty]\n\
00522 #     [ 0   0   1   0]\n\
00523 # By convention, this matrix specifies the intrinsic (camera) matrix\n\
00524 #  of the processed (rectified) image. That is, the left 3x3 portion\n\
00525 #  is the normal camera intrinsic matrix for the rectified image.\n\
00526 # It projects 3D points in the camera coordinate frame to 2D pixel\n\
00527 #  coordinates using the focal lengths (fx', fy') and principal point\n\
00528 #  (cx', cy') - these may differ from the values in K.\n\
00529 # For monocular cameras, Tx = Ty = 0. Normally, monocular cameras will\n\
00530 #  also have R = the identity and P[1:3,1:3] = K.\n\
00531 # For a stereo pair, the fourth column [Tx Ty 0]' is related to the\n\
00532 #  position of the optical center of the second camera in the first\n\
00533 #  camera's frame. We assume Tz = 0 so both cameras are in the same\n\
00534 #  stereo image plane. The first camera always has Tx = Ty = 0. For\n\
00535 #  the right (second) camera of a horizontal stereo pair, Ty = 0 and\n\
00536 #  Tx = -fx' * B, where B is the baseline between the cameras.\n\
00537 # Given a 3D point [X Y Z]', the projection (x, y) of the point onto\n\
00538 #  the rectified image is given by:\n\
00539 #  [u v w]' = P * [X Y Z 1]'\n\
00540 #         x = u / w\n\
00541 #         y = v / w\n\
00542 #  This holds for both images of a stereo pair.\n\
00543 float64[12] P # 3x4 row-major matrix\n\
00544 \n\
00545 \n\
00546 #######################################################################\n\
00547 #                      Operational Parameters                         #\n\
00548 #######################################################################\n\
00549 # These define the image region actually captured by the camera       #\n\
00550 # driver. Although they affect the geometry of the output image, they #\n\
00551 # may be changed freely without recalibrating the camera.             #\n\
00552 #######################################################################\n\
00553 \n\
00554 # Binning refers here to any camera setting which combines rectangular\n\
00555 #  neighborhoods of pixels into larger \"super-pixels.\" It reduces the\n\
00556 #  resolution of the output image to\n\
00557 #  (width / binning_x) x (height / binning_y).\n\
00558 # The default values binning_x = binning_y = 0 is considered the same\n\
00559 #  as binning_x = binning_y = 1 (no subsampling).\n\
00560 uint32 binning_x\n\
00561 uint32 binning_y\n\
00562 \n\
00563 # Region of interest (subwindow of full camera resolution), given in\n\
00564 #  full resolution (unbinned) image coordinates. A particular ROI\n\
00565 #  always denotes the same window of pixels on the camera sensor,\n\
00566 #  regardless of binning settings.\n\
00567 # The default setting of roi (all values 0) is considered the same as\n\
00568 #  full resolution (roi.width = width, roi.height = height).\n\
00569 RegionOfInterest roi\n\
00570 \n\
00571 ================================================================================\n\
00572 MSG: sensor_msgs/RegionOfInterest\n\
00573 # This message is used to specify a region of interest within an image.\n\
00574 #\n\
00575 # When used to specify the ROI setting of the camera when the image was\n\
00576 # taken, the height and width fields should either match the height and\n\
00577 # width fields for the associated image; or height = width = 0\n\
00578 # indicates that the full resolution image was captured.\n\
00579 \n\
00580 uint32 x_offset  # Leftmost pixel of the ROI\n\
00581                  # (0 if the ROI includes the left edge of the image)\n\
00582 uint32 y_offset  # Topmost pixel of the ROI\n\
00583                  # (0 if the ROI includes the top edge of the image)\n\
00584 uint32 height    # Height of ROI\n\
00585 uint32 width     # Width of ROI\n\
00586 \n\
00587 # True if a distinct rectified ROI should be calculated from the \"raw\"\n\
00588 # ROI in this message. Typically this should be False if the full image\n\
00589 # is captured (ROI not used), and True if a subwindow is captured (ROI\n\
00590 # used).\n\
00591 bool do_rectify\n\
00592 \n\
00593 ================================================================================\n\
00594 MSG: geometry_msgs/Vector3\n\
00595 # This represents a vector in free space. \n\
00596 \n\
00597 float64 x\n\
00598 float64 y\n\
00599 float64 z\n\
00600 ";
00601   }
00602 
00603   static const char* value(const  ::pr2_pick_and_place_service::PickPlaceResponse_<ContainerAllocator> &) { return value(); } 
00604 };
00605 
00606 } // namespace message_traits
00607 } // namespace ros
00608 
00609 namespace ros
00610 {
00611 namespace serialization
00612 {
00613 
00614 template<class ContainerAllocator> struct Serializer< ::pr2_pick_and_place_service::PickPlaceRequest_<ContainerAllocator> >
00615 {
00616   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00617   {
00618     stream.next(m.command);
00619     stream.next(m.arg);
00620   }
00621 
00622   ROS_DECLARE_ALLINONE_SERIALIZER;
00623 }; // struct PickPlaceRequest_
00624 } // namespace serialization
00625 } // namespace ros
00626 
00627 
00628 namespace ros
00629 {
00630 namespace serialization
00631 {
00632 
00633 template<class ContainerAllocator> struct Serializer< ::pr2_pick_and_place_service::PickPlaceResponse_<ContainerAllocator> >
00634 {
00635   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00636   {
00637     stream.next(m.response);
00638     stream.next(m.objects);
00639   }
00640 
00641   ROS_DECLARE_ALLINONE_SERIALIZER;
00642 }; // struct PickPlaceResponse_
00643 } // namespace serialization
00644 } // namespace ros
00645 
00646 namespace ros
00647 {
00648 namespace service_traits
00649 {
00650 template<>
00651 struct MD5Sum<pr2_pick_and_place_service::PickPlace> {
00652   static const char* value() 
00653   {
00654     return "ed796eaf203a95fd847bb7dfd92ee619";
00655   }
00656 
00657   static const char* value(const pr2_pick_and_place_service::PickPlace&) { return value(); } 
00658 };
00659 
00660 template<>
00661 struct DataType<pr2_pick_and_place_service::PickPlace> {
00662   static const char* value() 
00663   {
00664     return "pr2_pick_and_place_service/PickPlace";
00665   }
00666 
00667   static const char* value(const pr2_pick_and_place_service::PickPlace&) { return value(); } 
00668 };
00669 
00670 template<class ContainerAllocator>
00671 struct MD5Sum<pr2_pick_and_place_service::PickPlaceRequest_<ContainerAllocator> > {
00672   static const char* value() 
00673   {
00674     return "ed796eaf203a95fd847bb7dfd92ee619";
00675   }
00676 
00677   static const char* value(const pr2_pick_and_place_service::PickPlaceRequest_<ContainerAllocator> &) { return value(); } 
00678 };
00679 
00680 template<class ContainerAllocator>
00681 struct DataType<pr2_pick_and_place_service::PickPlaceRequest_<ContainerAllocator> > {
00682   static const char* value() 
00683   {
00684     return "pr2_pick_and_place_service/PickPlace";
00685   }
00686 
00687   static const char* value(const pr2_pick_and_place_service::PickPlaceRequest_<ContainerAllocator> &) { return value(); } 
00688 };
00689 
00690 template<class ContainerAllocator>
00691 struct MD5Sum<pr2_pick_and_place_service::PickPlaceResponse_<ContainerAllocator> > {
00692   static const char* value() 
00693   {
00694     return "ed796eaf203a95fd847bb7dfd92ee619";
00695   }
00696 
00697   static const char* value(const pr2_pick_and_place_service::PickPlaceResponse_<ContainerAllocator> &) { return value(); } 
00698 };
00699 
00700 template<class ContainerAllocator>
00701 struct DataType<pr2_pick_and_place_service::PickPlaceResponse_<ContainerAllocator> > {
00702   static const char* value() 
00703   {
00704     return "pr2_pick_and_place_service/PickPlace";
00705   }
00706 
00707   static const char* value(const pr2_pick_and_place_service::PickPlaceResponse_<ContainerAllocator> &) { return value(); } 
00708 };
00709 
00710 } // namespace service_traits
00711 } // namespace ros
00712 
00713 #endif // PR2_PICK_AND_PLACE_SERVICE_SERVICE_PICKPLACE_H
00714 


pr2_pick_and_place_service
Author(s): Sarah Osentoski
autogenerated on Sun Jan 5 2014 11:28:37