00001
00002 #ifndef OBJECT_MANIPULATION_MSGS_MESSAGE_PLACEACTION_H
00003 #define OBJECT_MANIPULATION_MSGS_MESSAGE_PLACEACTION_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/PlaceActionGoal.h"
00018 #include "object_manipulation_msgs/PlaceActionResult.h"
00019 #include "object_manipulation_msgs/PlaceActionFeedback.h"
00020
00021 namespace object_manipulation_msgs
00022 {
00023 template <class ContainerAllocator>
00024 struct PlaceAction_ {
00025 typedef PlaceAction_<ContainerAllocator> Type;
00026
00027 PlaceAction_()
00028 : action_goal()
00029 , action_result()
00030 , action_feedback()
00031 {
00032 }
00033
00034 PlaceAction_(const ContainerAllocator& _alloc)
00035 : action_goal(_alloc)
00036 , action_result(_alloc)
00037 , action_feedback(_alloc)
00038 {
00039 }
00040
00041 typedef ::object_manipulation_msgs::PlaceActionGoal_<ContainerAllocator> _action_goal_type;
00042 ::object_manipulation_msgs::PlaceActionGoal_<ContainerAllocator> action_goal;
00043
00044 typedef ::object_manipulation_msgs::PlaceActionResult_<ContainerAllocator> _action_result_type;
00045 ::object_manipulation_msgs::PlaceActionResult_<ContainerAllocator> action_result;
00046
00047 typedef ::object_manipulation_msgs::PlaceActionFeedback_<ContainerAllocator> _action_feedback_type;
00048 ::object_manipulation_msgs::PlaceActionFeedback_<ContainerAllocator> action_feedback;
00049
00050
00051 private:
00052 static const char* __s_getDataType_() { return "object_manipulation_msgs/PlaceAction"; }
00053 public:
00054 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00055
00056 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00057
00058 private:
00059 static const char* __s_getMD5Sum_() { return "ab3cf2087cd7ecb514df855fc4069d22"; }
00060 public:
00061 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00062
00063 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00064
00065 private:
00066 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00067 \n\
00068 PlaceActionGoal action_goal\n\
00069 PlaceActionResult action_result\n\
00070 PlaceActionFeedback action_feedback\n\
00071 \n\
00072 ================================================================================\n\
00073 MSG: object_manipulation_msgs/PlaceActionGoal\n\
00074 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00075 \n\
00076 Header header\n\
00077 actionlib_msgs/GoalID goal_id\n\
00078 PlaceGoal goal\n\
00079 \n\
00080 ================================================================================\n\
00081 MSG: std_msgs/Header\n\
00082 # Standard metadata for higher-level stamped data types.\n\
00083 # This is generally used to communicate timestamped data \n\
00084 # in a particular coordinate frame.\n\
00085 # \n\
00086 # sequence ID: consecutively increasing ID \n\
00087 uint32 seq\n\
00088 #Two-integer timestamp that is expressed as:\n\
00089 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00090 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00091 # time-handling sugar is provided by the client library\n\
00092 time stamp\n\
00093 #Frame this data is associated with\n\
00094 # 0: no frame\n\
00095 # 1: global frame\n\
00096 string frame_id\n\
00097 \n\
00098 ================================================================================\n\
00099 MSG: actionlib_msgs/GoalID\n\
00100 # The stamp should store the time at which this goal was requested.\n\
00101 # It is used by an action server when it tries to preempt all\n\
00102 # goals that were requested before a certain time\n\
00103 time stamp\n\
00104 \n\
00105 # The id provides a way to associate feedback and\n\
00106 # result message with specific goal requests. The id\n\
00107 # specified must be unique.\n\
00108 string id\n\
00109 \n\
00110 \n\
00111 ================================================================================\n\
00112 MSG: object_manipulation_msgs/PlaceGoal\n\
00113 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00114 # An action for placing an object\n\
00115 \n\
00116 # which arm to be used for grasping\n\
00117 string arm_name\n\
00118 \n\
00119 # a list of possible transformations for placing the object (place_trans)\n\
00120 # the final pose of the wrist for placement (place_wrist_pose) is as follows:\n\
00121 # place_wrist_pose = place_trans * grasp_pose\n\
00122 # the frame_id for wrist_trans is defined here, and \n\
00123 # should be the same for all place_locations\n\
00124 geometry_msgs/PoseStamped[] place_locations\n\
00125 \n\
00126 # the grasp that has been executed on this object\n\
00127 # (contains the grasp_pose referred to above)\n\
00128 Grasp grasp\n\
00129 \n\
00130 # how far the retreat should ideally be away from the place location\n\
00131 float32 desired_retreat_distance\n\
00132 \n\
00133 # the min distance between the retreat and the place location that must actually be feasible \n\
00134 # for the place not to be rejected\n\
00135 float32 min_retreat_distance\n\
00136 \n\
00137 # how the place location should be approached\n\
00138 # the frame_id that this lift is specified in MUST be either the robot_frame \n\
00139 # or the gripper_frame specified in your hand description file\n\
00140 GripperTranslation approach\n\
00141 \n\
00142 # the name that the target object has in the collision map\n\
00143 # can be left empty if no name is available\n\
00144 string collision_object_name\n\
00145 \n\
00146 # the name that the support surface (e.g. table) has in the collision map\n\
00147 # can be left empty if no name is available\n\
00148 string collision_support_surface_name\n\
00149 \n\
00150 # whether collisions between the gripper and the support surface should be acceptable\n\
00151 # during move from pre-place to place and during retreat. Collisions when moving to the\n\
00152 # pre-place location are still not allowed even if this is set to true.\n\
00153 bool allow_gripper_support_collision\n\
00154 \n\
00155 # whether reactive placing based on tactile sensors should be used\n\
00156 bool use_reactive_place\n\
00157 \n\
00158 # how much the object should be padded by when deciding if the grasp\n\
00159 # location is freasible or not\n\
00160 float64 place_padding\n\
00161 \n\
00162 # set this to true if you only want to query the manipulation pipeline as to what \n\
00163 # place locations it thinks are feasible, without actually executing them. If this is set to \n\
00164 # true, the atempted_location_results field of the result will be populated, but no arm \n\
00165 # movement will be attempted\n\
00166 bool only_perform_feasibility_test\n\
00167 \n\
00168 # OPTIONAL (These will not have to be filled out most of the time)\n\
00169 # constraints to be imposed on every point in the motion of the arm\n\
00170 arm_navigation_msgs/Constraints path_constraints\n\
00171 \n\
00172 # OPTIONAL (These will not have to be filled out most of the time)\n\
00173 # additional collision operations to be used for every arm movement performed\n\
00174 # during placing. Note that these will be added on top of (and thus overide) other \n\
00175 # collision operations that the grasping pipeline deems necessary. Should be used\n\
00176 # with care and only if special behaviors are desired.\n\
00177 arm_navigation_msgs/OrderedCollisionOperations additional_collision_operations\n\
00178 \n\
00179 # OPTIONAL (These will not have to be filled out most of the time)\n\
00180 # additional link paddings to be used for every arm movement performed\n\
00181 # during placing. Note that these will be added on top of (and thus overide) other \n\
00182 # link paddings that the grasping pipeline deems necessary. Should be used\n\
00183 # with care and only if special behaviors are desired.\n\
00184 arm_navigation_msgs/LinkPadding[] additional_link_padding\n\
00185 \n\
00186 \n\
00187 ================================================================================\n\
00188 MSG: geometry_msgs/PoseStamped\n\
00189 # A Pose with reference coordinate frame and timestamp\n\
00190 Header header\n\
00191 Pose pose\n\
00192 \n\
00193 ================================================================================\n\
00194 MSG: geometry_msgs/Pose\n\
00195 # A representation of pose in free space, composed of postion and orientation. \n\
00196 Point position\n\
00197 Quaternion orientation\n\
00198 \n\
00199 ================================================================================\n\
00200 MSG: geometry_msgs/Point\n\
00201 # This contains the position of a point in free space\n\
00202 float64 x\n\
00203 float64 y\n\
00204 float64 z\n\
00205 \n\
00206 ================================================================================\n\
00207 MSG: geometry_msgs/Quaternion\n\
00208 # This represents an orientation in free space in quaternion form.\n\
00209 \n\
00210 float64 x\n\
00211 float64 y\n\
00212 float64 z\n\
00213 float64 w\n\
00214 \n\
00215 ================================================================================\n\
00216 MSG: object_manipulation_msgs/Grasp\n\
00217 \n\
00218 # The internal posture of the hand for the pre-grasp\n\
00219 # only positions are used\n\
00220 sensor_msgs/JointState pre_grasp_posture\n\
00221 \n\
00222 # The internal posture of the hand for the grasp\n\
00223 # positions and efforts are used\n\
00224 sensor_msgs/JointState grasp_posture\n\
00225 \n\
00226 # The position of the end-effector for the grasp relative to a reference frame \n\
00227 # (that is always specified elsewhere, not in this message)\n\
00228 geometry_msgs/Pose grasp_pose\n\
00229 \n\
00230 # The estimated probability of success for this grasp\n\
00231 float64 success_probability\n\
00232 \n\
00233 # Debug flag to indicate that this grasp would be the best in its cluster\n\
00234 bool cluster_rep\n\
00235 \n\
00236 # how far the pre-grasp should ideally be away from the grasp\n\
00237 float32 desired_approach_distance\n\
00238 \n\
00239 # how much distance between pre-grasp and grasp must actually be feasible \n\
00240 # for the grasp not to be rejected\n\
00241 float32 min_approach_distance\n\
00242 \n\
00243 # an optional list of obstacles that we have semantic information about\n\
00244 # and that we expect might move in the course of executing this grasp\n\
00245 # the grasp planner is expected to make sure they move in an OK way; during\n\
00246 # execution, grasp executors will not check for collisions against these objects\n\
00247 GraspableObject[] moved_obstacles\n\
00248 \n\
00249 ================================================================================\n\
00250 MSG: sensor_msgs/JointState\n\
00251 # This is a message that holds data to describe the state of a set of torque controlled joints. \n\
00252 #\n\
00253 # The state of each joint (revolute or prismatic) is defined by:\n\
00254 # * the position of the joint (rad or m),\n\
00255 # * the velocity of the joint (rad/s or m/s) and \n\
00256 # * the effort that is applied in the joint (Nm or N).\n\
00257 #\n\
00258 # Each joint is uniquely identified by its name\n\
00259 # The header specifies the time at which the joint states were recorded. All the joint states\n\
00260 # in one message have to be recorded at the same time.\n\
00261 #\n\
00262 # This message consists of a multiple arrays, one for each part of the joint state. \n\
00263 # The goal is to make each of the fields optional. When e.g. your joints have no\n\
00264 # effort associated with them, you can leave the effort array empty. \n\
00265 #\n\
00266 # All arrays in this message should have the same size, or be empty.\n\
00267 # This is the only way to uniquely associate the joint name with the correct\n\
00268 # states.\n\
00269 \n\
00270 \n\
00271 Header header\n\
00272 \n\
00273 string[] name\n\
00274 float64[] position\n\
00275 float64[] velocity\n\
00276 float64[] effort\n\
00277 \n\
00278 ================================================================================\n\
00279 MSG: object_manipulation_msgs/GraspableObject\n\
00280 # an object that the object_manipulator can work on\n\
00281 \n\
00282 # a graspable object can be represented in multiple ways. This message\n\
00283 # can contain all of them. Which one is actually used is up to the receiver\n\
00284 # of this message. When adding new representations, one must be careful that\n\
00285 # they have reasonable lightweight defaults indicating that that particular\n\
00286 # representation is not available.\n\
00287 \n\
00288 # the tf frame to be used as a reference frame when combining information from\n\
00289 # the different representations below\n\
00290 string reference_frame_id\n\
00291 \n\
00292 # potential recognition results from a database of models\n\
00293 # all poses are relative to the object reference pose\n\
00294 household_objects_database_msgs/DatabaseModelPose[] potential_models\n\
00295 \n\
00296 # the point cloud itself\n\
00297 sensor_msgs/PointCloud cluster\n\
00298 \n\
00299 # a region of a PointCloud2 of interest\n\
00300 object_manipulation_msgs/SceneRegion region\n\
00301 \n\
00302 # the name that this object has in the collision environment\n\
00303 string collision_name\n\
00304 ================================================================================\n\
00305 MSG: household_objects_database_msgs/DatabaseModelPose\n\
00306 # Informs that a specific model from the Model Database has been \n\
00307 # identified at a certain location\n\
00308 \n\
00309 # the database id of the model\n\
00310 int32 model_id\n\
00311 \n\
00312 # the pose that it can be found in\n\
00313 geometry_msgs/PoseStamped pose\n\
00314 \n\
00315 # a measure of the confidence level in this detection result\n\
00316 float32 confidence\n\
00317 \n\
00318 # the name of the object detector that generated this detection result\n\
00319 string detector_name\n\
00320 \n\
00321 ================================================================================\n\
00322 MSG: sensor_msgs/PointCloud\n\
00323 # This message holds a collection of 3d points, plus optional additional\n\
00324 # information about each point.\n\
00325 \n\
00326 # Time of sensor data acquisition, coordinate frame ID.\n\
00327 Header header\n\
00328 \n\
00329 # Array of 3d points. Each Point32 should be interpreted as a 3d point\n\
00330 # in the frame given in the header.\n\
00331 geometry_msgs/Point32[] points\n\
00332 \n\
00333 # Each channel should have the same number of elements as points array,\n\
00334 # and the data in each channel should correspond 1:1 with each point.\n\
00335 # Channel names in common practice are listed in ChannelFloat32.msg.\n\
00336 ChannelFloat32[] channels\n\
00337 \n\
00338 ================================================================================\n\
00339 MSG: geometry_msgs/Point32\n\
00340 # This contains the position of a point in free space(with 32 bits of precision).\n\
00341 # It is recommeded to use Point wherever possible instead of Point32. \n\
00342 # \n\
00343 # This recommendation is to promote interoperability. \n\
00344 #\n\
00345 # This message is designed to take up less space when sending\n\
00346 # lots of points at once, as in the case of a PointCloud. \n\
00347 \n\
00348 float32 x\n\
00349 float32 y\n\
00350 float32 z\n\
00351 ================================================================================\n\
00352 MSG: sensor_msgs/ChannelFloat32\n\
00353 # This message is used by the PointCloud message to hold optional data\n\
00354 # associated with each point in the cloud. The length of the values\n\
00355 # array should be the same as the length of the points array in the\n\
00356 # PointCloud, and each value should be associated with the corresponding\n\
00357 # point.\n\
00358 \n\
00359 # Channel names in existing practice include:\n\
00360 # \"u\", \"v\" - row and column (respectively) in the left stereo image.\n\
00361 # This is opposite to usual conventions but remains for\n\
00362 # historical reasons. The newer PointCloud2 message has no\n\
00363 # such problem.\n\
00364 # \"rgb\" - For point clouds produced by color stereo cameras. uint8\n\
00365 # (R,G,B) values packed into the least significant 24 bits,\n\
00366 # in order.\n\
00367 # \"intensity\" - laser or pixel intensity.\n\
00368 # \"distance\"\n\
00369 \n\
00370 # The channel name should give semantics of the channel (e.g.\n\
00371 # \"intensity\" instead of \"value\").\n\
00372 string name\n\
00373 \n\
00374 # The values array should be 1-1 with the elements of the associated\n\
00375 # PointCloud.\n\
00376 float32[] values\n\
00377 \n\
00378 ================================================================================\n\
00379 MSG: object_manipulation_msgs/SceneRegion\n\
00380 # Point cloud\n\
00381 sensor_msgs/PointCloud2 cloud\n\
00382 \n\
00383 # Indices for the region of interest\n\
00384 int32[] mask\n\
00385 \n\
00386 # One of the corresponding 2D images, if applicable\n\
00387 sensor_msgs/Image image\n\
00388 \n\
00389 # The disparity image, if applicable\n\
00390 sensor_msgs/Image disparity_image\n\
00391 \n\
00392 # Camera info for the camera that took the image\n\
00393 sensor_msgs/CameraInfo cam_info\n\
00394 \n\
00395 # a 3D region of interest for grasp planning\n\
00396 geometry_msgs/PoseStamped roi_box_pose\n\
00397 geometry_msgs/Vector3 roi_box_dims\n\
00398 \n\
00399 ================================================================================\n\
00400 MSG: sensor_msgs/PointCloud2\n\
00401 # This message holds a collection of N-dimensional points, which may\n\
00402 # contain additional information such as normals, intensity, etc. The\n\
00403 # point data is stored as a binary blob, its layout described by the\n\
00404 # contents of the \"fields\" array.\n\
00405 \n\
00406 # The point cloud data may be organized 2d (image-like) or 1d\n\
00407 # (unordered). Point clouds organized as 2d images may be produced by\n\
00408 # camera depth sensors such as stereo or time-of-flight.\n\
00409 \n\
00410 # Time of sensor data acquisition, and the coordinate frame ID (for 3d\n\
00411 # points).\n\
00412 Header header\n\
00413 \n\
00414 # 2D structure of the point cloud. If the cloud is unordered, height is\n\
00415 # 1 and width is the length of the point cloud.\n\
00416 uint32 height\n\
00417 uint32 width\n\
00418 \n\
00419 # Describes the channels and their layout in the binary data blob.\n\
00420 PointField[] fields\n\
00421 \n\
00422 bool is_bigendian # Is this data bigendian?\n\
00423 uint32 point_step # Length of a point in bytes\n\
00424 uint32 row_step # Length of a row in bytes\n\
00425 uint8[] data # Actual point data, size is (row_step*height)\n\
00426 \n\
00427 bool is_dense # True if there are no invalid points\n\
00428 \n\
00429 ================================================================================\n\
00430 MSG: sensor_msgs/PointField\n\
00431 # This message holds the description of one point entry in the\n\
00432 # PointCloud2 message format.\n\
00433 uint8 INT8 = 1\n\
00434 uint8 UINT8 = 2\n\
00435 uint8 INT16 = 3\n\
00436 uint8 UINT16 = 4\n\
00437 uint8 INT32 = 5\n\
00438 uint8 UINT32 = 6\n\
00439 uint8 FLOAT32 = 7\n\
00440 uint8 FLOAT64 = 8\n\
00441 \n\
00442 string name # Name of field\n\
00443 uint32 offset # Offset from start of point struct\n\
00444 uint8 datatype # Datatype enumeration, see above\n\
00445 uint32 count # How many elements in the field\n\
00446 \n\
00447 ================================================================================\n\
00448 MSG: sensor_msgs/Image\n\
00449 # This message contains an uncompressed image\n\
00450 # (0, 0) is at top-left corner of image\n\
00451 #\n\
00452 \n\
00453 Header header # Header timestamp should be acquisition time of image\n\
00454 # Header frame_id should be optical frame of camera\n\
00455 # origin of frame should be optical center of cameara\n\
00456 # +x should point to the right in the image\n\
00457 # +y should point down in the image\n\
00458 # +z should point into to plane of the image\n\
00459 # If the frame_id here and the frame_id of the CameraInfo\n\
00460 # message associated with the image conflict\n\
00461 # the behavior is undefined\n\
00462 \n\
00463 uint32 height # image height, that is, number of rows\n\
00464 uint32 width # image width, that is, number of columns\n\
00465 \n\
00466 # The legal values for encoding are in file src/image_encodings.cpp\n\
00467 # If you want to standardize a new string format, join\n\
00468 # ros-users@lists.sourceforge.net and send an email proposing a new encoding.\n\
00469 \n\
00470 string encoding # Encoding of pixels -- channel meaning, ordering, size\n\
00471 # taken from the list of strings in src/image_encodings.cpp\n\
00472 \n\
00473 uint8 is_bigendian # is this data bigendian?\n\
00474 uint32 step # Full row length in bytes\n\
00475 uint8[] data # actual matrix data, size is (step * rows)\n\
00476 \n\
00477 ================================================================================\n\
00478 MSG: sensor_msgs/CameraInfo\n\
00479 # This message defines meta information for a camera. It should be in a\n\
00480 # camera namespace on topic \"camera_info\" and accompanied by up to five\n\
00481 # image topics named:\n\
00482 #\n\
00483 # image_raw - raw data from the camera driver, possibly Bayer encoded\n\
00484 # image - monochrome, distorted\n\
00485 # image_color - color, distorted\n\
00486 # image_rect - monochrome, rectified\n\
00487 # image_rect_color - color, rectified\n\
00488 #\n\
00489 # The image_pipeline contains packages (image_proc, stereo_image_proc)\n\
00490 # for producing the four processed image topics from image_raw and\n\
00491 # camera_info. The meaning of the camera parameters are described in\n\
00492 # detail at http://www.ros.org/wiki/image_pipeline/CameraInfo.\n\
00493 #\n\
00494 # The image_geometry package provides a user-friendly interface to\n\
00495 # common operations using this meta information. If you want to, e.g.,\n\
00496 # project a 3d point into image coordinates, we strongly recommend\n\
00497 # using image_geometry.\n\
00498 #\n\
00499 # If the camera is uncalibrated, the matrices D, K, R, P should be left\n\
00500 # zeroed out. In particular, clients may assume that K[0] == 0.0\n\
00501 # indicates an uncalibrated camera.\n\
00502 \n\
00503 #######################################################################\n\
00504 # Image acquisition info #\n\
00505 #######################################################################\n\
00506 \n\
00507 # Time of image acquisition, camera coordinate frame ID\n\
00508 Header header # Header timestamp should be acquisition time of image\n\
00509 # Header frame_id should be optical frame of camera\n\
00510 # origin of frame should be optical center of camera\n\
00511 # +x should point to the right in the image\n\
00512 # +y should point down in the image\n\
00513 # +z should point into the plane of the image\n\
00514 \n\
00515 \n\
00516 #######################################################################\n\
00517 # Calibration Parameters #\n\
00518 #######################################################################\n\
00519 # These are fixed during camera calibration. Their values will be the #\n\
00520 # same in all messages until the camera is recalibrated. Note that #\n\
00521 # self-calibrating systems may \"recalibrate\" frequently. #\n\
00522 # #\n\
00523 # The internal parameters can be used to warp a raw (distorted) image #\n\
00524 # to: #\n\
00525 # 1. An undistorted image (requires D and K) #\n\
00526 # 2. A rectified image (requires D, K, R) #\n\
00527 # The projection matrix P projects 3D points into the rectified image.#\n\
00528 #######################################################################\n\
00529 \n\
00530 # The image dimensions with which the camera was calibrated. Normally\n\
00531 # this will be the full camera resolution in pixels.\n\
00532 uint32 height\n\
00533 uint32 width\n\
00534 \n\
00535 # The distortion model used. Supported models are listed in\n\
00536 # sensor_msgs/distortion_models.h. For most cameras, \"plumb_bob\" - a\n\
00537 # simple model of radial and tangential distortion - is sufficent.\n\
00538 string distortion_model\n\
00539 \n\
00540 # The distortion parameters, size depending on the distortion model.\n\
00541 # For \"plumb_bob\", the 5 parameters are: (k1, k2, t1, t2, k3).\n\
00542 float64[] D\n\
00543 \n\
00544 # Intrinsic camera matrix for the raw (distorted) images.\n\
00545 # [fx 0 cx]\n\
00546 # K = [ 0 fy cy]\n\
00547 # [ 0 0 1]\n\
00548 # Projects 3D points in the camera coordinate frame to 2D pixel\n\
00549 # coordinates using the focal lengths (fx, fy) and principal point\n\
00550 # (cx, cy).\n\
00551 float64[9] K # 3x3 row-major matrix\n\
00552 \n\
00553 # Rectification matrix (stereo cameras only)\n\
00554 # A rotation matrix aligning the camera coordinate system to the ideal\n\
00555 # stereo image plane so that epipolar lines in both stereo images are\n\
00556 # parallel.\n\
00557 float64[9] R # 3x3 row-major matrix\n\
00558 \n\
00559 # Projection/camera matrix\n\
00560 # [fx' 0 cx' Tx]\n\
00561 # P = [ 0 fy' cy' Ty]\n\
00562 # [ 0 0 1 0]\n\
00563 # By convention, this matrix specifies the intrinsic (camera) matrix\n\
00564 # of the processed (rectified) image. That is, the left 3x3 portion\n\
00565 # is the normal camera intrinsic matrix for the rectified image.\n\
00566 # It projects 3D points in the camera coordinate frame to 2D pixel\n\
00567 # coordinates using the focal lengths (fx', fy') and principal point\n\
00568 # (cx', cy') - these may differ from the values in K.\n\
00569 # For monocular cameras, Tx = Ty = 0. Normally, monocular cameras will\n\
00570 # also have R = the identity and P[1:3,1:3] = K.\n\
00571 # For a stereo pair, the fourth column [Tx Ty 0]' is related to the\n\
00572 # position of the optical center of the second camera in the first\n\
00573 # camera's frame. We assume Tz = 0 so both cameras are in the same\n\
00574 # stereo image plane. The first camera always has Tx = Ty = 0. For\n\
00575 # the right (second) camera of a horizontal stereo pair, Ty = 0 and\n\
00576 # Tx = -fx' * B, where B is the baseline between the cameras.\n\
00577 # Given a 3D point [X Y Z]', the projection (x, y) of the point onto\n\
00578 # the rectified image is given by:\n\
00579 # [u v w]' = P * [X Y Z 1]'\n\
00580 # x = u / w\n\
00581 # y = v / w\n\
00582 # This holds for both images of a stereo pair.\n\
00583 float64[12] P # 3x4 row-major matrix\n\
00584 \n\
00585 \n\
00586 #######################################################################\n\
00587 # Operational Parameters #\n\
00588 #######################################################################\n\
00589 # These define the image region actually captured by the camera #\n\
00590 # driver. Although they affect the geometry of the output image, they #\n\
00591 # may be changed freely without recalibrating the camera. #\n\
00592 #######################################################################\n\
00593 \n\
00594 # Binning refers here to any camera setting which combines rectangular\n\
00595 # neighborhoods of pixels into larger \"super-pixels.\" It reduces the\n\
00596 # resolution of the output image to\n\
00597 # (width / binning_x) x (height / binning_y).\n\
00598 # The default values binning_x = binning_y = 0 is considered the same\n\
00599 # as binning_x = binning_y = 1 (no subsampling).\n\
00600 uint32 binning_x\n\
00601 uint32 binning_y\n\
00602 \n\
00603 # Region of interest (subwindow of full camera resolution), given in\n\
00604 # full resolution (unbinned) image coordinates. A particular ROI\n\
00605 # always denotes the same window of pixels on the camera sensor,\n\
00606 # regardless of binning settings.\n\
00607 # The default setting of roi (all values 0) is considered the same as\n\
00608 # full resolution (roi.width = width, roi.height = height).\n\
00609 RegionOfInterest roi\n\
00610 \n\
00611 ================================================================================\n\
00612 MSG: sensor_msgs/RegionOfInterest\n\
00613 # This message is used to specify a region of interest within an image.\n\
00614 #\n\
00615 # When used to specify the ROI setting of the camera when the image was\n\
00616 # taken, the height and width fields should either match the height and\n\
00617 # width fields for the associated image; or height = width = 0\n\
00618 # indicates that the full resolution image was captured.\n\
00619 \n\
00620 uint32 x_offset # Leftmost pixel of the ROI\n\
00621 # (0 if the ROI includes the left edge of the image)\n\
00622 uint32 y_offset # Topmost pixel of the ROI\n\
00623 # (0 if the ROI includes the top edge of the image)\n\
00624 uint32 height # Height of ROI\n\
00625 uint32 width # Width of ROI\n\
00626 \n\
00627 # True if a distinct rectified ROI should be calculated from the \"raw\"\n\
00628 # ROI in this message. Typically this should be False if the full image\n\
00629 # is captured (ROI not used), and True if a subwindow is captured (ROI\n\
00630 # used).\n\
00631 bool do_rectify\n\
00632 \n\
00633 ================================================================================\n\
00634 MSG: geometry_msgs/Vector3\n\
00635 # This represents a vector in free space. \n\
00636 \n\
00637 float64 x\n\
00638 float64 y\n\
00639 float64 z\n\
00640 ================================================================================\n\
00641 MSG: object_manipulation_msgs/GripperTranslation\n\
00642 # defines a translation for the gripper, used in pickup or place tasks\n\
00643 # for example for lifting an object off a table or approaching the table for placing\n\
00644 \n\
00645 # the direction of the translation\n\
00646 geometry_msgs/Vector3Stamped direction\n\
00647 \n\
00648 # the desired translation distance\n\
00649 float32 desired_distance\n\
00650 \n\
00651 # the min distance that must be considered feasible before the\n\
00652 # grasp is even attempted\n\
00653 float32 min_distance\n\
00654 ================================================================================\n\
00655 MSG: geometry_msgs/Vector3Stamped\n\
00656 # This represents a Vector3 with reference coordinate frame and timestamp\n\
00657 Header header\n\
00658 Vector3 vector\n\
00659 \n\
00660 ================================================================================\n\
00661 MSG: arm_navigation_msgs/Constraints\n\
00662 # This message contains a list of motion planning constraints.\n\
00663 \n\
00664 arm_navigation_msgs/JointConstraint[] joint_constraints\n\
00665 arm_navigation_msgs/PositionConstraint[] position_constraints\n\
00666 arm_navigation_msgs/OrientationConstraint[] orientation_constraints\n\
00667 arm_navigation_msgs/VisibilityConstraint[] visibility_constraints\n\
00668 \n\
00669 ================================================================================\n\
00670 MSG: arm_navigation_msgs/JointConstraint\n\
00671 # Constrain the position of a joint to be within a certain bound\n\
00672 string joint_name\n\
00673 \n\
00674 # the bound to be achieved is [position - tolerance_below, position + tolerance_above]\n\
00675 float64 position\n\
00676 float64 tolerance_above\n\
00677 float64 tolerance_below\n\
00678 \n\
00679 # A weighting factor for this constraint\n\
00680 float64 weight\n\
00681 ================================================================================\n\
00682 MSG: arm_navigation_msgs/PositionConstraint\n\
00683 # This message contains the definition of a position constraint.\n\
00684 Header header\n\
00685 \n\
00686 # The robot link this constraint refers to\n\
00687 string link_name\n\
00688 \n\
00689 # The offset (in the link frame) for the target point on the link we are planning for\n\
00690 geometry_msgs/Point target_point_offset\n\
00691 \n\
00692 # The nominal/target position for the point we are planning for\n\
00693 geometry_msgs/Point position\n\
00694 \n\
00695 # The shape of the bounded region that constrains the position of the end-effector\n\
00696 # This region is always centered at the position defined above\n\
00697 arm_navigation_msgs/Shape constraint_region_shape\n\
00698 \n\
00699 # The orientation of the bounded region that constrains the position of the end-effector. \n\
00700 # This allows the specification of non-axis aligned constraints\n\
00701 geometry_msgs/Quaternion constraint_region_orientation\n\
00702 \n\
00703 # Constraint weighting factor - a weight for this constraint\n\
00704 float64 weight\n\
00705 \n\
00706 ================================================================================\n\
00707 MSG: arm_navigation_msgs/Shape\n\
00708 byte SPHERE=0\n\
00709 byte BOX=1\n\
00710 byte CYLINDER=2\n\
00711 byte MESH=3\n\
00712 \n\
00713 byte type\n\
00714 \n\
00715 \n\
00716 #### define sphere, box, cylinder ####\n\
00717 # the origin of each shape is considered at the shape's center\n\
00718 \n\
00719 # for sphere\n\
00720 # radius := dimensions[0]\n\
00721 \n\
00722 # for cylinder\n\
00723 # radius := dimensions[0]\n\
00724 # length := dimensions[1]\n\
00725 # the length is along the Z axis\n\
00726 \n\
00727 # for box\n\
00728 # size_x := dimensions[0]\n\
00729 # size_y := dimensions[1]\n\
00730 # size_z := dimensions[2]\n\
00731 float64[] dimensions\n\
00732 \n\
00733 \n\
00734 #### define mesh ####\n\
00735 \n\
00736 # list of triangles; triangle k is defined by tre vertices located\n\
00737 # at indices triangles[3k], triangles[3k+1], triangles[3k+2]\n\
00738 int32[] triangles\n\
00739 geometry_msgs/Point[] vertices\n\
00740 \n\
00741 ================================================================================\n\
00742 MSG: arm_navigation_msgs/OrientationConstraint\n\
00743 # This message contains the definition of an orientation constraint.\n\
00744 Header header\n\
00745 \n\
00746 # The robot link this constraint refers to\n\
00747 string link_name\n\
00748 \n\
00749 # The type of the constraint\n\
00750 int32 type\n\
00751 int32 LINK_FRAME=0\n\
00752 int32 HEADER_FRAME=1\n\
00753 \n\
00754 # The desired orientation of the robot link specified as a quaternion\n\
00755 geometry_msgs/Quaternion orientation\n\
00756 \n\
00757 # optional RPY error tolerances specified if \n\
00758 float64 absolute_roll_tolerance\n\
00759 float64 absolute_pitch_tolerance\n\
00760 float64 absolute_yaw_tolerance\n\
00761 \n\
00762 # Constraint weighting factor - a weight for this constraint\n\
00763 float64 weight\n\
00764 \n\
00765 ================================================================================\n\
00766 MSG: arm_navigation_msgs/VisibilityConstraint\n\
00767 # This message contains the definition of a visibility constraint.\n\
00768 Header header\n\
00769 \n\
00770 # The point stamped target that needs to be kept within view of the sensor\n\
00771 geometry_msgs/PointStamped target\n\
00772 \n\
00773 # The local pose of the frame in which visibility is to be maintained\n\
00774 # The frame id should represent the robot link to which the sensor is attached\n\
00775 # The visual axis of the sensor is assumed to be along the X axis of this frame\n\
00776 geometry_msgs/PoseStamped sensor_pose\n\
00777 \n\
00778 # The deviation (in radians) that will be tolerated\n\
00779 # Constraint error will be measured as the solid angle between the \n\
00780 # X axis of the frame defined above and the vector between the origin \n\
00781 # of the frame defined above and the target location\n\
00782 float64 absolute_tolerance\n\
00783 \n\
00784 \n\
00785 ================================================================================\n\
00786 MSG: geometry_msgs/PointStamped\n\
00787 # This represents a Point with reference coordinate frame and timestamp\n\
00788 Header header\n\
00789 Point point\n\
00790 \n\
00791 ================================================================================\n\
00792 MSG: arm_navigation_msgs/OrderedCollisionOperations\n\
00793 # A set of collision operations that will be performed in the order they are specified\n\
00794 CollisionOperation[] collision_operations\n\
00795 ================================================================================\n\
00796 MSG: arm_navigation_msgs/CollisionOperation\n\
00797 # A definition of a collision operation\n\
00798 # E.g. (\"gripper\",COLLISION_SET_ALL,ENABLE) will enable collisions \n\
00799 # between the gripper and all objects in the collision space\n\
00800 \n\
00801 string object1\n\
00802 string object2\n\
00803 string COLLISION_SET_ALL=\"all\"\n\
00804 string COLLISION_SET_OBJECTS=\"objects\"\n\
00805 string COLLISION_SET_ATTACHED_OBJECTS=\"attached\"\n\
00806 \n\
00807 # The penetration distance to which collisions are allowed. This is 0.0 by default.\n\
00808 float64 penetration_distance\n\
00809 \n\
00810 # Flag that determines whether collisions will be enabled or disabled for the pair of objects specified above\n\
00811 int32 operation\n\
00812 int32 DISABLE=0\n\
00813 int32 ENABLE=1\n\
00814 \n\
00815 ================================================================================\n\
00816 MSG: arm_navigation_msgs/LinkPadding\n\
00817 #name for the link\n\
00818 string link_name\n\
00819 \n\
00820 # padding to apply to the link\n\
00821 float64 padding\n\
00822 \n\
00823 ================================================================================\n\
00824 MSG: object_manipulation_msgs/PlaceActionResult\n\
00825 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00826 \n\
00827 Header header\n\
00828 actionlib_msgs/GoalStatus status\n\
00829 PlaceResult result\n\
00830 \n\
00831 ================================================================================\n\
00832 MSG: actionlib_msgs/GoalStatus\n\
00833 GoalID goal_id\n\
00834 uint8 status\n\
00835 uint8 PENDING = 0 # The goal has yet to be processed by the action server\n\
00836 uint8 ACTIVE = 1 # The goal is currently being processed by the action server\n\
00837 uint8 PREEMPTED = 2 # The goal received a cancel request after it started executing\n\
00838 # and has since completed its execution (Terminal State)\n\
00839 uint8 SUCCEEDED = 3 # The goal was achieved successfully by the action server (Terminal State)\n\
00840 uint8 ABORTED = 4 # The goal was aborted during execution by the action server due\n\
00841 # to some failure (Terminal State)\n\
00842 uint8 REJECTED = 5 # The goal was rejected by the action server without being processed,\n\
00843 # because the goal was unattainable or invalid (Terminal State)\n\
00844 uint8 PREEMPTING = 6 # The goal received a cancel request after it started executing\n\
00845 # and has not yet completed execution\n\
00846 uint8 RECALLING = 7 # The goal received a cancel request before it started executing,\n\
00847 # but the action server has not yet confirmed that the goal is canceled\n\
00848 uint8 RECALLED = 8 # The goal received a cancel request before it started executing\n\
00849 # and was successfully cancelled (Terminal State)\n\
00850 uint8 LOST = 9 # An action client can determine that a goal is LOST. This should not be\n\
00851 # sent over the wire by an action server\n\
00852 \n\
00853 #Allow for the user to associate a string with GoalStatus for debugging\n\
00854 string text\n\
00855 \n\
00856 \n\
00857 ================================================================================\n\
00858 MSG: object_manipulation_msgs/PlaceResult\n\
00859 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00860 \n\
00861 # The result of the pickup attempt\n\
00862 ManipulationResult manipulation_result\n\
00863 \n\
00864 # The successful place location, if any\n\
00865 geometry_msgs/PoseStamped place_location\n\
00866 \n\
00867 # the list of attempted locations, in the order in which they were attempted\n\
00868 # the successful one should be the last one in this list\n\
00869 geometry_msgs/PoseStamped[] attempted_locations\n\
00870 \n\
00871 # the outcomes of the attempted locations, in the same order as attempted_locations\n\
00872 PlaceLocationResult[] attempted_location_results\n\
00873 \n\
00874 \n\
00875 ================================================================================\n\
00876 MSG: object_manipulation_msgs/ManipulationResult\n\
00877 # Result codes for manipulation tasks\n\
00878 \n\
00879 # task completed as expected\n\
00880 # generally means you can proceed as planned\n\
00881 int32 SUCCESS = 1\n\
00882 \n\
00883 # task not possible (e.g. out of reach or obstacles in the way)\n\
00884 # generally means that the world was not disturbed, so you can try another task\n\
00885 int32 UNFEASIBLE = -1\n\
00886 \n\
00887 # task was thought possible, but failed due to unexpected events during execution\n\
00888 # it is likely that the world was disturbed, so you are encouraged to refresh\n\
00889 # your sensed world model before proceeding to another task\n\
00890 int32 FAILED = -2\n\
00891 \n\
00892 # a lower level error prevented task completion (e.g. joint controller not responding)\n\
00893 # generally requires human attention\n\
00894 int32 ERROR = -3\n\
00895 \n\
00896 # means that at some point during execution we ended up in a state that the collision-aware\n\
00897 # arm navigation module will not move out of. The world was likely not disturbed, but you \n\
00898 # probably need a new collision map to move the arm out of the stuck position\n\
00899 int32 ARM_MOVEMENT_PREVENTED = -4\n\
00900 \n\
00901 # specific to grasp actions\n\
00902 # the object was grasped successfully, but the lift attempt could not achieve the minimum lift distance requested\n\
00903 # it is likely that the collision environment will see collisions between the hand/object and the support surface\n\
00904 int32 LIFT_FAILED = -5\n\
00905 \n\
00906 # specific to place actions\n\
00907 # the object was placed successfully, but the retreat attempt could not achieve the minimum retreat distance requested\n\
00908 # it is likely that the collision environment will see collisions between the hand and the object\n\
00909 int32 RETREAT_FAILED = -6\n\
00910 \n\
00911 # indicates that somewhere along the line a human said \"wait, stop, this is bad, go back and do something else\"\n\
00912 int32 CANCELLED = -7\n\
00913 \n\
00914 # the actual value of this error code\n\
00915 int32 value\n\
00916 \n\
00917 ================================================================================\n\
00918 MSG: object_manipulation_msgs/PlaceLocationResult\n\
00919 int32 SUCCESS = 1\n\
00920 int32 PLACE_OUT_OF_REACH = 2\n\
00921 int32 PLACE_IN_COLLISION = 3\n\
00922 int32 PLACE_UNFEASIBLE = 4\n\
00923 int32 PREPLACE_OUT_OF_REACH = 5\n\
00924 int32 PREPLACE_IN_COLLISION = 6\n\
00925 int32 PREPLACE_UNFEASIBLE = 7\n\
00926 int32 RETREAT_OUT_OF_REACH = 8\n\
00927 int32 RETREAT_IN_COLLISION = 9\n\
00928 int32 RETREAT_UNFEASIBLE = 10\n\
00929 int32 MOVE_ARM_FAILED = 11\n\
00930 int32 PLACE_FAILED = 12\n\
00931 int32 RETREAT_FAILED = 13\n\
00932 int32 result_code\n\
00933 \n\
00934 # whether the state of the world was disturbed by this attempt. generally, this flag\n\
00935 # shows if another task can be attempted, or a new sensed world model is recommeded\n\
00936 # before proceeding\n\
00937 bool continuation_possible\n\
00938 \n\
00939 ================================================================================\n\
00940 MSG: object_manipulation_msgs/PlaceActionFeedback\n\
00941 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00942 \n\
00943 Header header\n\
00944 actionlib_msgs/GoalStatus status\n\
00945 PlaceFeedback feedback\n\
00946 \n\
00947 ================================================================================\n\
00948 MSG: object_manipulation_msgs/PlaceFeedback\n\
00949 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00950 \n\
00951 # The number of the place location currently being attempted\n\
00952 int32 current_location\n\
00953 \n\
00954 # The total number of locations that will be attempted\n\
00955 int32 total_locations\n\
00956 \n\
00957 \n\
00958 "; }
00959 public:
00960 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00961
00962 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00963
00964 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00965 {
00966 ros::serialization::OStream stream(write_ptr, 1000000000);
00967 ros::serialization::serialize(stream, action_goal);
00968 ros::serialization::serialize(stream, action_result);
00969 ros::serialization::serialize(stream, action_feedback);
00970 return stream.getData();
00971 }
00972
00973 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00974 {
00975 ros::serialization::IStream stream(read_ptr, 1000000000);
00976 ros::serialization::deserialize(stream, action_goal);
00977 ros::serialization::deserialize(stream, action_result);
00978 ros::serialization::deserialize(stream, action_feedback);
00979 return stream.getData();
00980 }
00981
00982 ROS_DEPRECATED virtual uint32_t serializationLength() const
00983 {
00984 uint32_t size = 0;
00985 size += ros::serialization::serializationLength(action_goal);
00986 size += ros::serialization::serializationLength(action_result);
00987 size += ros::serialization::serializationLength(action_feedback);
00988 return size;
00989 }
00990
00991 typedef boost::shared_ptr< ::object_manipulation_msgs::PlaceAction_<ContainerAllocator> > Ptr;
00992 typedef boost::shared_ptr< ::object_manipulation_msgs::PlaceAction_<ContainerAllocator> const> ConstPtr;
00993 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00994 };
00995 typedef ::object_manipulation_msgs::PlaceAction_<std::allocator<void> > PlaceAction;
00996
00997 typedef boost::shared_ptr< ::object_manipulation_msgs::PlaceAction> PlaceActionPtr;
00998 typedef boost::shared_ptr< ::object_manipulation_msgs::PlaceAction const> PlaceActionConstPtr;
00999
01000
01001 template<typename ContainerAllocator>
01002 std::ostream& operator<<(std::ostream& s, const ::object_manipulation_msgs::PlaceAction_<ContainerAllocator> & v)
01003 {
01004 ros::message_operations::Printer< ::object_manipulation_msgs::PlaceAction_<ContainerAllocator> >::stream(s, "", v);
01005 return s;}
01006
01007 }
01008
01009 namespace ros
01010 {
01011 namespace message_traits
01012 {
01013 template<class ContainerAllocator> struct IsMessage< ::object_manipulation_msgs::PlaceAction_<ContainerAllocator> > : public TrueType {};
01014 template<class ContainerAllocator> struct IsMessage< ::object_manipulation_msgs::PlaceAction_<ContainerAllocator> const> : public TrueType {};
01015 template<class ContainerAllocator>
01016 struct MD5Sum< ::object_manipulation_msgs::PlaceAction_<ContainerAllocator> > {
01017 static const char* value()
01018 {
01019 return "ab3cf2087cd7ecb514df855fc4069d22";
01020 }
01021
01022 static const char* value(const ::object_manipulation_msgs::PlaceAction_<ContainerAllocator> &) { return value(); }
01023 static const uint64_t static_value1 = 0xab3cf2087cd7ecb5ULL;
01024 static const uint64_t static_value2 = 0x14df855fc4069d22ULL;
01025 };
01026
01027 template<class ContainerAllocator>
01028 struct DataType< ::object_manipulation_msgs::PlaceAction_<ContainerAllocator> > {
01029 static const char* value()
01030 {
01031 return "object_manipulation_msgs/PlaceAction";
01032 }
01033
01034 static const char* value(const ::object_manipulation_msgs::PlaceAction_<ContainerAllocator> &) { return value(); }
01035 };
01036
01037 template<class ContainerAllocator>
01038 struct Definition< ::object_manipulation_msgs::PlaceAction_<ContainerAllocator> > {
01039 static const char* value()
01040 {
01041 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
01042 \n\
01043 PlaceActionGoal action_goal\n\
01044 PlaceActionResult action_result\n\
01045 PlaceActionFeedback action_feedback\n\
01046 \n\
01047 ================================================================================\n\
01048 MSG: object_manipulation_msgs/PlaceActionGoal\n\
01049 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
01050 \n\
01051 Header header\n\
01052 actionlib_msgs/GoalID goal_id\n\
01053 PlaceGoal goal\n\
01054 \n\
01055 ================================================================================\n\
01056 MSG: std_msgs/Header\n\
01057 # Standard metadata for higher-level stamped data types.\n\
01058 # This is generally used to communicate timestamped data \n\
01059 # in a particular coordinate frame.\n\
01060 # \n\
01061 # sequence ID: consecutively increasing ID \n\
01062 uint32 seq\n\
01063 #Two-integer timestamp that is expressed as:\n\
01064 # * stamp.secs: seconds (stamp_secs) since epoch\n\
01065 # * stamp.nsecs: nanoseconds since stamp_secs\n\
01066 # time-handling sugar is provided by the client library\n\
01067 time stamp\n\
01068 #Frame this data is associated with\n\
01069 # 0: no frame\n\
01070 # 1: global frame\n\
01071 string frame_id\n\
01072 \n\
01073 ================================================================================\n\
01074 MSG: actionlib_msgs/GoalID\n\
01075 # The stamp should store the time at which this goal was requested.\n\
01076 # It is used by an action server when it tries to preempt all\n\
01077 # goals that were requested before a certain time\n\
01078 time stamp\n\
01079 \n\
01080 # The id provides a way to associate feedback and\n\
01081 # result message with specific goal requests. The id\n\
01082 # specified must be unique.\n\
01083 string id\n\
01084 \n\
01085 \n\
01086 ================================================================================\n\
01087 MSG: object_manipulation_msgs/PlaceGoal\n\
01088 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
01089 # An action for placing an object\n\
01090 \n\
01091 # which arm to be used for grasping\n\
01092 string arm_name\n\
01093 \n\
01094 # a list of possible transformations for placing the object (place_trans)\n\
01095 # the final pose of the wrist for placement (place_wrist_pose) is as follows:\n\
01096 # place_wrist_pose = place_trans * grasp_pose\n\
01097 # the frame_id for wrist_trans is defined here, and \n\
01098 # should be the same for all place_locations\n\
01099 geometry_msgs/PoseStamped[] place_locations\n\
01100 \n\
01101 # the grasp that has been executed on this object\n\
01102 # (contains the grasp_pose referred to above)\n\
01103 Grasp grasp\n\
01104 \n\
01105 # how far the retreat should ideally be away from the place location\n\
01106 float32 desired_retreat_distance\n\
01107 \n\
01108 # the min distance between the retreat and the place location that must actually be feasible \n\
01109 # for the place not to be rejected\n\
01110 float32 min_retreat_distance\n\
01111 \n\
01112 # how the place location should be approached\n\
01113 # the frame_id that this lift is specified in MUST be either the robot_frame \n\
01114 # or the gripper_frame specified in your hand description file\n\
01115 GripperTranslation approach\n\
01116 \n\
01117 # the name that the target object has in the collision map\n\
01118 # can be left empty if no name is available\n\
01119 string collision_object_name\n\
01120 \n\
01121 # the name that the support surface (e.g. table) has in the collision map\n\
01122 # can be left empty if no name is available\n\
01123 string collision_support_surface_name\n\
01124 \n\
01125 # whether collisions between the gripper and the support surface should be acceptable\n\
01126 # during move from pre-place to place and during retreat. Collisions when moving to the\n\
01127 # pre-place location are still not allowed even if this is set to true.\n\
01128 bool allow_gripper_support_collision\n\
01129 \n\
01130 # whether reactive placing based on tactile sensors should be used\n\
01131 bool use_reactive_place\n\
01132 \n\
01133 # how much the object should be padded by when deciding if the grasp\n\
01134 # location is freasible or not\n\
01135 float64 place_padding\n\
01136 \n\
01137 # set this to true if you only want to query the manipulation pipeline as to what \n\
01138 # place locations it thinks are feasible, without actually executing them. If this is set to \n\
01139 # true, the atempted_location_results field of the result will be populated, but no arm \n\
01140 # movement will be attempted\n\
01141 bool only_perform_feasibility_test\n\
01142 \n\
01143 # OPTIONAL (These will not have to be filled out most of the time)\n\
01144 # constraints to be imposed on every point in the motion of the arm\n\
01145 arm_navigation_msgs/Constraints path_constraints\n\
01146 \n\
01147 # OPTIONAL (These will not have to be filled out most of the time)\n\
01148 # additional collision operations to be used for every arm movement performed\n\
01149 # during placing. Note that these will be added on top of (and thus overide) other \n\
01150 # collision operations that the grasping pipeline deems necessary. Should be used\n\
01151 # with care and only if special behaviors are desired.\n\
01152 arm_navigation_msgs/OrderedCollisionOperations additional_collision_operations\n\
01153 \n\
01154 # OPTIONAL (These will not have to be filled out most of the time)\n\
01155 # additional link paddings to be used for every arm movement performed\n\
01156 # during placing. Note that these will be added on top of (and thus overide) other \n\
01157 # link paddings that the grasping pipeline deems necessary. Should be used\n\
01158 # with care and only if special behaviors are desired.\n\
01159 arm_navigation_msgs/LinkPadding[] additional_link_padding\n\
01160 \n\
01161 \n\
01162 ================================================================================\n\
01163 MSG: geometry_msgs/PoseStamped\n\
01164 # A Pose with reference coordinate frame and timestamp\n\
01165 Header header\n\
01166 Pose pose\n\
01167 \n\
01168 ================================================================================\n\
01169 MSG: geometry_msgs/Pose\n\
01170 # A representation of pose in free space, composed of postion and orientation. \n\
01171 Point position\n\
01172 Quaternion orientation\n\
01173 \n\
01174 ================================================================================\n\
01175 MSG: geometry_msgs/Point\n\
01176 # This contains the position of a point in free space\n\
01177 float64 x\n\
01178 float64 y\n\
01179 float64 z\n\
01180 \n\
01181 ================================================================================\n\
01182 MSG: geometry_msgs/Quaternion\n\
01183 # This represents an orientation in free space in quaternion form.\n\
01184 \n\
01185 float64 x\n\
01186 float64 y\n\
01187 float64 z\n\
01188 float64 w\n\
01189 \n\
01190 ================================================================================\n\
01191 MSG: object_manipulation_msgs/Grasp\n\
01192 \n\
01193 # The internal posture of the hand for the pre-grasp\n\
01194 # only positions are used\n\
01195 sensor_msgs/JointState pre_grasp_posture\n\
01196 \n\
01197 # The internal posture of the hand for the grasp\n\
01198 # positions and efforts are used\n\
01199 sensor_msgs/JointState grasp_posture\n\
01200 \n\
01201 # The position of the end-effector for the grasp relative to a reference frame \n\
01202 # (that is always specified elsewhere, not in this message)\n\
01203 geometry_msgs/Pose grasp_pose\n\
01204 \n\
01205 # The estimated probability of success for this grasp\n\
01206 float64 success_probability\n\
01207 \n\
01208 # Debug flag to indicate that this grasp would be the best in its cluster\n\
01209 bool cluster_rep\n\
01210 \n\
01211 # how far the pre-grasp should ideally be away from the grasp\n\
01212 float32 desired_approach_distance\n\
01213 \n\
01214 # how much distance between pre-grasp and grasp must actually be feasible \n\
01215 # for the grasp not to be rejected\n\
01216 float32 min_approach_distance\n\
01217 \n\
01218 # an optional list of obstacles that we have semantic information about\n\
01219 # and that we expect might move in the course of executing this grasp\n\
01220 # the grasp planner is expected to make sure they move in an OK way; during\n\
01221 # execution, grasp executors will not check for collisions against these objects\n\
01222 GraspableObject[] moved_obstacles\n\
01223 \n\
01224 ================================================================================\n\
01225 MSG: sensor_msgs/JointState\n\
01226 # This is a message that holds data to describe the state of a set of torque controlled joints. \n\
01227 #\n\
01228 # The state of each joint (revolute or prismatic) is defined by:\n\
01229 # * the position of the joint (rad or m),\n\
01230 # * the velocity of the joint (rad/s or m/s) and \n\
01231 # * the effort that is applied in the joint (Nm or N).\n\
01232 #\n\
01233 # Each joint is uniquely identified by its name\n\
01234 # The header specifies the time at which the joint states were recorded. All the joint states\n\
01235 # in one message have to be recorded at the same time.\n\
01236 #\n\
01237 # This message consists of a multiple arrays, one for each part of the joint state. \n\
01238 # The goal is to make each of the fields optional. When e.g. your joints have no\n\
01239 # effort associated with them, you can leave the effort array empty. \n\
01240 #\n\
01241 # All arrays in this message should have the same size, or be empty.\n\
01242 # This is the only way to uniquely associate the joint name with the correct\n\
01243 # states.\n\
01244 \n\
01245 \n\
01246 Header header\n\
01247 \n\
01248 string[] name\n\
01249 float64[] position\n\
01250 float64[] velocity\n\
01251 float64[] effort\n\
01252 \n\
01253 ================================================================================\n\
01254 MSG: object_manipulation_msgs/GraspableObject\n\
01255 # an object that the object_manipulator can work on\n\
01256 \n\
01257 # a graspable object can be represented in multiple ways. This message\n\
01258 # can contain all of them. Which one is actually used is up to the receiver\n\
01259 # of this message. When adding new representations, one must be careful that\n\
01260 # they have reasonable lightweight defaults indicating that that particular\n\
01261 # representation is not available.\n\
01262 \n\
01263 # the tf frame to be used as a reference frame when combining information from\n\
01264 # the different representations below\n\
01265 string reference_frame_id\n\
01266 \n\
01267 # potential recognition results from a database of models\n\
01268 # all poses are relative to the object reference pose\n\
01269 household_objects_database_msgs/DatabaseModelPose[] potential_models\n\
01270 \n\
01271 # the point cloud itself\n\
01272 sensor_msgs/PointCloud cluster\n\
01273 \n\
01274 # a region of a PointCloud2 of interest\n\
01275 object_manipulation_msgs/SceneRegion region\n\
01276 \n\
01277 # the name that this object has in the collision environment\n\
01278 string collision_name\n\
01279 ================================================================================\n\
01280 MSG: household_objects_database_msgs/DatabaseModelPose\n\
01281 # Informs that a specific model from the Model Database has been \n\
01282 # identified at a certain location\n\
01283 \n\
01284 # the database id of the model\n\
01285 int32 model_id\n\
01286 \n\
01287 # the pose that it can be found in\n\
01288 geometry_msgs/PoseStamped pose\n\
01289 \n\
01290 # a measure of the confidence level in this detection result\n\
01291 float32 confidence\n\
01292 \n\
01293 # the name of the object detector that generated this detection result\n\
01294 string detector_name\n\
01295 \n\
01296 ================================================================================\n\
01297 MSG: sensor_msgs/PointCloud\n\
01298 # This message holds a collection of 3d points, plus optional additional\n\
01299 # information about each point.\n\
01300 \n\
01301 # Time of sensor data acquisition, coordinate frame ID.\n\
01302 Header header\n\
01303 \n\
01304 # Array of 3d points. Each Point32 should be interpreted as a 3d point\n\
01305 # in the frame given in the header.\n\
01306 geometry_msgs/Point32[] points\n\
01307 \n\
01308 # Each channel should have the same number of elements as points array,\n\
01309 # and the data in each channel should correspond 1:1 with each point.\n\
01310 # Channel names in common practice are listed in ChannelFloat32.msg.\n\
01311 ChannelFloat32[] channels\n\
01312 \n\
01313 ================================================================================\n\
01314 MSG: geometry_msgs/Point32\n\
01315 # This contains the position of a point in free space(with 32 bits of precision).\n\
01316 # It is recommeded to use Point wherever possible instead of Point32. \n\
01317 # \n\
01318 # This recommendation is to promote interoperability. \n\
01319 #\n\
01320 # This message is designed to take up less space when sending\n\
01321 # lots of points at once, as in the case of a PointCloud. \n\
01322 \n\
01323 float32 x\n\
01324 float32 y\n\
01325 float32 z\n\
01326 ================================================================================\n\
01327 MSG: sensor_msgs/ChannelFloat32\n\
01328 # This message is used by the PointCloud message to hold optional data\n\
01329 # associated with each point in the cloud. The length of the values\n\
01330 # array should be the same as the length of the points array in the\n\
01331 # PointCloud, and each value should be associated with the corresponding\n\
01332 # point.\n\
01333 \n\
01334 # Channel names in existing practice include:\n\
01335 # \"u\", \"v\" - row and column (respectively) in the left stereo image.\n\
01336 # This is opposite to usual conventions but remains for\n\
01337 # historical reasons. The newer PointCloud2 message has no\n\
01338 # such problem.\n\
01339 # \"rgb\" - For point clouds produced by color stereo cameras. uint8\n\
01340 # (R,G,B) values packed into the least significant 24 bits,\n\
01341 # in order.\n\
01342 # \"intensity\" - laser or pixel intensity.\n\
01343 # \"distance\"\n\
01344 \n\
01345 # The channel name should give semantics of the channel (e.g.\n\
01346 # \"intensity\" instead of \"value\").\n\
01347 string name\n\
01348 \n\
01349 # The values array should be 1-1 with the elements of the associated\n\
01350 # PointCloud.\n\
01351 float32[] values\n\
01352 \n\
01353 ================================================================================\n\
01354 MSG: object_manipulation_msgs/SceneRegion\n\
01355 # Point cloud\n\
01356 sensor_msgs/PointCloud2 cloud\n\
01357 \n\
01358 # Indices for the region of interest\n\
01359 int32[] mask\n\
01360 \n\
01361 # One of the corresponding 2D images, if applicable\n\
01362 sensor_msgs/Image image\n\
01363 \n\
01364 # The disparity image, if applicable\n\
01365 sensor_msgs/Image disparity_image\n\
01366 \n\
01367 # Camera info for the camera that took the image\n\
01368 sensor_msgs/CameraInfo cam_info\n\
01369 \n\
01370 # a 3D region of interest for grasp planning\n\
01371 geometry_msgs/PoseStamped roi_box_pose\n\
01372 geometry_msgs/Vector3 roi_box_dims\n\
01373 \n\
01374 ================================================================================\n\
01375 MSG: sensor_msgs/PointCloud2\n\
01376 # This message holds a collection of N-dimensional points, which may\n\
01377 # contain additional information such as normals, intensity, etc. The\n\
01378 # point data is stored as a binary blob, its layout described by the\n\
01379 # contents of the \"fields\" array.\n\
01380 \n\
01381 # The point cloud data may be organized 2d (image-like) or 1d\n\
01382 # (unordered). Point clouds organized as 2d images may be produced by\n\
01383 # camera depth sensors such as stereo or time-of-flight.\n\
01384 \n\
01385 # Time of sensor data acquisition, and the coordinate frame ID (for 3d\n\
01386 # points).\n\
01387 Header header\n\
01388 \n\
01389 # 2D structure of the point cloud. If the cloud is unordered, height is\n\
01390 # 1 and width is the length of the point cloud.\n\
01391 uint32 height\n\
01392 uint32 width\n\
01393 \n\
01394 # Describes the channels and their layout in the binary data blob.\n\
01395 PointField[] fields\n\
01396 \n\
01397 bool is_bigendian # Is this data bigendian?\n\
01398 uint32 point_step # Length of a point in bytes\n\
01399 uint32 row_step # Length of a row in bytes\n\
01400 uint8[] data # Actual point data, size is (row_step*height)\n\
01401 \n\
01402 bool is_dense # True if there are no invalid points\n\
01403 \n\
01404 ================================================================================\n\
01405 MSG: sensor_msgs/PointField\n\
01406 # This message holds the description of one point entry in the\n\
01407 # PointCloud2 message format.\n\
01408 uint8 INT8 = 1\n\
01409 uint8 UINT8 = 2\n\
01410 uint8 INT16 = 3\n\
01411 uint8 UINT16 = 4\n\
01412 uint8 INT32 = 5\n\
01413 uint8 UINT32 = 6\n\
01414 uint8 FLOAT32 = 7\n\
01415 uint8 FLOAT64 = 8\n\
01416 \n\
01417 string name # Name of field\n\
01418 uint32 offset # Offset from start of point struct\n\
01419 uint8 datatype # Datatype enumeration, see above\n\
01420 uint32 count # How many elements in the field\n\
01421 \n\
01422 ================================================================================\n\
01423 MSG: sensor_msgs/Image\n\
01424 # This message contains an uncompressed image\n\
01425 # (0, 0) is at top-left corner of image\n\
01426 #\n\
01427 \n\
01428 Header header # Header timestamp should be acquisition time of image\n\
01429 # Header frame_id should be optical frame of camera\n\
01430 # origin of frame should be optical center of cameara\n\
01431 # +x should point to the right in the image\n\
01432 # +y should point down in the image\n\
01433 # +z should point into to plane of the image\n\
01434 # If the frame_id here and the frame_id of the CameraInfo\n\
01435 # message associated with the image conflict\n\
01436 # the behavior is undefined\n\
01437 \n\
01438 uint32 height # image height, that is, number of rows\n\
01439 uint32 width # image width, that is, number of columns\n\
01440 \n\
01441 # The legal values for encoding are in file src/image_encodings.cpp\n\
01442 # If you want to standardize a new string format, join\n\
01443 # ros-users@lists.sourceforge.net and send an email proposing a new encoding.\n\
01444 \n\
01445 string encoding # Encoding of pixels -- channel meaning, ordering, size\n\
01446 # taken from the list of strings in src/image_encodings.cpp\n\
01447 \n\
01448 uint8 is_bigendian # is this data bigendian?\n\
01449 uint32 step # Full row length in bytes\n\
01450 uint8[] data # actual matrix data, size is (step * rows)\n\
01451 \n\
01452 ================================================================================\n\
01453 MSG: sensor_msgs/CameraInfo\n\
01454 # This message defines meta information for a camera. It should be in a\n\
01455 # camera namespace on topic \"camera_info\" and accompanied by up to five\n\
01456 # image topics named:\n\
01457 #\n\
01458 # image_raw - raw data from the camera driver, possibly Bayer encoded\n\
01459 # image - monochrome, distorted\n\
01460 # image_color - color, distorted\n\
01461 # image_rect - monochrome, rectified\n\
01462 # image_rect_color - color, rectified\n\
01463 #\n\
01464 # The image_pipeline contains packages (image_proc, stereo_image_proc)\n\
01465 # for producing the four processed image topics from image_raw and\n\
01466 # camera_info. The meaning of the camera parameters are described in\n\
01467 # detail at http://www.ros.org/wiki/image_pipeline/CameraInfo.\n\
01468 #\n\
01469 # The image_geometry package provides a user-friendly interface to\n\
01470 # common operations using this meta information. If you want to, e.g.,\n\
01471 # project a 3d point into image coordinates, we strongly recommend\n\
01472 # using image_geometry.\n\
01473 #\n\
01474 # If the camera is uncalibrated, the matrices D, K, R, P should be left\n\
01475 # zeroed out. In particular, clients may assume that K[0] == 0.0\n\
01476 # indicates an uncalibrated camera.\n\
01477 \n\
01478 #######################################################################\n\
01479 # Image acquisition info #\n\
01480 #######################################################################\n\
01481 \n\
01482 # Time of image acquisition, camera coordinate frame ID\n\
01483 Header header # Header timestamp should be acquisition time of image\n\
01484 # Header frame_id should be optical frame of camera\n\
01485 # origin of frame should be optical center of camera\n\
01486 # +x should point to the right in the image\n\
01487 # +y should point down in the image\n\
01488 # +z should point into the plane of the image\n\
01489 \n\
01490 \n\
01491 #######################################################################\n\
01492 # Calibration Parameters #\n\
01493 #######################################################################\n\
01494 # These are fixed during camera calibration. Their values will be the #\n\
01495 # same in all messages until the camera is recalibrated. Note that #\n\
01496 # self-calibrating systems may \"recalibrate\" frequently. #\n\
01497 # #\n\
01498 # The internal parameters can be used to warp a raw (distorted) image #\n\
01499 # to: #\n\
01500 # 1. An undistorted image (requires D and K) #\n\
01501 # 2. A rectified image (requires D, K, R) #\n\
01502 # The projection matrix P projects 3D points into the rectified image.#\n\
01503 #######################################################################\n\
01504 \n\
01505 # The image dimensions with which the camera was calibrated. Normally\n\
01506 # this will be the full camera resolution in pixels.\n\
01507 uint32 height\n\
01508 uint32 width\n\
01509 \n\
01510 # The distortion model used. Supported models are listed in\n\
01511 # sensor_msgs/distortion_models.h. For most cameras, \"plumb_bob\" - a\n\
01512 # simple model of radial and tangential distortion - is sufficent.\n\
01513 string distortion_model\n\
01514 \n\
01515 # The distortion parameters, size depending on the distortion model.\n\
01516 # For \"plumb_bob\", the 5 parameters are: (k1, k2, t1, t2, k3).\n\
01517 float64[] D\n\
01518 \n\
01519 # Intrinsic camera matrix for the raw (distorted) images.\n\
01520 # [fx 0 cx]\n\
01521 # K = [ 0 fy cy]\n\
01522 # [ 0 0 1]\n\
01523 # Projects 3D points in the camera coordinate frame to 2D pixel\n\
01524 # coordinates using the focal lengths (fx, fy) and principal point\n\
01525 # (cx, cy).\n\
01526 float64[9] K # 3x3 row-major matrix\n\
01527 \n\
01528 # Rectification matrix (stereo cameras only)\n\
01529 # A rotation matrix aligning the camera coordinate system to the ideal\n\
01530 # stereo image plane so that epipolar lines in both stereo images are\n\
01531 # parallel.\n\
01532 float64[9] R # 3x3 row-major matrix\n\
01533 \n\
01534 # Projection/camera matrix\n\
01535 # [fx' 0 cx' Tx]\n\
01536 # P = [ 0 fy' cy' Ty]\n\
01537 # [ 0 0 1 0]\n\
01538 # By convention, this matrix specifies the intrinsic (camera) matrix\n\
01539 # of the processed (rectified) image. That is, the left 3x3 portion\n\
01540 # is the normal camera intrinsic matrix for the rectified image.\n\
01541 # It projects 3D points in the camera coordinate frame to 2D pixel\n\
01542 # coordinates using the focal lengths (fx', fy') and principal point\n\
01543 # (cx', cy') - these may differ from the values in K.\n\
01544 # For monocular cameras, Tx = Ty = 0. Normally, monocular cameras will\n\
01545 # also have R = the identity and P[1:3,1:3] = K.\n\
01546 # For a stereo pair, the fourth column [Tx Ty 0]' is related to the\n\
01547 # position of the optical center of the second camera in the first\n\
01548 # camera's frame. We assume Tz = 0 so both cameras are in the same\n\
01549 # stereo image plane. The first camera always has Tx = Ty = 0. For\n\
01550 # the right (second) camera of a horizontal stereo pair, Ty = 0 and\n\
01551 # Tx = -fx' * B, where B is the baseline between the cameras.\n\
01552 # Given a 3D point [X Y Z]', the projection (x, y) of the point onto\n\
01553 # the rectified image is given by:\n\
01554 # [u v w]' = P * [X Y Z 1]'\n\
01555 # x = u / w\n\
01556 # y = v / w\n\
01557 # This holds for both images of a stereo pair.\n\
01558 float64[12] P # 3x4 row-major matrix\n\
01559 \n\
01560 \n\
01561 #######################################################################\n\
01562 # Operational Parameters #\n\
01563 #######################################################################\n\
01564 # These define the image region actually captured by the camera #\n\
01565 # driver. Although they affect the geometry of the output image, they #\n\
01566 # may be changed freely without recalibrating the camera. #\n\
01567 #######################################################################\n\
01568 \n\
01569 # Binning refers here to any camera setting which combines rectangular\n\
01570 # neighborhoods of pixels into larger \"super-pixels.\" It reduces the\n\
01571 # resolution of the output image to\n\
01572 # (width / binning_x) x (height / binning_y).\n\
01573 # The default values binning_x = binning_y = 0 is considered the same\n\
01574 # as binning_x = binning_y = 1 (no subsampling).\n\
01575 uint32 binning_x\n\
01576 uint32 binning_y\n\
01577 \n\
01578 # Region of interest (subwindow of full camera resolution), given in\n\
01579 # full resolution (unbinned) image coordinates. A particular ROI\n\
01580 # always denotes the same window of pixels on the camera sensor,\n\
01581 # regardless of binning settings.\n\
01582 # The default setting of roi (all values 0) is considered the same as\n\
01583 # full resolution (roi.width = width, roi.height = height).\n\
01584 RegionOfInterest roi\n\
01585 \n\
01586 ================================================================================\n\
01587 MSG: sensor_msgs/RegionOfInterest\n\
01588 # This message is used to specify a region of interest within an image.\n\
01589 #\n\
01590 # When used to specify the ROI setting of the camera when the image was\n\
01591 # taken, the height and width fields should either match the height and\n\
01592 # width fields for the associated image; or height = width = 0\n\
01593 # indicates that the full resolution image was captured.\n\
01594 \n\
01595 uint32 x_offset # Leftmost pixel of the ROI\n\
01596 # (0 if the ROI includes the left edge of the image)\n\
01597 uint32 y_offset # Topmost pixel of the ROI\n\
01598 # (0 if the ROI includes the top edge of the image)\n\
01599 uint32 height # Height of ROI\n\
01600 uint32 width # Width of ROI\n\
01601 \n\
01602 # True if a distinct rectified ROI should be calculated from the \"raw\"\n\
01603 # ROI in this message. Typically this should be False if the full image\n\
01604 # is captured (ROI not used), and True if a subwindow is captured (ROI\n\
01605 # used).\n\
01606 bool do_rectify\n\
01607 \n\
01608 ================================================================================\n\
01609 MSG: geometry_msgs/Vector3\n\
01610 # This represents a vector in free space. \n\
01611 \n\
01612 float64 x\n\
01613 float64 y\n\
01614 float64 z\n\
01615 ================================================================================\n\
01616 MSG: object_manipulation_msgs/GripperTranslation\n\
01617 # defines a translation for the gripper, used in pickup or place tasks\n\
01618 # for example for lifting an object off a table or approaching the table for placing\n\
01619 \n\
01620 # the direction of the translation\n\
01621 geometry_msgs/Vector3Stamped direction\n\
01622 \n\
01623 # the desired translation distance\n\
01624 float32 desired_distance\n\
01625 \n\
01626 # the min distance that must be considered feasible before the\n\
01627 # grasp is even attempted\n\
01628 float32 min_distance\n\
01629 ================================================================================\n\
01630 MSG: geometry_msgs/Vector3Stamped\n\
01631 # This represents a Vector3 with reference coordinate frame and timestamp\n\
01632 Header header\n\
01633 Vector3 vector\n\
01634 \n\
01635 ================================================================================\n\
01636 MSG: arm_navigation_msgs/Constraints\n\
01637 # This message contains a list of motion planning constraints.\n\
01638 \n\
01639 arm_navigation_msgs/JointConstraint[] joint_constraints\n\
01640 arm_navigation_msgs/PositionConstraint[] position_constraints\n\
01641 arm_navigation_msgs/OrientationConstraint[] orientation_constraints\n\
01642 arm_navigation_msgs/VisibilityConstraint[] visibility_constraints\n\
01643 \n\
01644 ================================================================================\n\
01645 MSG: arm_navigation_msgs/JointConstraint\n\
01646 # Constrain the position of a joint to be within a certain bound\n\
01647 string joint_name\n\
01648 \n\
01649 # the bound to be achieved is [position - tolerance_below, position + tolerance_above]\n\
01650 float64 position\n\
01651 float64 tolerance_above\n\
01652 float64 tolerance_below\n\
01653 \n\
01654 # A weighting factor for this constraint\n\
01655 float64 weight\n\
01656 ================================================================================\n\
01657 MSG: arm_navigation_msgs/PositionConstraint\n\
01658 # This message contains the definition of a position constraint.\n\
01659 Header header\n\
01660 \n\
01661 # The robot link this constraint refers to\n\
01662 string link_name\n\
01663 \n\
01664 # The offset (in the link frame) for the target point on the link we are planning for\n\
01665 geometry_msgs/Point target_point_offset\n\
01666 \n\
01667 # The nominal/target position for the point we are planning for\n\
01668 geometry_msgs/Point position\n\
01669 \n\
01670 # The shape of the bounded region that constrains the position of the end-effector\n\
01671 # This region is always centered at the position defined above\n\
01672 arm_navigation_msgs/Shape constraint_region_shape\n\
01673 \n\
01674 # The orientation of the bounded region that constrains the position of the end-effector. \n\
01675 # This allows the specification of non-axis aligned constraints\n\
01676 geometry_msgs/Quaternion constraint_region_orientation\n\
01677 \n\
01678 # Constraint weighting factor - a weight for this constraint\n\
01679 float64 weight\n\
01680 \n\
01681 ================================================================================\n\
01682 MSG: arm_navigation_msgs/Shape\n\
01683 byte SPHERE=0\n\
01684 byte BOX=1\n\
01685 byte CYLINDER=2\n\
01686 byte MESH=3\n\
01687 \n\
01688 byte type\n\
01689 \n\
01690 \n\
01691 #### define sphere, box, cylinder ####\n\
01692 # the origin of each shape is considered at the shape's center\n\
01693 \n\
01694 # for sphere\n\
01695 # radius := dimensions[0]\n\
01696 \n\
01697 # for cylinder\n\
01698 # radius := dimensions[0]\n\
01699 # length := dimensions[1]\n\
01700 # the length is along the Z axis\n\
01701 \n\
01702 # for box\n\
01703 # size_x := dimensions[0]\n\
01704 # size_y := dimensions[1]\n\
01705 # size_z := dimensions[2]\n\
01706 float64[] dimensions\n\
01707 \n\
01708 \n\
01709 #### define mesh ####\n\
01710 \n\
01711 # list of triangles; triangle k is defined by tre vertices located\n\
01712 # at indices triangles[3k], triangles[3k+1], triangles[3k+2]\n\
01713 int32[] triangles\n\
01714 geometry_msgs/Point[] vertices\n\
01715 \n\
01716 ================================================================================\n\
01717 MSG: arm_navigation_msgs/OrientationConstraint\n\
01718 # This message contains the definition of an orientation constraint.\n\
01719 Header header\n\
01720 \n\
01721 # The robot link this constraint refers to\n\
01722 string link_name\n\
01723 \n\
01724 # The type of the constraint\n\
01725 int32 type\n\
01726 int32 LINK_FRAME=0\n\
01727 int32 HEADER_FRAME=1\n\
01728 \n\
01729 # The desired orientation of the robot link specified as a quaternion\n\
01730 geometry_msgs/Quaternion orientation\n\
01731 \n\
01732 # optional RPY error tolerances specified if \n\
01733 float64 absolute_roll_tolerance\n\
01734 float64 absolute_pitch_tolerance\n\
01735 float64 absolute_yaw_tolerance\n\
01736 \n\
01737 # Constraint weighting factor - a weight for this constraint\n\
01738 float64 weight\n\
01739 \n\
01740 ================================================================================\n\
01741 MSG: arm_navigation_msgs/VisibilityConstraint\n\
01742 # This message contains the definition of a visibility constraint.\n\
01743 Header header\n\
01744 \n\
01745 # The point stamped target that needs to be kept within view of the sensor\n\
01746 geometry_msgs/PointStamped target\n\
01747 \n\
01748 # The local pose of the frame in which visibility is to be maintained\n\
01749 # The frame id should represent the robot link to which the sensor is attached\n\
01750 # The visual axis of the sensor is assumed to be along the X axis of this frame\n\
01751 geometry_msgs/PoseStamped sensor_pose\n\
01752 \n\
01753 # The deviation (in radians) that will be tolerated\n\
01754 # Constraint error will be measured as the solid angle between the \n\
01755 # X axis of the frame defined above and the vector between the origin \n\
01756 # of the frame defined above and the target location\n\
01757 float64 absolute_tolerance\n\
01758 \n\
01759 \n\
01760 ================================================================================\n\
01761 MSG: geometry_msgs/PointStamped\n\
01762 # This represents a Point with reference coordinate frame and timestamp\n\
01763 Header header\n\
01764 Point point\n\
01765 \n\
01766 ================================================================================\n\
01767 MSG: arm_navigation_msgs/OrderedCollisionOperations\n\
01768 # A set of collision operations that will be performed in the order they are specified\n\
01769 CollisionOperation[] collision_operations\n\
01770 ================================================================================\n\
01771 MSG: arm_navigation_msgs/CollisionOperation\n\
01772 # A definition of a collision operation\n\
01773 # E.g. (\"gripper\",COLLISION_SET_ALL,ENABLE) will enable collisions \n\
01774 # between the gripper and all objects in the collision space\n\
01775 \n\
01776 string object1\n\
01777 string object2\n\
01778 string COLLISION_SET_ALL=\"all\"\n\
01779 string COLLISION_SET_OBJECTS=\"objects\"\n\
01780 string COLLISION_SET_ATTACHED_OBJECTS=\"attached\"\n\
01781 \n\
01782 # The penetration distance to which collisions are allowed. This is 0.0 by default.\n\
01783 float64 penetration_distance\n\
01784 \n\
01785 # Flag that determines whether collisions will be enabled or disabled for the pair of objects specified above\n\
01786 int32 operation\n\
01787 int32 DISABLE=0\n\
01788 int32 ENABLE=1\n\
01789 \n\
01790 ================================================================================\n\
01791 MSG: arm_navigation_msgs/LinkPadding\n\
01792 #name for the link\n\
01793 string link_name\n\
01794 \n\
01795 # padding to apply to the link\n\
01796 float64 padding\n\
01797 \n\
01798 ================================================================================\n\
01799 MSG: object_manipulation_msgs/PlaceActionResult\n\
01800 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
01801 \n\
01802 Header header\n\
01803 actionlib_msgs/GoalStatus status\n\
01804 PlaceResult result\n\
01805 \n\
01806 ================================================================================\n\
01807 MSG: actionlib_msgs/GoalStatus\n\
01808 GoalID goal_id\n\
01809 uint8 status\n\
01810 uint8 PENDING = 0 # The goal has yet to be processed by the action server\n\
01811 uint8 ACTIVE = 1 # The goal is currently being processed by the action server\n\
01812 uint8 PREEMPTED = 2 # The goal received a cancel request after it started executing\n\
01813 # and has since completed its execution (Terminal State)\n\
01814 uint8 SUCCEEDED = 3 # The goal was achieved successfully by the action server (Terminal State)\n\
01815 uint8 ABORTED = 4 # The goal was aborted during execution by the action server due\n\
01816 # to some failure (Terminal State)\n\
01817 uint8 REJECTED = 5 # The goal was rejected by the action server without being processed,\n\
01818 # because the goal was unattainable or invalid (Terminal State)\n\
01819 uint8 PREEMPTING = 6 # The goal received a cancel request after it started executing\n\
01820 # and has not yet completed execution\n\
01821 uint8 RECALLING = 7 # The goal received a cancel request before it started executing,\n\
01822 # but the action server has not yet confirmed that the goal is canceled\n\
01823 uint8 RECALLED = 8 # The goal received a cancel request before it started executing\n\
01824 # and was successfully cancelled (Terminal State)\n\
01825 uint8 LOST = 9 # An action client can determine that a goal is LOST. This should not be\n\
01826 # sent over the wire by an action server\n\
01827 \n\
01828 #Allow for the user to associate a string with GoalStatus for debugging\n\
01829 string text\n\
01830 \n\
01831 \n\
01832 ================================================================================\n\
01833 MSG: object_manipulation_msgs/PlaceResult\n\
01834 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
01835 \n\
01836 # The result of the pickup attempt\n\
01837 ManipulationResult manipulation_result\n\
01838 \n\
01839 # The successful place location, if any\n\
01840 geometry_msgs/PoseStamped place_location\n\
01841 \n\
01842 # the list of attempted locations, in the order in which they were attempted\n\
01843 # the successful one should be the last one in this list\n\
01844 geometry_msgs/PoseStamped[] attempted_locations\n\
01845 \n\
01846 # the outcomes of the attempted locations, in the same order as attempted_locations\n\
01847 PlaceLocationResult[] attempted_location_results\n\
01848 \n\
01849 \n\
01850 ================================================================================\n\
01851 MSG: object_manipulation_msgs/ManipulationResult\n\
01852 # Result codes for manipulation tasks\n\
01853 \n\
01854 # task completed as expected\n\
01855 # generally means you can proceed as planned\n\
01856 int32 SUCCESS = 1\n\
01857 \n\
01858 # task not possible (e.g. out of reach or obstacles in the way)\n\
01859 # generally means that the world was not disturbed, so you can try another task\n\
01860 int32 UNFEASIBLE = -1\n\
01861 \n\
01862 # task was thought possible, but failed due to unexpected events during execution\n\
01863 # it is likely that the world was disturbed, so you are encouraged to refresh\n\
01864 # your sensed world model before proceeding to another task\n\
01865 int32 FAILED = -2\n\
01866 \n\
01867 # a lower level error prevented task completion (e.g. joint controller not responding)\n\
01868 # generally requires human attention\n\
01869 int32 ERROR = -3\n\
01870 \n\
01871 # means that at some point during execution we ended up in a state that the collision-aware\n\
01872 # arm navigation module will not move out of. The world was likely not disturbed, but you \n\
01873 # probably need a new collision map to move the arm out of the stuck position\n\
01874 int32 ARM_MOVEMENT_PREVENTED = -4\n\
01875 \n\
01876 # specific to grasp actions\n\
01877 # the object was grasped successfully, but the lift attempt could not achieve the minimum lift distance requested\n\
01878 # it is likely that the collision environment will see collisions between the hand/object and the support surface\n\
01879 int32 LIFT_FAILED = -5\n\
01880 \n\
01881 # specific to place actions\n\
01882 # the object was placed successfully, but the retreat attempt could not achieve the minimum retreat distance requested\n\
01883 # it is likely that the collision environment will see collisions between the hand and the object\n\
01884 int32 RETREAT_FAILED = -6\n\
01885 \n\
01886 # indicates that somewhere along the line a human said \"wait, stop, this is bad, go back and do something else\"\n\
01887 int32 CANCELLED = -7\n\
01888 \n\
01889 # the actual value of this error code\n\
01890 int32 value\n\
01891 \n\
01892 ================================================================================\n\
01893 MSG: object_manipulation_msgs/PlaceLocationResult\n\
01894 int32 SUCCESS = 1\n\
01895 int32 PLACE_OUT_OF_REACH = 2\n\
01896 int32 PLACE_IN_COLLISION = 3\n\
01897 int32 PLACE_UNFEASIBLE = 4\n\
01898 int32 PREPLACE_OUT_OF_REACH = 5\n\
01899 int32 PREPLACE_IN_COLLISION = 6\n\
01900 int32 PREPLACE_UNFEASIBLE = 7\n\
01901 int32 RETREAT_OUT_OF_REACH = 8\n\
01902 int32 RETREAT_IN_COLLISION = 9\n\
01903 int32 RETREAT_UNFEASIBLE = 10\n\
01904 int32 MOVE_ARM_FAILED = 11\n\
01905 int32 PLACE_FAILED = 12\n\
01906 int32 RETREAT_FAILED = 13\n\
01907 int32 result_code\n\
01908 \n\
01909 # whether the state of the world was disturbed by this attempt. generally, this flag\n\
01910 # shows if another task can be attempted, or a new sensed world model is recommeded\n\
01911 # before proceeding\n\
01912 bool continuation_possible\n\
01913 \n\
01914 ================================================================================\n\
01915 MSG: object_manipulation_msgs/PlaceActionFeedback\n\
01916 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
01917 \n\
01918 Header header\n\
01919 actionlib_msgs/GoalStatus status\n\
01920 PlaceFeedback feedback\n\
01921 \n\
01922 ================================================================================\n\
01923 MSG: object_manipulation_msgs/PlaceFeedback\n\
01924 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
01925 \n\
01926 # The number of the place location currently being attempted\n\
01927 int32 current_location\n\
01928 \n\
01929 # The total number of locations that will be attempted\n\
01930 int32 total_locations\n\
01931 \n\
01932 \n\
01933 ";
01934 }
01935
01936 static const char* value(const ::object_manipulation_msgs::PlaceAction_<ContainerAllocator> &) { return value(); }
01937 };
01938
01939 }
01940 }
01941
01942 namespace ros
01943 {
01944 namespace serialization
01945 {
01946
01947 template<class ContainerAllocator> struct Serializer< ::object_manipulation_msgs::PlaceAction_<ContainerAllocator> >
01948 {
01949 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
01950 {
01951 stream.next(m.action_goal);
01952 stream.next(m.action_result);
01953 stream.next(m.action_feedback);
01954 }
01955
01956 ROS_DECLARE_ALLINONE_SERIALIZER;
01957 };
01958 }
01959 }
01960
01961 namespace ros
01962 {
01963 namespace message_operations
01964 {
01965
01966 template<class ContainerAllocator>
01967 struct Printer< ::object_manipulation_msgs::PlaceAction_<ContainerAllocator> >
01968 {
01969 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::object_manipulation_msgs::PlaceAction_<ContainerAllocator> & v)
01970 {
01971 s << indent << "action_goal: ";
01972 s << std::endl;
01973 Printer< ::object_manipulation_msgs::PlaceActionGoal_<ContainerAllocator> >::stream(s, indent + " ", v.action_goal);
01974 s << indent << "action_result: ";
01975 s << std::endl;
01976 Printer< ::object_manipulation_msgs::PlaceActionResult_<ContainerAllocator> >::stream(s, indent + " ", v.action_result);
01977 s << indent << "action_feedback: ";
01978 s << std::endl;
01979 Printer< ::object_manipulation_msgs::PlaceActionFeedback_<ContainerAllocator> >::stream(s, indent + " ", v.action_feedback);
01980 }
01981 };
01982
01983
01984 }
01985 }
01986
01987 #endif // OBJECT_MANIPULATION_MSGS_MESSAGE_PLACEACTION_H
01988