PickupAction.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/PickupAction.msg */
00002 #ifndef OBJECT_MANIPULATION_MSGS_MESSAGE_PICKUPACTION_H
00003 #define OBJECT_MANIPULATION_MSGS_MESSAGE_PICKUPACTION_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/PickupActionGoal.h"
00018 #include "object_manipulation_msgs/PickupActionResult.h"
00019 #include "object_manipulation_msgs/PickupActionFeedback.h"
00020 
00021 namespace object_manipulation_msgs
00022 {
00023 template <class ContainerAllocator>
00024 struct PickupAction_ {
00025   typedef PickupAction_<ContainerAllocator> Type;
00026 
00027   PickupAction_()
00028   : action_goal()
00029   , action_result()
00030   , action_feedback()
00031   {
00032   }
00033 
00034   PickupAction_(const ContainerAllocator& _alloc)
00035   : action_goal(_alloc)
00036   , action_result(_alloc)
00037   , action_feedback(_alloc)
00038   {
00039   }
00040 
00041   typedef  ::object_manipulation_msgs::PickupActionGoal_<ContainerAllocator>  _action_goal_type;
00042    ::object_manipulation_msgs::PickupActionGoal_<ContainerAllocator>  action_goal;
00043 
00044   typedef  ::object_manipulation_msgs::PickupActionResult_<ContainerAllocator>  _action_result_type;
00045    ::object_manipulation_msgs::PickupActionResult_<ContainerAllocator>  action_result;
00046 
00047   typedef  ::object_manipulation_msgs::PickupActionFeedback_<ContainerAllocator>  _action_feedback_type;
00048    ::object_manipulation_msgs::PickupActionFeedback_<ContainerAllocator>  action_feedback;
00049 
00050 
00051   typedef boost::shared_ptr< ::object_manipulation_msgs::PickupAction_<ContainerAllocator> > Ptr;
00052   typedef boost::shared_ptr< ::object_manipulation_msgs::PickupAction_<ContainerAllocator>  const> ConstPtr;
00053   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00054 }; // struct PickupAction
00055 typedef  ::object_manipulation_msgs::PickupAction_<std::allocator<void> > PickupAction;
00056 
00057 typedef boost::shared_ptr< ::object_manipulation_msgs::PickupAction> PickupActionPtr;
00058 typedef boost::shared_ptr< ::object_manipulation_msgs::PickupAction const> PickupActionConstPtr;
00059 
00060 
00061 template<typename ContainerAllocator>
00062 std::ostream& operator<<(std::ostream& s, const  ::object_manipulation_msgs::PickupAction_<ContainerAllocator> & v)
00063 {
00064   ros::message_operations::Printer< ::object_manipulation_msgs::PickupAction_<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::PickupAction_<ContainerAllocator> > : public TrueType {};
00074 template<class ContainerAllocator> struct IsMessage< ::object_manipulation_msgs::PickupAction_<ContainerAllocator>  const> : public TrueType {};
00075 template<class ContainerAllocator>
00076 struct MD5Sum< ::object_manipulation_msgs::PickupAction_<ContainerAllocator> > {
00077   static const char* value() 
00078   {
00079     return "09990218855ede96047d48c436f6201d";
00080   }
00081 
00082   static const char* value(const  ::object_manipulation_msgs::PickupAction_<ContainerAllocator> &) { return value(); } 
00083   static const uint64_t static_value1 = 0x09990218855ede96ULL;
00084   static const uint64_t static_value2 = 0x047d48c436f6201dULL;
00085 };
00086 
00087 template<class ContainerAllocator>
00088 struct DataType< ::object_manipulation_msgs::PickupAction_<ContainerAllocator> > {
00089   static const char* value() 
00090   {
00091     return "object_manipulation_msgs/PickupAction";
00092   }
00093 
00094   static const char* value(const  ::object_manipulation_msgs::PickupAction_<ContainerAllocator> &) { return value(); } 
00095 };
00096 
00097 template<class ContainerAllocator>
00098 struct Definition< ::object_manipulation_msgs::PickupAction_<ContainerAllocator> > {
00099   static const char* value() 
00100   {
00101     return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00102 \n\
00103 PickupActionGoal action_goal\n\
00104 PickupActionResult action_result\n\
00105 PickupActionFeedback action_feedback\n\
00106 \n\
00107 ================================================================================\n\
00108 MSG: object_manipulation_msgs/PickupActionGoal\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 PickupGoal 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/PickupGoal\n\
00148 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00149 # An action for picking up an object\n\
00150 \n\
00151 # which arm to be used for grasping\n\
00152 string arm_name\n\
00153 \n\
00154 # the object to be grasped\n\
00155 GraspableObject target\n\
00156 \n\
00157 # a list of grasps to be used\n\
00158 # if empty, the grasp executive will call one of its own planners\n\
00159 Grasp[] desired_grasps\n\
00160 \n\
00161 # how the object should be lifted after the grasp\n\
00162 # the frame_id that this lift is specified in MUST be either the robot_frame \n\
00163 # or the gripper_frame specified in your hand description file\n\
00164 GripperTranslation lift\n\
00165 \n\
00166 # the name that the target object has in the collision map\n\
00167 # can be left empty if no name is available\n\
00168 string collision_object_name\n\
00169 \n\
00170 # the name that the support surface (e.g. table) has in the collision map\n\
00171 # can be left empty if no name is available\n\
00172 string collision_support_surface_name\n\
00173 \n\
00174 # whether collisions between the gripper and the support surface should be acceptable\n\
00175 # during move from pre-grasp to grasp and during lift. Collisions when moving to the\n\
00176 # pre-grasp location are still not allowed even if this is set to true.\n\
00177 bool allow_gripper_support_collision\n\
00178 \n\
00179 # whether reactive grasp execution using tactile sensors should be used\n\
00180 bool use_reactive_execution\n\
00181 \n\
00182 # whether reactive object lifting based on tactile sensors should be used\n\
00183 bool use_reactive_lift\n\
00184 \n\
00185 # set this to true if you only want to query the manipulation pipeline as to what \n\
00186 # grasps it thinks are feasible, without actually executing them. If this is set to \n\
00187 # true, the atempted_grasp_results field of the result will be populated, but no arm \n\
00188 # movement will be attempted\n\
00189 bool only_perform_feasibility_test\n\
00190 \n\
00191 # set this to true if you want to ignore all collisions throughout the pickup \n\
00192 # and also move directly to the pre-grasp using Cartesian controllers\n\
00193 bool ignore_collisions\n\
00194 \n\
00195 # OPTIONAL (These will not have to be filled out most of the time)\n\
00196 # constraints to be imposed on every point in the motion of the arm\n\
00197 arm_navigation_msgs/Constraints path_constraints\n\
00198 \n\
00199 # OPTIONAL (These will not have to be filled out most of the time)\n\
00200 # additional collision operations to be used for every arm movement performed\n\
00201 # during grasping. Note that these will be added on top of (and thus overide) other \n\
00202 # collision operations that the grasping pipeline deems necessary. Should be used\n\
00203 # with care and only if special behaviors are desired\n\
00204 arm_navigation_msgs/OrderedCollisionOperations additional_collision_operations\n\
00205 \n\
00206 # OPTIONAL (These will not have to be filled out most of the time)\n\
00207 # additional link paddings to be used for every arm movement performed\n\
00208 # during grasping. Note that these will be added on top of (and thus overide) other \n\
00209 # link paddings that the grasping pipeline deems necessary. Should be used\n\
00210 # with care and only if special behaviors are desired\n\
00211 arm_navigation_msgs/LinkPadding[] additional_link_padding\n\
00212 \n\
00213 # an optional list of obstacles that we have semantic information about\n\
00214 # and that can be moved in the course of grasping\n\
00215 GraspableObject[] movable_obstacles\n\
00216 \n\
00217 # the maximum contact force to use while grasping (<=0 to disable)\n\
00218 float32 max_contact_force\n\
00219 \n\
00220 \n\
00221 ================================================================================\n\
00222 MSG: object_manipulation_msgs/GraspableObject\n\
00223 # an object that the object_manipulator can work on\n\
00224 \n\
00225 # a graspable object can be represented in multiple ways. This message\n\
00226 # can contain all of them. Which one is actually used is up to the receiver\n\
00227 # of this message. When adding new representations, one must be careful that\n\
00228 # they have reasonable lightweight defaults indicating that that particular\n\
00229 # representation is not available.\n\
00230 \n\
00231 # the tf frame to be used as a reference frame when combining information from\n\
00232 # the different representations below\n\
00233 string reference_frame_id\n\
00234 \n\
00235 # potential recognition results from a database of models\n\
00236 # all poses are relative to the object reference pose\n\
00237 household_objects_database_msgs/DatabaseModelPose[] potential_models\n\
00238 \n\
00239 # the point cloud itself\n\
00240 sensor_msgs/PointCloud cluster\n\
00241 \n\
00242 # a region of a PointCloud2 of interest\n\
00243 object_manipulation_msgs/SceneRegion region\n\
00244 \n\
00245 # the name that this object has in the collision environment\n\
00246 string collision_name\n\
00247 ================================================================================\n\
00248 MSG: household_objects_database_msgs/DatabaseModelPose\n\
00249 # Informs that a specific model from the Model Database has been \n\
00250 # identified at a certain location\n\
00251 \n\
00252 # the database id of the model\n\
00253 int32 model_id\n\
00254 \n\
00255 # the pose that it can be found in\n\
00256 geometry_msgs/PoseStamped pose\n\
00257 \n\
00258 # a measure of the confidence level in this detection result\n\
00259 float32 confidence\n\
00260 \n\
00261 # the name of the object detector that generated this detection result\n\
00262 string detector_name\n\
00263 \n\
00264 ================================================================================\n\
00265 MSG: geometry_msgs/PoseStamped\n\
00266 # A Pose with reference coordinate frame and timestamp\n\
00267 Header header\n\
00268 Pose pose\n\
00269 \n\
00270 ================================================================================\n\
00271 MSG: geometry_msgs/Pose\n\
00272 # A representation of pose in free space, composed of postion and orientation. \n\
00273 Point position\n\
00274 Quaternion orientation\n\
00275 \n\
00276 ================================================================================\n\
00277 MSG: geometry_msgs/Point\n\
00278 # This contains the position of a point in free space\n\
00279 float64 x\n\
00280 float64 y\n\
00281 float64 z\n\
00282 \n\
00283 ================================================================================\n\
00284 MSG: geometry_msgs/Quaternion\n\
00285 # This represents an orientation in free space in quaternion form.\n\
00286 \n\
00287 float64 x\n\
00288 float64 y\n\
00289 float64 z\n\
00290 float64 w\n\
00291 \n\
00292 ================================================================================\n\
00293 MSG: sensor_msgs/PointCloud\n\
00294 # This message holds a collection of 3d points, plus optional additional\n\
00295 # information about each point.\n\
00296 \n\
00297 # Time of sensor data acquisition, coordinate frame ID.\n\
00298 Header header\n\
00299 \n\
00300 # Array of 3d points. Each Point32 should be interpreted as a 3d point\n\
00301 # in the frame given in the header.\n\
00302 geometry_msgs/Point32[] points\n\
00303 \n\
00304 # Each channel should have the same number of elements as points array,\n\
00305 # and the data in each channel should correspond 1:1 with each point.\n\
00306 # Channel names in common practice are listed in ChannelFloat32.msg.\n\
00307 ChannelFloat32[] channels\n\
00308 \n\
00309 ================================================================================\n\
00310 MSG: geometry_msgs/Point32\n\
00311 # This contains the position of a point in free space(with 32 bits of precision).\n\
00312 # It is recommeded to use Point wherever possible instead of Point32.  \n\
00313 # \n\
00314 # This recommendation is to promote interoperability.  \n\
00315 #\n\
00316 # This message is designed to take up less space when sending\n\
00317 # lots of points at once, as in the case of a PointCloud.  \n\
00318 \n\
00319 float32 x\n\
00320 float32 y\n\
00321 float32 z\n\
00322 ================================================================================\n\
00323 MSG: sensor_msgs/ChannelFloat32\n\
00324 # This message is used by the PointCloud message to hold optional data\n\
00325 # associated with each point in the cloud. The length of the values\n\
00326 # array should be the same as the length of the points array in the\n\
00327 # PointCloud, and each value should be associated with the corresponding\n\
00328 # point.\n\
00329 \n\
00330 # Channel names in existing practice include:\n\
00331 #   \"u\", \"v\" - row and column (respectively) in the left stereo image.\n\
00332 #              This is opposite to usual conventions but remains for\n\
00333 #              historical reasons. The newer PointCloud2 message has no\n\
00334 #              such problem.\n\
00335 #   \"rgb\" - For point clouds produced by color stereo cameras. uint8\n\
00336 #           (R,G,B) values packed into the least significant 24 bits,\n\
00337 #           in order.\n\
00338 #   \"intensity\" - laser or pixel intensity.\n\
00339 #   \"distance\"\n\
00340 \n\
00341 # The channel name should give semantics of the channel (e.g.\n\
00342 # \"intensity\" instead of \"value\").\n\
00343 string name\n\
00344 \n\
00345 # The values array should be 1-1 with the elements of the associated\n\
00346 # PointCloud.\n\
00347 float32[] values\n\
00348 \n\
00349 ================================================================================\n\
00350 MSG: object_manipulation_msgs/SceneRegion\n\
00351 # Point cloud\n\
00352 sensor_msgs/PointCloud2 cloud\n\
00353 \n\
00354 # Indices for the region of interest\n\
00355 int32[] mask\n\
00356 \n\
00357 # One of the corresponding 2D images, if applicable\n\
00358 sensor_msgs/Image image\n\
00359 \n\
00360 # The disparity image, if applicable\n\
00361 sensor_msgs/Image disparity_image\n\
00362 \n\
00363 # Camera info for the camera that took the image\n\
00364 sensor_msgs/CameraInfo cam_info\n\
00365 \n\
00366 # a 3D region of interest for grasp planning\n\
00367 geometry_msgs/PoseStamped  roi_box_pose\n\
00368 geometry_msgs/Vector3      roi_box_dims\n\
00369 \n\
00370 ================================================================================\n\
00371 MSG: sensor_msgs/PointCloud2\n\
00372 # This message holds a collection of N-dimensional points, which may\n\
00373 # contain additional information such as normals, intensity, etc. The\n\
00374 # point data is stored as a binary blob, its layout described by the\n\
00375 # contents of the \"fields\" array.\n\
00376 \n\
00377 # The point cloud data may be organized 2d (image-like) or 1d\n\
00378 # (unordered). Point clouds organized as 2d images may be produced by\n\
00379 # camera depth sensors such as stereo or time-of-flight.\n\
00380 \n\
00381 # Time of sensor data acquisition, and the coordinate frame ID (for 3d\n\
00382 # points).\n\
00383 Header header\n\
00384 \n\
00385 # 2D structure of the point cloud. If the cloud is unordered, height is\n\
00386 # 1 and width is the length of the point cloud.\n\
00387 uint32 height\n\
00388 uint32 width\n\
00389 \n\
00390 # Describes the channels and their layout in the binary data blob.\n\
00391 PointField[] fields\n\
00392 \n\
00393 bool    is_bigendian # Is this data bigendian?\n\
00394 uint32  point_step   # Length of a point in bytes\n\
00395 uint32  row_step     # Length of a row in bytes\n\
00396 uint8[] data         # Actual point data, size is (row_step*height)\n\
00397 \n\
00398 bool is_dense        # True if there are no invalid points\n\
00399 \n\
00400 ================================================================================\n\
00401 MSG: sensor_msgs/PointField\n\
00402 # This message holds the description of one point entry in the\n\
00403 # PointCloud2 message format.\n\
00404 uint8 INT8    = 1\n\
00405 uint8 UINT8   = 2\n\
00406 uint8 INT16   = 3\n\
00407 uint8 UINT16  = 4\n\
00408 uint8 INT32   = 5\n\
00409 uint8 UINT32  = 6\n\
00410 uint8 FLOAT32 = 7\n\
00411 uint8 FLOAT64 = 8\n\
00412 \n\
00413 string name      # Name of field\n\
00414 uint32 offset    # Offset from start of point struct\n\
00415 uint8  datatype  # Datatype enumeration, see above\n\
00416 uint32 count     # How many elements in the field\n\
00417 \n\
00418 ================================================================================\n\
00419 MSG: sensor_msgs/Image\n\
00420 # This message contains an uncompressed image\n\
00421 # (0, 0) is at top-left corner of image\n\
00422 #\n\
00423 \n\
00424 Header header        # Header timestamp should be acquisition time of image\n\
00425                      # Header frame_id should be optical frame of camera\n\
00426                      # origin of frame should be optical center of cameara\n\
00427                      # +x should point to the right in the image\n\
00428                      # +y should point down in the image\n\
00429                      # +z should point into to plane of the image\n\
00430                      # If the frame_id here and the frame_id of the CameraInfo\n\
00431                      # message associated with the image conflict\n\
00432                      # the behavior is undefined\n\
00433 \n\
00434 uint32 height         # image height, that is, number of rows\n\
00435 uint32 width          # image width, that is, number of columns\n\
00436 \n\
00437 # The legal values for encoding are in file src/image_encodings.cpp\n\
00438 # If you want to standardize a new string format, join\n\
00439 # ros-users@lists.sourceforge.net and send an email proposing a new encoding.\n\
00440 \n\
00441 string encoding       # Encoding of pixels -- channel meaning, ordering, size\n\
00442                       # taken from the list of strings in src/image_encodings.cpp\n\
00443 \n\
00444 uint8 is_bigendian    # is this data bigendian?\n\
00445 uint32 step           # Full row length in bytes\n\
00446 uint8[] data          # actual matrix data, size is (step * rows)\n\
00447 \n\
00448 ================================================================================\n\
00449 MSG: sensor_msgs/CameraInfo\n\
00450 # This message defines meta information for a camera. It should be in a\n\
00451 # camera namespace on topic \"camera_info\" and accompanied by up to five\n\
00452 # image topics named:\n\
00453 #\n\
00454 #   image_raw - raw data from the camera driver, possibly Bayer encoded\n\
00455 #   image            - monochrome, distorted\n\
00456 #   image_color      - color, distorted\n\
00457 #   image_rect       - monochrome, rectified\n\
00458 #   image_rect_color - color, rectified\n\
00459 #\n\
00460 # The image_pipeline contains packages (image_proc, stereo_image_proc)\n\
00461 # for producing the four processed image topics from image_raw and\n\
00462 # camera_info. The meaning of the camera parameters are described in\n\
00463 # detail at http://www.ros.org/wiki/image_pipeline/CameraInfo.\n\
00464 #\n\
00465 # The image_geometry package provides a user-friendly interface to\n\
00466 # common operations using this meta information. If you want to, e.g.,\n\
00467 # project a 3d point into image coordinates, we strongly recommend\n\
00468 # using image_geometry.\n\
00469 #\n\
00470 # If the camera is uncalibrated, the matrices D, K, R, P should be left\n\
00471 # zeroed out. In particular, clients may assume that K[0] == 0.0\n\
00472 # indicates an uncalibrated camera.\n\
00473 \n\
00474 #######################################################################\n\
00475 #                     Image acquisition info                          #\n\
00476 #######################################################################\n\
00477 \n\
00478 # Time of image acquisition, camera coordinate frame ID\n\
00479 Header header    # Header timestamp should be acquisition time of image\n\
00480                  # Header frame_id should be optical frame of camera\n\
00481                  # origin of frame should be optical center of camera\n\
00482                  # +x should point to the right in the image\n\
00483                  # +y should point down in the image\n\
00484                  # +z should point into the plane of the image\n\
00485 \n\
00486 \n\
00487 #######################################################################\n\
00488 #                      Calibration Parameters                         #\n\
00489 #######################################################################\n\
00490 # These are fixed during camera calibration. Their values will be the #\n\
00491 # same in all messages until the camera is recalibrated. Note that    #\n\
00492 # self-calibrating systems may \"recalibrate\" frequently.              #\n\
00493 #                                                                     #\n\
00494 # The internal parameters can be used to warp a raw (distorted) image #\n\
00495 # to:                                                                 #\n\
00496 #   1. An undistorted image (requires D and K)                        #\n\
00497 #   2. A rectified image (requires D, K, R)                           #\n\
00498 # The projection matrix P projects 3D points into the rectified image.#\n\
00499 #######################################################################\n\
00500 \n\
00501 # The image dimensions with which the camera was calibrated. Normally\n\
00502 # this will be the full camera resolution in pixels.\n\
00503 uint32 height\n\
00504 uint32 width\n\
00505 \n\
00506 # The distortion model used. Supported models are listed in\n\
00507 # sensor_msgs/distortion_models.h. For most cameras, \"plumb_bob\" - a\n\
00508 # simple model of radial and tangential distortion - is sufficent.\n\
00509 string distortion_model\n\
00510 \n\
00511 # The distortion parameters, size depending on the distortion model.\n\
00512 # For \"plumb_bob\", the 5 parameters are: (k1, k2, t1, t2, k3).\n\
00513 float64[] D\n\
00514 \n\
00515 # Intrinsic camera matrix for the raw (distorted) images.\n\
00516 #     [fx  0 cx]\n\
00517 # K = [ 0 fy cy]\n\
00518 #     [ 0  0  1]\n\
00519 # Projects 3D points in the camera coordinate frame to 2D pixel\n\
00520 # coordinates using the focal lengths (fx, fy) and principal point\n\
00521 # (cx, cy).\n\
00522 float64[9]  K # 3x3 row-major matrix\n\
00523 \n\
00524 # Rectification matrix (stereo cameras only)\n\
00525 # A rotation matrix aligning the camera coordinate system to the ideal\n\
00526 # stereo image plane so that epipolar lines in both stereo images are\n\
00527 # parallel.\n\
00528 float64[9]  R # 3x3 row-major matrix\n\
00529 \n\
00530 # Projection/camera matrix\n\
00531 #     [fx'  0  cx' Tx]\n\
00532 # P = [ 0  fy' cy' Ty]\n\
00533 #     [ 0   0   1   0]\n\
00534 # By convention, this matrix specifies the intrinsic (camera) matrix\n\
00535 #  of the processed (rectified) image. That is, the left 3x3 portion\n\
00536 #  is the normal camera intrinsic matrix for the rectified image.\n\
00537 # It projects 3D points in the camera coordinate frame to 2D pixel\n\
00538 #  coordinates using the focal lengths (fx', fy') and principal point\n\
00539 #  (cx', cy') - these may differ from the values in K.\n\
00540 # For monocular cameras, Tx = Ty = 0. Normally, monocular cameras will\n\
00541 #  also have R = the identity and P[1:3,1:3] = K.\n\
00542 # For a stereo pair, the fourth column [Tx Ty 0]' is related to the\n\
00543 #  position of the optical center of the second camera in the first\n\
00544 #  camera's frame. We assume Tz = 0 so both cameras are in the same\n\
00545 #  stereo image plane. The first camera always has Tx = Ty = 0. For\n\
00546 #  the right (second) camera of a horizontal stereo pair, Ty = 0 and\n\
00547 #  Tx = -fx' * B, where B is the baseline between the cameras.\n\
00548 # Given a 3D point [X Y Z]', the projection (x, y) of the point onto\n\
00549 #  the rectified image is given by:\n\
00550 #  [u v w]' = P * [X Y Z 1]'\n\
00551 #         x = u / w\n\
00552 #         y = v / w\n\
00553 #  This holds for both images of a stereo pair.\n\
00554 float64[12] P # 3x4 row-major matrix\n\
00555 \n\
00556 \n\
00557 #######################################################################\n\
00558 #                      Operational Parameters                         #\n\
00559 #######################################################################\n\
00560 # These define the image region actually captured by the camera       #\n\
00561 # driver. Although they affect the geometry of the output image, they #\n\
00562 # may be changed freely without recalibrating the camera.             #\n\
00563 #######################################################################\n\
00564 \n\
00565 # Binning refers here to any camera setting which combines rectangular\n\
00566 #  neighborhoods of pixels into larger \"super-pixels.\" It reduces the\n\
00567 #  resolution of the output image to\n\
00568 #  (width / binning_x) x (height / binning_y).\n\
00569 # The default values binning_x = binning_y = 0 is considered the same\n\
00570 #  as binning_x = binning_y = 1 (no subsampling).\n\
00571 uint32 binning_x\n\
00572 uint32 binning_y\n\
00573 \n\
00574 # Region of interest (subwindow of full camera resolution), given in\n\
00575 #  full resolution (unbinned) image coordinates. A particular ROI\n\
00576 #  always denotes the same window of pixels on the camera sensor,\n\
00577 #  regardless of binning settings.\n\
00578 # The default setting of roi (all values 0) is considered the same as\n\
00579 #  full resolution (roi.width = width, roi.height = height).\n\
00580 RegionOfInterest roi\n\
00581 \n\
00582 ================================================================================\n\
00583 MSG: sensor_msgs/RegionOfInterest\n\
00584 # This message is used to specify a region of interest within an image.\n\
00585 #\n\
00586 # When used to specify the ROI setting of the camera when the image was\n\
00587 # taken, the height and width fields should either match the height and\n\
00588 # width fields for the associated image; or height = width = 0\n\
00589 # indicates that the full resolution image was captured.\n\
00590 \n\
00591 uint32 x_offset  # Leftmost pixel of the ROI\n\
00592                  # (0 if the ROI includes the left edge of the image)\n\
00593 uint32 y_offset  # Topmost pixel of the ROI\n\
00594                  # (0 if the ROI includes the top edge of the image)\n\
00595 uint32 height    # Height of ROI\n\
00596 uint32 width     # Width of ROI\n\
00597 \n\
00598 # True if a distinct rectified ROI should be calculated from the \"raw\"\n\
00599 # ROI in this message. Typically this should be False if the full image\n\
00600 # is captured (ROI not used), and True if a subwindow is captured (ROI\n\
00601 # used).\n\
00602 bool do_rectify\n\
00603 \n\
00604 ================================================================================\n\
00605 MSG: geometry_msgs/Vector3\n\
00606 # This represents a vector in free space. \n\
00607 \n\
00608 float64 x\n\
00609 float64 y\n\
00610 float64 z\n\
00611 ================================================================================\n\
00612 MSG: object_manipulation_msgs/Grasp\n\
00613 \n\
00614 # The internal posture of the hand for the pre-grasp\n\
00615 # only positions are used\n\
00616 sensor_msgs/JointState pre_grasp_posture\n\
00617 \n\
00618 # The internal posture of the hand for the grasp\n\
00619 # positions and efforts are used\n\
00620 sensor_msgs/JointState grasp_posture\n\
00621 \n\
00622 # The position of the end-effector for the grasp relative to a reference frame \n\
00623 # (that is always specified elsewhere, not in this message)\n\
00624 geometry_msgs/Pose grasp_pose\n\
00625 \n\
00626 # The estimated probability of success for this grasp\n\
00627 float64 success_probability\n\
00628 \n\
00629 # Debug flag to indicate that this grasp would be the best in its cluster\n\
00630 bool cluster_rep\n\
00631 \n\
00632 # how far the pre-grasp should ideally be away from the grasp\n\
00633 float32 desired_approach_distance\n\
00634 \n\
00635 # how much distance between pre-grasp and grasp must actually be feasible \n\
00636 # for the grasp not to be rejected\n\
00637 float32 min_approach_distance\n\
00638 \n\
00639 # an optional list of obstacles that we have semantic information about\n\
00640 # and that we expect might move in the course of executing this grasp\n\
00641 # the grasp planner is expected to make sure they move in an OK way; during\n\
00642 # execution, grasp executors will not check for collisions against these objects\n\
00643 GraspableObject[] moved_obstacles\n\
00644 \n\
00645 ================================================================================\n\
00646 MSG: sensor_msgs/JointState\n\
00647 # This is a message that holds data to describe the state of a set of torque controlled joints. \n\
00648 #\n\
00649 # The state of each joint (revolute or prismatic) is defined by:\n\
00650 #  * the position of the joint (rad or m),\n\
00651 #  * the velocity of the joint (rad/s or m/s) and \n\
00652 #  * the effort that is applied in the joint (Nm or N).\n\
00653 #\n\
00654 # Each joint is uniquely identified by its name\n\
00655 # The header specifies the time at which the joint states were recorded. All the joint states\n\
00656 # in one message have to be recorded at the same time.\n\
00657 #\n\
00658 # This message consists of a multiple arrays, one for each part of the joint state. \n\
00659 # The goal is to make each of the fields optional. When e.g. your joints have no\n\
00660 # effort associated with them, you can leave the effort array empty. \n\
00661 #\n\
00662 # All arrays in this message should have the same size, or be empty.\n\
00663 # This is the only way to uniquely associate the joint name with the correct\n\
00664 # states.\n\
00665 \n\
00666 \n\
00667 Header header\n\
00668 \n\
00669 string[] name\n\
00670 float64[] position\n\
00671 float64[] velocity\n\
00672 float64[] effort\n\
00673 \n\
00674 ================================================================================\n\
00675 MSG: object_manipulation_msgs/GripperTranslation\n\
00676 # defines a translation for the gripper, used in pickup or place tasks\n\
00677 # for example for lifting an object off a table or approaching the table for placing\n\
00678 \n\
00679 # the direction of the translation\n\
00680 geometry_msgs/Vector3Stamped direction\n\
00681 \n\
00682 # the desired translation distance\n\
00683 float32 desired_distance\n\
00684 \n\
00685 # the min distance that must be considered feasible before the\n\
00686 # grasp is even attempted\n\
00687 float32 min_distance\n\
00688 ================================================================================\n\
00689 MSG: geometry_msgs/Vector3Stamped\n\
00690 # This represents a Vector3 with reference coordinate frame and timestamp\n\
00691 Header header\n\
00692 Vector3 vector\n\
00693 \n\
00694 ================================================================================\n\
00695 MSG: arm_navigation_msgs/Constraints\n\
00696 # This message contains a list of motion planning constraints.\n\
00697 \n\
00698 arm_navigation_msgs/JointConstraint[] joint_constraints\n\
00699 arm_navigation_msgs/PositionConstraint[] position_constraints\n\
00700 arm_navigation_msgs/OrientationConstraint[] orientation_constraints\n\
00701 arm_navigation_msgs/VisibilityConstraint[] visibility_constraints\n\
00702 \n\
00703 ================================================================================\n\
00704 MSG: arm_navigation_msgs/JointConstraint\n\
00705 # Constrain the position of a joint to be within a certain bound\n\
00706 string joint_name\n\
00707 \n\
00708 # the bound to be achieved is [position - tolerance_below, position + tolerance_above]\n\
00709 float64 position\n\
00710 float64 tolerance_above\n\
00711 float64 tolerance_below\n\
00712 \n\
00713 # A weighting factor for this constraint\n\
00714 float64 weight\n\
00715 ================================================================================\n\
00716 MSG: arm_navigation_msgs/PositionConstraint\n\
00717 # This message contains the definition of a position constraint.\n\
00718 Header header\n\
00719 \n\
00720 # The robot link this constraint refers to\n\
00721 string link_name\n\
00722 \n\
00723 # The offset (in the link frame) for the target point on the link we are planning for\n\
00724 geometry_msgs/Point target_point_offset\n\
00725 \n\
00726 # The nominal/target position for the point we are planning for\n\
00727 geometry_msgs/Point position\n\
00728 \n\
00729 # The shape of the bounded region that constrains the position of the end-effector\n\
00730 # This region is always centered at the position defined above\n\
00731 arm_navigation_msgs/Shape constraint_region_shape\n\
00732 \n\
00733 # The orientation of the bounded region that constrains the position of the end-effector. \n\
00734 # This allows the specification of non-axis aligned constraints\n\
00735 geometry_msgs/Quaternion constraint_region_orientation\n\
00736 \n\
00737 # Constraint weighting factor - a weight for this constraint\n\
00738 float64 weight\n\
00739 \n\
00740 ================================================================================\n\
00741 MSG: arm_navigation_msgs/Shape\n\
00742 byte SPHERE=0\n\
00743 byte BOX=1\n\
00744 byte CYLINDER=2\n\
00745 byte MESH=3\n\
00746 \n\
00747 byte type\n\
00748 \n\
00749 \n\
00750 #### define sphere, box, cylinder ####\n\
00751 # the origin of each shape is considered at the shape's center\n\
00752 \n\
00753 # for sphere\n\
00754 # radius := dimensions[0]\n\
00755 \n\
00756 # for cylinder\n\
00757 # radius := dimensions[0]\n\
00758 # length := dimensions[1]\n\
00759 # the length is along the Z axis\n\
00760 \n\
00761 # for box\n\
00762 # size_x := dimensions[0]\n\
00763 # size_y := dimensions[1]\n\
00764 # size_z := dimensions[2]\n\
00765 float64[] dimensions\n\
00766 \n\
00767 \n\
00768 #### define mesh ####\n\
00769 \n\
00770 # list of triangles; triangle k is defined by tre vertices located\n\
00771 # at indices triangles[3k], triangles[3k+1], triangles[3k+2]\n\
00772 int32[] triangles\n\
00773 geometry_msgs/Point[] vertices\n\
00774 \n\
00775 ================================================================================\n\
00776 MSG: arm_navigation_msgs/OrientationConstraint\n\
00777 # This message contains the definition of an orientation constraint.\n\
00778 Header header\n\
00779 \n\
00780 # The robot link this constraint refers to\n\
00781 string link_name\n\
00782 \n\
00783 # The type of the constraint\n\
00784 int32 type\n\
00785 int32 LINK_FRAME=0\n\
00786 int32 HEADER_FRAME=1\n\
00787 \n\
00788 # The desired orientation of the robot link specified as a quaternion\n\
00789 geometry_msgs/Quaternion orientation\n\
00790 \n\
00791 # optional RPY error tolerances specified if \n\
00792 float64 absolute_roll_tolerance\n\
00793 float64 absolute_pitch_tolerance\n\
00794 float64 absolute_yaw_tolerance\n\
00795 \n\
00796 # Constraint weighting factor - a weight for this constraint\n\
00797 float64 weight\n\
00798 \n\
00799 ================================================================================\n\
00800 MSG: arm_navigation_msgs/VisibilityConstraint\n\
00801 # This message contains the definition of a visibility constraint.\n\
00802 Header header\n\
00803 \n\
00804 # The point stamped target that needs to be kept within view of the sensor\n\
00805 geometry_msgs/PointStamped target\n\
00806 \n\
00807 # The local pose of the frame in which visibility is to be maintained\n\
00808 # The frame id should represent the robot link to which the sensor is attached\n\
00809 # The visual axis of the sensor is assumed to be along the X axis of this frame\n\
00810 geometry_msgs/PoseStamped sensor_pose\n\
00811 \n\
00812 # The deviation (in radians) that will be tolerated\n\
00813 # Constraint error will be measured as the solid angle between the \n\
00814 # X axis of the frame defined above and the vector between the origin \n\
00815 # of the frame defined above and the target location\n\
00816 float64 absolute_tolerance\n\
00817 \n\
00818 \n\
00819 ================================================================================\n\
00820 MSG: geometry_msgs/PointStamped\n\
00821 # This represents a Point with reference coordinate frame and timestamp\n\
00822 Header header\n\
00823 Point point\n\
00824 \n\
00825 ================================================================================\n\
00826 MSG: arm_navigation_msgs/OrderedCollisionOperations\n\
00827 # A set of collision operations that will be performed in the order they are specified\n\
00828 CollisionOperation[] collision_operations\n\
00829 ================================================================================\n\
00830 MSG: arm_navigation_msgs/CollisionOperation\n\
00831 # A definition of a collision operation\n\
00832 # E.g. (\"gripper\",COLLISION_SET_ALL,ENABLE) will enable collisions \n\
00833 # between the gripper and all objects in the collision space\n\
00834 \n\
00835 string object1\n\
00836 string object2\n\
00837 string COLLISION_SET_ALL=\"all\"\n\
00838 string COLLISION_SET_OBJECTS=\"objects\"\n\
00839 string COLLISION_SET_ATTACHED_OBJECTS=\"attached\"\n\
00840 \n\
00841 # The penetration distance to which collisions are allowed. This is 0.0 by default.\n\
00842 float64 penetration_distance\n\
00843 \n\
00844 # Flag that determines whether collisions will be enabled or disabled for the pair of objects specified above\n\
00845 int32 operation\n\
00846 int32 DISABLE=0\n\
00847 int32 ENABLE=1\n\
00848 \n\
00849 ================================================================================\n\
00850 MSG: arm_navigation_msgs/LinkPadding\n\
00851 #name for the link\n\
00852 string link_name\n\
00853 \n\
00854 # padding to apply to the link\n\
00855 float64 padding\n\
00856 \n\
00857 ================================================================================\n\
00858 MSG: object_manipulation_msgs/PickupActionResult\n\
00859 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00860 \n\
00861 Header header\n\
00862 actionlib_msgs/GoalStatus status\n\
00863 PickupResult result\n\
00864 \n\
00865 ================================================================================\n\
00866 MSG: actionlib_msgs/GoalStatus\n\
00867 GoalID goal_id\n\
00868 uint8 status\n\
00869 uint8 PENDING         = 0   # The goal has yet to be processed by the action server\n\
00870 uint8 ACTIVE          = 1   # The goal is currently being processed by the action server\n\
00871 uint8 PREEMPTED       = 2   # The goal received a cancel request after it started executing\n\
00872                             #   and has since completed its execution (Terminal State)\n\
00873 uint8 SUCCEEDED       = 3   # The goal was achieved successfully by the action server (Terminal State)\n\
00874 uint8 ABORTED         = 4   # The goal was aborted during execution by the action server due\n\
00875                             #    to some failure (Terminal State)\n\
00876 uint8 REJECTED        = 5   # The goal was rejected by the action server without being processed,\n\
00877                             #    because the goal was unattainable or invalid (Terminal State)\n\
00878 uint8 PREEMPTING      = 6   # The goal received a cancel request after it started executing\n\
00879                             #    and has not yet completed execution\n\
00880 uint8 RECALLING       = 7   # The goal received a cancel request before it started executing,\n\
00881                             #    but the action server has not yet confirmed that the goal is canceled\n\
00882 uint8 RECALLED        = 8   # The goal received a cancel request before it started executing\n\
00883                             #    and was successfully cancelled (Terminal State)\n\
00884 uint8 LOST            = 9   # An action client can determine that a goal is LOST. This should not be\n\
00885                             #    sent over the wire by an action server\n\
00886 \n\
00887 #Allow for the user to associate a string with GoalStatus for debugging\n\
00888 string text\n\
00889 \n\
00890 \n\
00891 ================================================================================\n\
00892 MSG: object_manipulation_msgs/PickupResult\n\
00893 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00894 \n\
00895 # The overall result of the pickup attempt\n\
00896 ManipulationResult manipulation_result\n\
00897 \n\
00898 # The performed grasp, if attempt was successful\n\
00899 Grasp grasp\n\
00900 \n\
00901 # the complete list of attempted grasp, in the order in which they have been attempted\n\
00902 # the successful one should be the last one in this list\n\
00903 Grasp[] attempted_grasps\n\
00904 \n\
00905 # the outcomes of the attempted grasps, in the same order as attempted_grasps\n\
00906 GraspResult[] attempted_grasp_results\n\
00907 \n\
00908 \n\
00909 ================================================================================\n\
00910 MSG: object_manipulation_msgs/ManipulationResult\n\
00911 # Result codes for manipulation tasks\n\
00912 \n\
00913 # task completed as expected\n\
00914 # generally means you can proceed as planned\n\
00915 int32 SUCCESS = 1\n\
00916 \n\
00917 # task not possible (e.g. out of reach or obstacles in the way)\n\
00918 # generally means that the world was not disturbed, so you can try another task\n\
00919 int32 UNFEASIBLE = -1\n\
00920 \n\
00921 # task was thought possible, but failed due to unexpected events during execution\n\
00922 # it is likely that the world was disturbed, so you are encouraged to refresh\n\
00923 # your sensed world model before proceeding to another task\n\
00924 int32 FAILED = -2\n\
00925 \n\
00926 # a lower level error prevented task completion (e.g. joint controller not responding)\n\
00927 # generally requires human attention\n\
00928 int32 ERROR = -3\n\
00929 \n\
00930 # means that at some point during execution we ended up in a state that the collision-aware\n\
00931 # arm navigation module will not move out of. The world was likely not disturbed, but you \n\
00932 # probably need a new collision map to move the arm out of the stuck position\n\
00933 int32 ARM_MOVEMENT_PREVENTED = -4\n\
00934 \n\
00935 # specific to grasp actions\n\
00936 # the object was grasped successfully, but the lift attempt could not achieve the minimum lift distance requested\n\
00937 # it is likely that the collision environment will see collisions between the hand/object and the support surface\n\
00938 int32 LIFT_FAILED = -5\n\
00939 \n\
00940 # specific to place actions\n\
00941 # the object was placed successfully, but the retreat attempt could not achieve the minimum retreat distance requested\n\
00942 # it is likely that the collision environment will see collisions between the hand and the object\n\
00943 int32 RETREAT_FAILED = -6\n\
00944 \n\
00945 # indicates that somewhere along the line a human said \"wait, stop, this is bad, go back and do something else\"\n\
00946 int32 CANCELLED = -7\n\
00947 \n\
00948 # the actual value of this error code\n\
00949 int32 value\n\
00950 \n\
00951 ================================================================================\n\
00952 MSG: object_manipulation_msgs/GraspResult\n\
00953 int32 SUCCESS = 1\n\
00954 int32 GRASP_OUT_OF_REACH = 2\n\
00955 int32 GRASP_IN_COLLISION = 3\n\
00956 int32 GRASP_UNFEASIBLE = 4\n\
00957 int32 PREGRASP_OUT_OF_REACH = 5\n\
00958 int32 PREGRASP_IN_COLLISION = 6\n\
00959 int32 PREGRASP_UNFEASIBLE = 7\n\
00960 int32 LIFT_OUT_OF_REACH = 8\n\
00961 int32 LIFT_IN_COLLISION = 9\n\
00962 int32 LIFT_UNFEASIBLE = 10\n\
00963 int32 MOVE_ARM_FAILED = 11\n\
00964 int32 GRASP_FAILED = 12\n\
00965 int32 LIFT_FAILED = 13\n\
00966 int32 RETREAT_FAILED = 14\n\
00967 int32 result_code\n\
00968 \n\
00969 # whether the state of the world was disturbed by this attempt. generally, this flag\n\
00970 # shows if another task can be attempted, or a new sensed world model is recommeded\n\
00971 # before proceeding\n\
00972 bool continuation_possible\n\
00973 \n\
00974 ================================================================================\n\
00975 MSG: object_manipulation_msgs/PickupActionFeedback\n\
00976 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00977 \n\
00978 Header header\n\
00979 actionlib_msgs/GoalStatus status\n\
00980 PickupFeedback feedback\n\
00981 \n\
00982 ================================================================================\n\
00983 MSG: object_manipulation_msgs/PickupFeedback\n\
00984 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00985 \n\
00986 # The number of the grasp currently being attempted\n\
00987 int32 current_grasp\n\
00988 \n\
00989 # The total number of grasps that will be attempted\n\
00990 int32 total_grasps\n\
00991 \n\
00992 \n\
00993 ";
00994   }
00995 
00996   static const char* value(const  ::object_manipulation_msgs::PickupAction_<ContainerAllocator> &) { return value(); } 
00997 };
00998 
00999 } // namespace message_traits
01000 } // namespace ros
01001 
01002 namespace ros
01003 {
01004 namespace serialization
01005 {
01006 
01007 template<class ContainerAllocator> struct Serializer< ::object_manipulation_msgs::PickupAction_<ContainerAllocator> >
01008 {
01009   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
01010   {
01011     stream.next(m.action_goal);
01012     stream.next(m.action_result);
01013     stream.next(m.action_feedback);
01014   }
01015 
01016   ROS_DECLARE_ALLINONE_SERIALIZER;
01017 }; // struct PickupAction_
01018 } // namespace serialization
01019 } // namespace ros
01020 
01021 namespace ros
01022 {
01023 namespace message_operations
01024 {
01025 
01026 template<class ContainerAllocator>
01027 struct Printer< ::object_manipulation_msgs::PickupAction_<ContainerAllocator> >
01028 {
01029   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::object_manipulation_msgs::PickupAction_<ContainerAllocator> & v) 
01030   {
01031     s << indent << "action_goal: ";
01032 s << std::endl;
01033     Printer< ::object_manipulation_msgs::PickupActionGoal_<ContainerAllocator> >::stream(s, indent + "  ", v.action_goal);
01034     s << indent << "action_result: ";
01035 s << std::endl;
01036     Printer< ::object_manipulation_msgs::PickupActionResult_<ContainerAllocator> >::stream(s, indent + "  ", v.action_result);
01037     s << indent << "action_feedback: ";
01038 s << std::endl;
01039     Printer< ::object_manipulation_msgs::PickupActionFeedback_<ContainerAllocator> >::stream(s, indent + "  ", v.action_feedback);
01040   }
01041 };
01042 
01043 
01044 } // namespace message_operations
01045 } // namespace ros
01046 
01047 #endif // OBJECT_MANIPULATION_MSGS_MESSAGE_PICKUPACTION_H
01048 


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