ReactiveGraspAction.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-object_manipulation/doc_stacks/2014-01-02_11-30-37.444899/object_manipulation/object_manipulation_msgs/msg/ReactiveGraspAction.msg */
00002 #ifndef OBJECT_MANIPULATION_MSGS_MESSAGE_REACTIVEGRASPACTION_H
00003 #define OBJECT_MANIPULATION_MSGS_MESSAGE_REACTIVEGRASPACTION_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 "object_manipulation_msgs/ReactiveGraspActionGoal.h"
00018 #include "object_manipulation_msgs/ReactiveGraspActionResult.h"
00019 #include "object_manipulation_msgs/ReactiveGraspActionFeedback.h"
00020 
00021 namespace object_manipulation_msgs
00022 {
00023 template <class ContainerAllocator>
00024 struct ReactiveGraspAction_ {
00025   typedef ReactiveGraspAction_<ContainerAllocator> Type;
00026 
00027   ReactiveGraspAction_()
00028   : action_goal()
00029   , action_result()
00030   , action_feedback()
00031   {
00032   }
00033 
00034   ReactiveGraspAction_(const ContainerAllocator& _alloc)
00035   : action_goal(_alloc)
00036   , action_result(_alloc)
00037   , action_feedback(_alloc)
00038   {
00039   }
00040 
00041   typedef  ::object_manipulation_msgs::ReactiveGraspActionGoal_<ContainerAllocator>  _action_goal_type;
00042    ::object_manipulation_msgs::ReactiveGraspActionGoal_<ContainerAllocator>  action_goal;
00043 
00044   typedef  ::object_manipulation_msgs::ReactiveGraspActionResult_<ContainerAllocator>  _action_result_type;
00045    ::object_manipulation_msgs::ReactiveGraspActionResult_<ContainerAllocator>  action_result;
00046 
00047   typedef  ::object_manipulation_msgs::ReactiveGraspActionFeedback_<ContainerAllocator>  _action_feedback_type;
00048    ::object_manipulation_msgs::ReactiveGraspActionFeedback_<ContainerAllocator>  action_feedback;
00049 
00050 
00051   typedef boost::shared_ptr< ::object_manipulation_msgs::ReactiveGraspAction_<ContainerAllocator> > Ptr;
00052   typedef boost::shared_ptr< ::object_manipulation_msgs::ReactiveGraspAction_<ContainerAllocator>  const> ConstPtr;
00053   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00054 }; // struct ReactiveGraspAction
00055 typedef  ::object_manipulation_msgs::ReactiveGraspAction_<std::allocator<void> > ReactiveGraspAction;
00056 
00057 typedef boost::shared_ptr< ::object_manipulation_msgs::ReactiveGraspAction> ReactiveGraspActionPtr;
00058 typedef boost::shared_ptr< ::object_manipulation_msgs::ReactiveGraspAction const> ReactiveGraspActionConstPtr;
00059 
00060 
00061 template<typename ContainerAllocator>
00062 std::ostream& operator<<(std::ostream& s, const  ::object_manipulation_msgs::ReactiveGraspAction_<ContainerAllocator> & v)
00063 {
00064   ros::message_operations::Printer< ::object_manipulation_msgs::ReactiveGraspAction_<ContainerAllocator> >::stream(s, "", v);
00065   return s;}
00066 
00067 } // namespace object_manipulation_msgs
00068 
00069 namespace ros
00070 {
00071 namespace message_traits
00072 {
00073 template<class ContainerAllocator> struct IsMessage< ::object_manipulation_msgs::ReactiveGraspAction_<ContainerAllocator> > : public TrueType {};
00074 template<class ContainerAllocator> struct IsMessage< ::object_manipulation_msgs::ReactiveGraspAction_<ContainerAllocator>  const> : public TrueType {};
00075 template<class ContainerAllocator>
00076 struct MD5Sum< ::object_manipulation_msgs::ReactiveGraspAction_<ContainerAllocator> > {
00077   static const char* value() 
00078   {
00079     return "52c8ac19491b8c70004f2fefd4dbedef";
00080   }
00081 
00082   static const char* value(const  ::object_manipulation_msgs::ReactiveGraspAction_<ContainerAllocator> &) { return value(); } 
00083   static const uint64_t static_value1 = 0x52c8ac19491b8c70ULL;
00084   static const uint64_t static_value2 = 0x004f2fefd4dbedefULL;
00085 };
00086 
00087 template<class ContainerAllocator>
00088 struct DataType< ::object_manipulation_msgs::ReactiveGraspAction_<ContainerAllocator> > {
00089   static const char* value() 
00090   {
00091     return "object_manipulation_msgs/ReactiveGraspAction";
00092   }
00093 
00094   static const char* value(const  ::object_manipulation_msgs::ReactiveGraspAction_<ContainerAllocator> &) { return value(); } 
00095 };
00096 
00097 template<class ContainerAllocator>
00098 struct Definition< ::object_manipulation_msgs::ReactiveGraspAction_<ContainerAllocator> > {
00099   static const char* value() 
00100   {
00101     return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00102 \n\
00103 ReactiveGraspActionGoal action_goal\n\
00104 ReactiveGraspActionResult action_result\n\
00105 ReactiveGraspActionFeedback action_feedback\n\
00106 \n\
00107 ================================================================================\n\
00108 MSG: object_manipulation_msgs/ReactiveGraspActionGoal\n\
00109 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00110 \n\
00111 Header header\n\
00112 actionlib_msgs/GoalID goal_id\n\
00113 ReactiveGraspGoal goal\n\
00114 \n\
00115 ================================================================================\n\
00116 MSG: std_msgs/Header\n\
00117 # Standard metadata for higher-level stamped data types.\n\
00118 # This is generally used to communicate timestamped data \n\
00119 # in a particular coordinate frame.\n\
00120 # \n\
00121 # sequence ID: consecutively increasing ID \n\
00122 uint32 seq\n\
00123 #Two-integer timestamp that is expressed as:\n\
00124 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00125 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00126 # time-handling sugar is provided by the client library\n\
00127 time stamp\n\
00128 #Frame this data is associated with\n\
00129 # 0: no frame\n\
00130 # 1: global frame\n\
00131 string frame_id\n\
00132 \n\
00133 ================================================================================\n\
00134 MSG: actionlib_msgs/GoalID\n\
00135 # The stamp should store the time at which this goal was requested.\n\
00136 # It is used by an action server when it tries to preempt all\n\
00137 # goals that were requested before a certain time\n\
00138 time stamp\n\
00139 \n\
00140 # The id provides a way to associate feedback and\n\
00141 # result message with specific goal requests. The id\n\
00142 # specified must be unique.\n\
00143 string id\n\
00144 \n\
00145 \n\
00146 ================================================================================\n\
00147 MSG: object_manipulation_msgs/ReactiveGraspGoal\n\
00148 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00149 # an action for reactive grasping\n\
00150 # a reactive grasp starts from the current pose of the gripper and ends\n\
00151 # at a desired grasp pose, presumably using the touch sensors along the way\n\
00152 \n\
00153 # the name of the arm being used\n\
00154 string arm_name\n\
00155 \n\
00156 # the object to be grasped\n\
00157 GraspableObject target\n\
00158 \n\
00159 # the desired grasp pose for the hand\n\
00160 geometry_msgs/PoseStamped final_grasp_pose\n\
00161 \n\
00162 # the joint trajectory to use for the approach (if available)\n\
00163 # this trajectory is expected to start at the current pose of the gripper\n\
00164 # and end at the desired grasp pose\n\
00165 trajectory_msgs/JointTrajectory trajectory\n\
00166 \n\
00167 # the name of the support surface in the collision environment, if any\n\
00168 string collision_support_surface_name\n\
00169 \n\
00170 # The internal posture of the hand for the pre-grasp\n\
00171 # only positions are used\n\
00172 sensor_msgs/JointState pre_grasp_posture\n\
00173 \n\
00174 # The internal posture of the hand for the grasp\n\
00175 # positions and efforts are used\n\
00176 sensor_msgs/JointState grasp_posture\n\
00177 \n\
00178 # The max contact force to use while grasping (<=0 to disable)\n\
00179 float32 max_contact_force\n\
00180 \n\
00181 \n\
00182 ================================================================================\n\
00183 MSG: object_manipulation_msgs/GraspableObject\n\
00184 # an object that the object_manipulator can work on\n\
00185 \n\
00186 # a graspable object can be represented in multiple ways. This message\n\
00187 # can contain all of them. Which one is actually used is up to the receiver\n\
00188 # of this message. When adding new representations, one must be careful that\n\
00189 # they have reasonable lightweight defaults indicating that that particular\n\
00190 # representation is not available.\n\
00191 \n\
00192 # the tf frame to be used as a reference frame when combining information from\n\
00193 # the different representations below\n\
00194 string reference_frame_id\n\
00195 \n\
00196 # potential recognition results from a database of models\n\
00197 # all poses are relative to the object reference pose\n\
00198 household_objects_database_msgs/DatabaseModelPose[] potential_models\n\
00199 \n\
00200 # the point cloud itself\n\
00201 sensor_msgs/PointCloud cluster\n\
00202 \n\
00203 # a region of a PointCloud2 of interest\n\
00204 object_manipulation_msgs/SceneRegion region\n\
00205 \n\
00206 # the name that this object has in the collision environment\n\
00207 string collision_name\n\
00208 ================================================================================\n\
00209 MSG: household_objects_database_msgs/DatabaseModelPose\n\
00210 # Informs that a specific model from the Model Database has been \n\
00211 # identified at a certain location\n\
00212 \n\
00213 # the database id of the model\n\
00214 int32 model_id\n\
00215 \n\
00216 # the pose that it can be found in\n\
00217 geometry_msgs/PoseStamped pose\n\
00218 \n\
00219 # a measure of the confidence level in this detection result\n\
00220 float32 confidence\n\
00221 \n\
00222 # the name of the object detector that generated this detection result\n\
00223 string detector_name\n\
00224 \n\
00225 ================================================================================\n\
00226 MSG: geometry_msgs/PoseStamped\n\
00227 # A Pose with reference coordinate frame and timestamp\n\
00228 Header header\n\
00229 Pose pose\n\
00230 \n\
00231 ================================================================================\n\
00232 MSG: geometry_msgs/Pose\n\
00233 # A representation of pose in free space, composed of postion and orientation. \n\
00234 Point position\n\
00235 Quaternion orientation\n\
00236 \n\
00237 ================================================================================\n\
00238 MSG: geometry_msgs/Point\n\
00239 # This contains the position of a point in free space\n\
00240 float64 x\n\
00241 float64 y\n\
00242 float64 z\n\
00243 \n\
00244 ================================================================================\n\
00245 MSG: geometry_msgs/Quaternion\n\
00246 # This represents an orientation in free space in quaternion form.\n\
00247 \n\
00248 float64 x\n\
00249 float64 y\n\
00250 float64 z\n\
00251 float64 w\n\
00252 \n\
00253 ================================================================================\n\
00254 MSG: sensor_msgs/PointCloud\n\
00255 # This message holds a collection of 3d points, plus optional additional\n\
00256 # information about each point.\n\
00257 \n\
00258 # Time of sensor data acquisition, coordinate frame ID.\n\
00259 Header header\n\
00260 \n\
00261 # Array of 3d points. Each Point32 should be interpreted as a 3d point\n\
00262 # in the frame given in the header.\n\
00263 geometry_msgs/Point32[] points\n\
00264 \n\
00265 # Each channel should have the same number of elements as points array,\n\
00266 # and the data in each channel should correspond 1:1 with each point.\n\
00267 # Channel names in common practice are listed in ChannelFloat32.msg.\n\
00268 ChannelFloat32[] channels\n\
00269 \n\
00270 ================================================================================\n\
00271 MSG: geometry_msgs/Point32\n\
00272 # This contains the position of a point in free space(with 32 bits of precision).\n\
00273 # It is recommeded to use Point wherever possible instead of Point32.  \n\
00274 # \n\
00275 # This recommendation is to promote interoperability.  \n\
00276 #\n\
00277 # This message is designed to take up less space when sending\n\
00278 # lots of points at once, as in the case of a PointCloud.  \n\
00279 \n\
00280 float32 x\n\
00281 float32 y\n\
00282 float32 z\n\
00283 ================================================================================\n\
00284 MSG: sensor_msgs/ChannelFloat32\n\
00285 # This message is used by the PointCloud message to hold optional data\n\
00286 # associated with each point in the cloud. The length of the values\n\
00287 # array should be the same as the length of the points array in the\n\
00288 # PointCloud, and each value should be associated with the corresponding\n\
00289 # point.\n\
00290 \n\
00291 # Channel names in existing practice include:\n\
00292 #   \"u\", \"v\" - row and column (respectively) in the left stereo image.\n\
00293 #              This is opposite to usual conventions but remains for\n\
00294 #              historical reasons. The newer PointCloud2 message has no\n\
00295 #              such problem.\n\
00296 #   \"rgb\" - For point clouds produced by color stereo cameras. uint8\n\
00297 #           (R,G,B) values packed into the least significant 24 bits,\n\
00298 #           in order.\n\
00299 #   \"intensity\" - laser or pixel intensity.\n\
00300 #   \"distance\"\n\
00301 \n\
00302 # The channel name should give semantics of the channel (e.g.\n\
00303 # \"intensity\" instead of \"value\").\n\
00304 string name\n\
00305 \n\
00306 # The values array should be 1-1 with the elements of the associated\n\
00307 # PointCloud.\n\
00308 float32[] values\n\
00309 \n\
00310 ================================================================================\n\
00311 MSG: object_manipulation_msgs/SceneRegion\n\
00312 # Point cloud\n\
00313 sensor_msgs/PointCloud2 cloud\n\
00314 \n\
00315 # Indices for the region of interest\n\
00316 int32[] mask\n\
00317 \n\
00318 # One of the corresponding 2D images, if applicable\n\
00319 sensor_msgs/Image image\n\
00320 \n\
00321 # The disparity image, if applicable\n\
00322 sensor_msgs/Image disparity_image\n\
00323 \n\
00324 # Camera info for the camera that took the image\n\
00325 sensor_msgs/CameraInfo cam_info\n\
00326 \n\
00327 # a 3D region of interest for grasp planning\n\
00328 geometry_msgs/PoseStamped  roi_box_pose\n\
00329 geometry_msgs/Vector3      roi_box_dims\n\
00330 \n\
00331 ================================================================================\n\
00332 MSG: sensor_msgs/PointCloud2\n\
00333 # This message holds a collection of N-dimensional points, which may\n\
00334 # contain additional information such as normals, intensity, etc. The\n\
00335 # point data is stored as a binary blob, its layout described by the\n\
00336 # contents of the \"fields\" array.\n\
00337 \n\
00338 # The point cloud data may be organized 2d (image-like) or 1d\n\
00339 # (unordered). Point clouds organized as 2d images may be produced by\n\
00340 # camera depth sensors such as stereo or time-of-flight.\n\
00341 \n\
00342 # Time of sensor data acquisition, and the coordinate frame ID (for 3d\n\
00343 # points).\n\
00344 Header header\n\
00345 \n\
00346 # 2D structure of the point cloud. If the cloud is unordered, height is\n\
00347 # 1 and width is the length of the point cloud.\n\
00348 uint32 height\n\
00349 uint32 width\n\
00350 \n\
00351 # Describes the channels and their layout in the binary data blob.\n\
00352 PointField[] fields\n\
00353 \n\
00354 bool    is_bigendian # Is this data bigendian?\n\
00355 uint32  point_step   # Length of a point in bytes\n\
00356 uint32  row_step     # Length of a row in bytes\n\
00357 uint8[] data         # Actual point data, size is (row_step*height)\n\
00358 \n\
00359 bool is_dense        # True if there are no invalid points\n\
00360 \n\
00361 ================================================================================\n\
00362 MSG: sensor_msgs/PointField\n\
00363 # This message holds the description of one point entry in the\n\
00364 # PointCloud2 message format.\n\
00365 uint8 INT8    = 1\n\
00366 uint8 UINT8   = 2\n\
00367 uint8 INT16   = 3\n\
00368 uint8 UINT16  = 4\n\
00369 uint8 INT32   = 5\n\
00370 uint8 UINT32  = 6\n\
00371 uint8 FLOAT32 = 7\n\
00372 uint8 FLOAT64 = 8\n\
00373 \n\
00374 string name      # Name of field\n\
00375 uint32 offset    # Offset from start of point struct\n\
00376 uint8  datatype  # Datatype enumeration, see above\n\
00377 uint32 count     # How many elements in the field\n\
00378 \n\
00379 ================================================================================\n\
00380 MSG: sensor_msgs/Image\n\
00381 # This message contains an uncompressed image\n\
00382 # (0, 0) is at top-left corner of image\n\
00383 #\n\
00384 \n\
00385 Header header        # Header timestamp should be acquisition time of image\n\
00386                      # Header frame_id should be optical frame of camera\n\
00387                      # origin of frame should be optical center of cameara\n\
00388                      # +x should point to the right in the image\n\
00389                      # +y should point down in the image\n\
00390                      # +z should point into to plane of the image\n\
00391                      # If the frame_id here and the frame_id of the CameraInfo\n\
00392                      # message associated with the image conflict\n\
00393                      # the behavior is undefined\n\
00394 \n\
00395 uint32 height         # image height, that is, number of rows\n\
00396 uint32 width          # image width, that is, number of columns\n\
00397 \n\
00398 # The legal values for encoding are in file src/image_encodings.cpp\n\
00399 # If you want to standardize a new string format, join\n\
00400 # ros-users@lists.sourceforge.net and send an email proposing a new encoding.\n\
00401 \n\
00402 string encoding       # Encoding of pixels -- channel meaning, ordering, size\n\
00403                       # taken from the list of strings in src/image_encodings.cpp\n\
00404 \n\
00405 uint8 is_bigendian    # is this data bigendian?\n\
00406 uint32 step           # Full row length in bytes\n\
00407 uint8[] data          # actual matrix data, size is (step * rows)\n\
00408 \n\
00409 ================================================================================\n\
00410 MSG: sensor_msgs/CameraInfo\n\
00411 # This message defines meta information for a camera. It should be in a\n\
00412 # camera namespace on topic \"camera_info\" and accompanied by up to five\n\
00413 # image topics named:\n\
00414 #\n\
00415 #   image_raw - raw data from the camera driver, possibly Bayer encoded\n\
00416 #   image            - monochrome, distorted\n\
00417 #   image_color      - color, distorted\n\
00418 #   image_rect       - monochrome, rectified\n\
00419 #   image_rect_color - color, rectified\n\
00420 #\n\
00421 # The image_pipeline contains packages (image_proc, stereo_image_proc)\n\
00422 # for producing the four processed image topics from image_raw and\n\
00423 # camera_info. The meaning of the camera parameters are described in\n\
00424 # detail at http://www.ros.org/wiki/image_pipeline/CameraInfo.\n\
00425 #\n\
00426 # The image_geometry package provides a user-friendly interface to\n\
00427 # common operations using this meta information. If you want to, e.g.,\n\
00428 # project a 3d point into image coordinates, we strongly recommend\n\
00429 # using image_geometry.\n\
00430 #\n\
00431 # If the camera is uncalibrated, the matrices D, K, R, P should be left\n\
00432 # zeroed out. In particular, clients may assume that K[0] == 0.0\n\
00433 # indicates an uncalibrated camera.\n\
00434 \n\
00435 #######################################################################\n\
00436 #                     Image acquisition info                          #\n\
00437 #######################################################################\n\
00438 \n\
00439 # Time of image acquisition, camera coordinate frame ID\n\
00440 Header header    # Header timestamp should be acquisition time of image\n\
00441                  # Header frame_id should be optical frame of camera\n\
00442                  # origin of frame should be optical center of camera\n\
00443                  # +x should point to the right in the image\n\
00444                  # +y should point down in the image\n\
00445                  # +z should point into the plane of the image\n\
00446 \n\
00447 \n\
00448 #######################################################################\n\
00449 #                      Calibration Parameters                         #\n\
00450 #######################################################################\n\
00451 # These are fixed during camera calibration. Their values will be the #\n\
00452 # same in all messages until the camera is recalibrated. Note that    #\n\
00453 # self-calibrating systems may \"recalibrate\" frequently.              #\n\
00454 #                                                                     #\n\
00455 # The internal parameters can be used to warp a raw (distorted) image #\n\
00456 # to:                                                                 #\n\
00457 #   1. An undistorted image (requires D and K)                        #\n\
00458 #   2. A rectified image (requires D, K, R)                           #\n\
00459 # The projection matrix P projects 3D points into the rectified image.#\n\
00460 #######################################################################\n\
00461 \n\
00462 # The image dimensions with which the camera was calibrated. Normally\n\
00463 # this will be the full camera resolution in pixels.\n\
00464 uint32 height\n\
00465 uint32 width\n\
00466 \n\
00467 # The distortion model used. Supported models are listed in\n\
00468 # sensor_msgs/distortion_models.h. For most cameras, \"plumb_bob\" - a\n\
00469 # simple model of radial and tangential distortion - is sufficent.\n\
00470 string distortion_model\n\
00471 \n\
00472 # The distortion parameters, size depending on the distortion model.\n\
00473 # For \"plumb_bob\", the 5 parameters are: (k1, k2, t1, t2, k3).\n\
00474 float64[] D\n\
00475 \n\
00476 # Intrinsic camera matrix for the raw (distorted) images.\n\
00477 #     [fx  0 cx]\n\
00478 # K = [ 0 fy cy]\n\
00479 #     [ 0  0  1]\n\
00480 # Projects 3D points in the camera coordinate frame to 2D pixel\n\
00481 # coordinates using the focal lengths (fx, fy) and principal point\n\
00482 # (cx, cy).\n\
00483 float64[9]  K # 3x3 row-major matrix\n\
00484 \n\
00485 # Rectification matrix (stereo cameras only)\n\
00486 # A rotation matrix aligning the camera coordinate system to the ideal\n\
00487 # stereo image plane so that epipolar lines in both stereo images are\n\
00488 # parallel.\n\
00489 float64[9]  R # 3x3 row-major matrix\n\
00490 \n\
00491 # Projection/camera matrix\n\
00492 #     [fx'  0  cx' Tx]\n\
00493 # P = [ 0  fy' cy' Ty]\n\
00494 #     [ 0   0   1   0]\n\
00495 # By convention, this matrix specifies the intrinsic (camera) matrix\n\
00496 #  of the processed (rectified) image. That is, the left 3x3 portion\n\
00497 #  is the normal camera intrinsic matrix for the rectified image.\n\
00498 # It projects 3D points in the camera coordinate frame to 2D pixel\n\
00499 #  coordinates using the focal lengths (fx', fy') and principal point\n\
00500 #  (cx', cy') - these may differ from the values in K.\n\
00501 # For monocular cameras, Tx = Ty = 0. Normally, monocular cameras will\n\
00502 #  also have R = the identity and P[1:3,1:3] = K.\n\
00503 # For a stereo pair, the fourth column [Tx Ty 0]' is related to the\n\
00504 #  position of the optical center of the second camera in the first\n\
00505 #  camera's frame. We assume Tz = 0 so both cameras are in the same\n\
00506 #  stereo image plane. The first camera always has Tx = Ty = 0. For\n\
00507 #  the right (second) camera of a horizontal stereo pair, Ty = 0 and\n\
00508 #  Tx = -fx' * B, where B is the baseline between the cameras.\n\
00509 # Given a 3D point [X Y Z]', the projection (x, y) of the point onto\n\
00510 #  the rectified image is given by:\n\
00511 #  [u v w]' = P * [X Y Z 1]'\n\
00512 #         x = u / w\n\
00513 #         y = v / w\n\
00514 #  This holds for both images of a stereo pair.\n\
00515 float64[12] P # 3x4 row-major matrix\n\
00516 \n\
00517 \n\
00518 #######################################################################\n\
00519 #                      Operational Parameters                         #\n\
00520 #######################################################################\n\
00521 # These define the image region actually captured by the camera       #\n\
00522 # driver. Although they affect the geometry of the output image, they #\n\
00523 # may be changed freely without recalibrating the camera.             #\n\
00524 #######################################################################\n\
00525 \n\
00526 # Binning refers here to any camera setting which combines rectangular\n\
00527 #  neighborhoods of pixels into larger \"super-pixels.\" It reduces the\n\
00528 #  resolution of the output image to\n\
00529 #  (width / binning_x) x (height / binning_y).\n\
00530 # The default values binning_x = binning_y = 0 is considered the same\n\
00531 #  as binning_x = binning_y = 1 (no subsampling).\n\
00532 uint32 binning_x\n\
00533 uint32 binning_y\n\
00534 \n\
00535 # Region of interest (subwindow of full camera resolution), given in\n\
00536 #  full resolution (unbinned) image coordinates. A particular ROI\n\
00537 #  always denotes the same window of pixels on the camera sensor,\n\
00538 #  regardless of binning settings.\n\
00539 # The default setting of roi (all values 0) is considered the same as\n\
00540 #  full resolution (roi.width = width, roi.height = height).\n\
00541 RegionOfInterest roi\n\
00542 \n\
00543 ================================================================================\n\
00544 MSG: sensor_msgs/RegionOfInterest\n\
00545 # This message is used to specify a region of interest within an image.\n\
00546 #\n\
00547 # When used to specify the ROI setting of the camera when the image was\n\
00548 # taken, the height and width fields should either match the height and\n\
00549 # width fields for the associated image; or height = width = 0\n\
00550 # indicates that the full resolution image was captured.\n\
00551 \n\
00552 uint32 x_offset  # Leftmost pixel of the ROI\n\
00553                  # (0 if the ROI includes the left edge of the image)\n\
00554 uint32 y_offset  # Topmost pixel of the ROI\n\
00555                  # (0 if the ROI includes the top edge of the image)\n\
00556 uint32 height    # Height of ROI\n\
00557 uint32 width     # Width of ROI\n\
00558 \n\
00559 # True if a distinct rectified ROI should be calculated from the \"raw\"\n\
00560 # ROI in this message. Typically this should be False if the full image\n\
00561 # is captured (ROI not used), and True if a subwindow is captured (ROI\n\
00562 # used).\n\
00563 bool do_rectify\n\
00564 \n\
00565 ================================================================================\n\
00566 MSG: geometry_msgs/Vector3\n\
00567 # This represents a vector in free space. \n\
00568 \n\
00569 float64 x\n\
00570 float64 y\n\
00571 float64 z\n\
00572 ================================================================================\n\
00573 MSG: trajectory_msgs/JointTrajectory\n\
00574 Header header\n\
00575 string[] joint_names\n\
00576 JointTrajectoryPoint[] points\n\
00577 ================================================================================\n\
00578 MSG: trajectory_msgs/JointTrajectoryPoint\n\
00579 float64[] positions\n\
00580 float64[] velocities\n\
00581 float64[] accelerations\n\
00582 duration time_from_start\n\
00583 ================================================================================\n\
00584 MSG: sensor_msgs/JointState\n\
00585 # This is a message that holds data to describe the state of a set of torque controlled joints. \n\
00586 #\n\
00587 # The state of each joint (revolute or prismatic) is defined by:\n\
00588 #  * the position of the joint (rad or m),\n\
00589 #  * the velocity of the joint (rad/s or m/s) and \n\
00590 #  * the effort that is applied in the joint (Nm or N).\n\
00591 #\n\
00592 # Each joint is uniquely identified by its name\n\
00593 # The header specifies the time at which the joint states were recorded. All the joint states\n\
00594 # in one message have to be recorded at the same time.\n\
00595 #\n\
00596 # This message consists of a multiple arrays, one for each part of the joint state. \n\
00597 # The goal is to make each of the fields optional. When e.g. your joints have no\n\
00598 # effort associated with them, you can leave the effort array empty. \n\
00599 #\n\
00600 # All arrays in this message should have the same size, or be empty.\n\
00601 # This is the only way to uniquely associate the joint name with the correct\n\
00602 # states.\n\
00603 \n\
00604 \n\
00605 Header header\n\
00606 \n\
00607 string[] name\n\
00608 float64[] position\n\
00609 float64[] velocity\n\
00610 float64[] effort\n\
00611 \n\
00612 ================================================================================\n\
00613 MSG: object_manipulation_msgs/ReactiveGraspActionResult\n\
00614 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00615 \n\
00616 Header header\n\
00617 actionlib_msgs/GoalStatus status\n\
00618 ReactiveGraspResult result\n\
00619 \n\
00620 ================================================================================\n\
00621 MSG: actionlib_msgs/GoalStatus\n\
00622 GoalID goal_id\n\
00623 uint8 status\n\
00624 uint8 PENDING         = 0   # The goal has yet to be processed by the action server\n\
00625 uint8 ACTIVE          = 1   # The goal is currently being processed by the action server\n\
00626 uint8 PREEMPTED       = 2   # The goal received a cancel request after it started executing\n\
00627                             #   and has since completed its execution (Terminal State)\n\
00628 uint8 SUCCEEDED       = 3   # The goal was achieved successfully by the action server (Terminal State)\n\
00629 uint8 ABORTED         = 4   # The goal was aborted during execution by the action server due\n\
00630                             #    to some failure (Terminal State)\n\
00631 uint8 REJECTED        = 5   # The goal was rejected by the action server without being processed,\n\
00632                             #    because the goal was unattainable or invalid (Terminal State)\n\
00633 uint8 PREEMPTING      = 6   # The goal received a cancel request after it started executing\n\
00634                             #    and has not yet completed execution\n\
00635 uint8 RECALLING       = 7   # The goal received a cancel request before it started executing,\n\
00636                             #    but the action server has not yet confirmed that the goal is canceled\n\
00637 uint8 RECALLED        = 8   # The goal received a cancel request before it started executing\n\
00638                             #    and was successfully cancelled (Terminal State)\n\
00639 uint8 LOST            = 9   # An action client can determine that a goal is LOST. This should not be\n\
00640                             #    sent over the wire by an action server\n\
00641 \n\
00642 #Allow for the user to associate a string with GoalStatus for debugging\n\
00643 string text\n\
00644 \n\
00645 \n\
00646 ================================================================================\n\
00647 MSG: object_manipulation_msgs/ReactiveGraspResult\n\
00648 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00649 \n\
00650 # the result of the reactive grasp attempt\n\
00651 \n\
00652 ManipulationResult manipulation_result\n\
00653 \n\
00654 \n\
00655 ================================================================================\n\
00656 MSG: object_manipulation_msgs/ManipulationResult\n\
00657 # Result codes for manipulation tasks\n\
00658 \n\
00659 # task completed as expected\n\
00660 # generally means you can proceed as planned\n\
00661 int32 SUCCESS = 1\n\
00662 \n\
00663 # task not possible (e.g. out of reach or obstacles in the way)\n\
00664 # generally means that the world was not disturbed, so you can try another task\n\
00665 int32 UNFEASIBLE = -1\n\
00666 \n\
00667 # task was thought possible, but failed due to unexpected events during execution\n\
00668 # it is likely that the world was disturbed, so you are encouraged to refresh\n\
00669 # your sensed world model before proceeding to another task\n\
00670 int32 FAILED = -2\n\
00671 \n\
00672 # a lower level error prevented task completion (e.g. joint controller not responding)\n\
00673 # generally requires human attention\n\
00674 int32 ERROR = -3\n\
00675 \n\
00676 # means that at some point during execution we ended up in a state that the collision-aware\n\
00677 # arm navigation module will not move out of. The world was likely not disturbed, but you \n\
00678 # probably need a new collision map to move the arm out of the stuck position\n\
00679 int32 ARM_MOVEMENT_PREVENTED = -4\n\
00680 \n\
00681 # specific to grasp actions\n\
00682 # the object was grasped successfully, but the lift attempt could not achieve the minimum lift distance requested\n\
00683 # it is likely that the collision environment will see collisions between the hand/object and the support surface\n\
00684 int32 LIFT_FAILED = -5\n\
00685 \n\
00686 # specific to place actions\n\
00687 # the object was placed successfully, but the retreat attempt could not achieve the minimum retreat distance requested\n\
00688 # it is likely that the collision environment will see collisions between the hand and the object\n\
00689 int32 RETREAT_FAILED = -6\n\
00690 \n\
00691 # indicates that somewhere along the line a human said \"wait, stop, this is bad, go back and do something else\"\n\
00692 int32 CANCELLED = -7\n\
00693 \n\
00694 # the actual value of this error code\n\
00695 int32 value\n\
00696 \n\
00697 ================================================================================\n\
00698 MSG: object_manipulation_msgs/ReactiveGraspActionFeedback\n\
00699 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00700 \n\
00701 Header header\n\
00702 actionlib_msgs/GoalStatus status\n\
00703 ReactiveGraspFeedback feedback\n\
00704 \n\
00705 ================================================================================\n\
00706 MSG: object_manipulation_msgs/ReactiveGraspFeedback\n\
00707 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00708 \n\
00709 # which phase the grasp is in\n\
00710 \n\
00711 ManipulationPhase manipulation_phase\n\
00712 \n\
00713 \n\
00714 \n\
00715 \n\
00716 ================================================================================\n\
00717 MSG: object_manipulation_msgs/ManipulationPhase\n\
00718 int32 CHECKING_FEASIBILITY = 0\n\
00719 int32 MOVING_TO_PREGRASP = 1\n\
00720 int32 MOVING_TO_GRASP = 2\n\
00721 int32 CLOSING = 3 \n\
00722 int32 ADJUSTING_GRASP = 4\n\
00723 int32 LIFTING = 5\n\
00724 int32 MOVING_WITH_OBJECT = 6\n\
00725 int32 MOVING_TO_PLACE = 7\n\
00726 int32 PLACING = 8\n\
00727 int32 OPENING = 9\n\
00728 int32 RETREATING = 10\n\
00729 int32 MOVING_WITHOUT_OBJECT = 11\n\
00730 int32 SHAKING = 12\n\
00731 int32 SUCCEEDED = 13\n\
00732 int32 FAILED = 14\n\
00733 int32 ABORTED = 15\n\
00734 int32 HOLDING_OBJECT = 16\n\
00735 \n\
00736 int32 phase\n\
00737 ";
00738   }
00739 
00740   static const char* value(const  ::object_manipulation_msgs::ReactiveGraspAction_<ContainerAllocator> &) { return value(); } 
00741 };
00742 
00743 } // namespace message_traits
00744 } // namespace ros
00745 
00746 namespace ros
00747 {
00748 namespace serialization
00749 {
00750 
00751 template<class ContainerAllocator> struct Serializer< ::object_manipulation_msgs::ReactiveGraspAction_<ContainerAllocator> >
00752 {
00753   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00754   {
00755     stream.next(m.action_goal);
00756     stream.next(m.action_result);
00757     stream.next(m.action_feedback);
00758   }
00759 
00760   ROS_DECLARE_ALLINONE_SERIALIZER;
00761 }; // struct ReactiveGraspAction_
00762 } // namespace serialization
00763 } // namespace ros
00764 
00765 namespace ros
00766 {
00767 namespace message_operations
00768 {
00769 
00770 template<class ContainerAllocator>
00771 struct Printer< ::object_manipulation_msgs::ReactiveGraspAction_<ContainerAllocator> >
00772 {
00773   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::object_manipulation_msgs::ReactiveGraspAction_<ContainerAllocator> & v) 
00774   {
00775     s << indent << "action_goal: ";
00776 s << std::endl;
00777     Printer< ::object_manipulation_msgs::ReactiveGraspActionGoal_<ContainerAllocator> >::stream(s, indent + "  ", v.action_goal);
00778     s << indent << "action_result: ";
00779 s << std::endl;
00780     Printer< ::object_manipulation_msgs::ReactiveGraspActionResult_<ContainerAllocator> >::stream(s, indent + "  ", v.action_result);
00781     s << indent << "action_feedback: ";
00782 s << std::endl;
00783     Printer< ::object_manipulation_msgs::ReactiveGraspActionFeedback_<ContainerAllocator> >::stream(s, indent + "  ", v.action_feedback);
00784   }
00785 };
00786 
00787 
00788 } // namespace message_operations
00789 } // namespace ros
00790 
00791 #endif // OBJECT_MANIPULATION_MSGS_MESSAGE_REACTIVEGRASPACTION_H
00792 


object_manipulation_msgs
Author(s): Matei Ciocarlie
autogenerated on Thu Jan 2 2014 11:38:12