00001
00002 #ifndef OBJECT_MANIPULATION_MSGS_MESSAGE_PLACEGOAL_H
00003 #define OBJECT_MANIPULATION_MSGS_MESSAGE_PLACEGOAL_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 "geometry_msgs/PoseStamped.h"
00018 #include "manipulation_msgs/Grasp.h"
00019 #include "object_manipulation_msgs/GripperTranslation.h"
00020 #include "arm_navigation_msgs/Constraints.h"
00021 #include "arm_navigation_msgs/OrderedCollisionOperations.h"
00022 #include "arm_navigation_msgs/LinkPadding.h"
00023
00024 namespace object_manipulation_msgs
00025 {
00026 template <class ContainerAllocator>
00027 struct PlaceGoal_ {
00028 typedef PlaceGoal_<ContainerAllocator> Type;
00029
00030 PlaceGoal_()
00031 : arm_name()
00032 , place_locations()
00033 , grasp()
00034 , desired_retreat_distance(0.0)
00035 , min_retreat_distance(0.0)
00036 , approach()
00037 , collision_object_name()
00038 , collision_support_surface_name()
00039 , allow_gripper_support_collision(false)
00040 , use_reactive_place(false)
00041 , place_padding(0.0)
00042 , only_perform_feasibility_test(false)
00043 , path_constraints()
00044 , additional_collision_operations()
00045 , additional_link_padding()
00046 {
00047 }
00048
00049 PlaceGoal_(const ContainerAllocator& _alloc)
00050 : arm_name(_alloc)
00051 , place_locations(_alloc)
00052 , grasp(_alloc)
00053 , desired_retreat_distance(0.0)
00054 , min_retreat_distance(0.0)
00055 , approach(_alloc)
00056 , collision_object_name(_alloc)
00057 , collision_support_surface_name(_alloc)
00058 , allow_gripper_support_collision(false)
00059 , use_reactive_place(false)
00060 , place_padding(0.0)
00061 , only_perform_feasibility_test(false)
00062 , path_constraints(_alloc)
00063 , additional_collision_operations(_alloc)
00064 , additional_link_padding(_alloc)
00065 {
00066 }
00067
00068 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _arm_name_type;
00069 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > arm_name;
00070
00071 typedef std::vector< ::geometry_msgs::PoseStamped_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::PoseStamped_<ContainerAllocator> >::other > _place_locations_type;
00072 std::vector< ::geometry_msgs::PoseStamped_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::PoseStamped_<ContainerAllocator> >::other > place_locations;
00073
00074 typedef ::manipulation_msgs::Grasp_<ContainerAllocator> _grasp_type;
00075 ::manipulation_msgs::Grasp_<ContainerAllocator> grasp;
00076
00077 typedef float _desired_retreat_distance_type;
00078 float desired_retreat_distance;
00079
00080 typedef float _min_retreat_distance_type;
00081 float min_retreat_distance;
00082
00083 typedef ::object_manipulation_msgs::GripperTranslation_<ContainerAllocator> _approach_type;
00084 ::object_manipulation_msgs::GripperTranslation_<ContainerAllocator> approach;
00085
00086 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _collision_object_name_type;
00087 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > collision_object_name;
00088
00089 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _collision_support_surface_name_type;
00090 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > collision_support_surface_name;
00091
00092 typedef uint8_t _allow_gripper_support_collision_type;
00093 uint8_t allow_gripper_support_collision;
00094
00095 typedef uint8_t _use_reactive_place_type;
00096 uint8_t use_reactive_place;
00097
00098 typedef double _place_padding_type;
00099 double place_padding;
00100
00101 typedef uint8_t _only_perform_feasibility_test_type;
00102 uint8_t only_perform_feasibility_test;
00103
00104 typedef ::arm_navigation_msgs::Constraints_<ContainerAllocator> _path_constraints_type;
00105 ::arm_navigation_msgs::Constraints_<ContainerAllocator> path_constraints;
00106
00107 typedef ::arm_navigation_msgs::OrderedCollisionOperations_<ContainerAllocator> _additional_collision_operations_type;
00108 ::arm_navigation_msgs::OrderedCollisionOperations_<ContainerAllocator> additional_collision_operations;
00109
00110 typedef std::vector< ::arm_navigation_msgs::LinkPadding_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::arm_navigation_msgs::LinkPadding_<ContainerAllocator> >::other > _additional_link_padding_type;
00111 std::vector< ::arm_navigation_msgs::LinkPadding_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::arm_navigation_msgs::LinkPadding_<ContainerAllocator> >::other > additional_link_padding;
00112
00113
00114 typedef boost::shared_ptr< ::object_manipulation_msgs::PlaceGoal_<ContainerAllocator> > Ptr;
00115 typedef boost::shared_ptr< ::object_manipulation_msgs::PlaceGoal_<ContainerAllocator> const> ConstPtr;
00116 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00117 };
00118 typedef ::object_manipulation_msgs::PlaceGoal_<std::allocator<void> > PlaceGoal;
00119
00120 typedef boost::shared_ptr< ::object_manipulation_msgs::PlaceGoal> PlaceGoalPtr;
00121 typedef boost::shared_ptr< ::object_manipulation_msgs::PlaceGoal const> PlaceGoalConstPtr;
00122
00123
00124 template<typename ContainerAllocator>
00125 std::ostream& operator<<(std::ostream& s, const ::object_manipulation_msgs::PlaceGoal_<ContainerAllocator> & v)
00126 {
00127 ros::message_operations::Printer< ::object_manipulation_msgs::PlaceGoal_<ContainerAllocator> >::stream(s, "", v);
00128 return s;}
00129
00130 }
00131
00132 namespace ros
00133 {
00134 namespace message_traits
00135 {
00136 template<class ContainerAllocator> struct IsMessage< ::object_manipulation_msgs::PlaceGoal_<ContainerAllocator> > : public TrueType {};
00137 template<class ContainerAllocator> struct IsMessage< ::object_manipulation_msgs::PlaceGoal_<ContainerAllocator> const> : public TrueType {};
00138 template<class ContainerAllocator>
00139 struct MD5Sum< ::object_manipulation_msgs::PlaceGoal_<ContainerAllocator> > {
00140 static const char* value()
00141 {
00142 return "034b7ae47f0a62d98ce7315be451c829";
00143 }
00144
00145 static const char* value(const ::object_manipulation_msgs::PlaceGoal_<ContainerAllocator> &) { return value(); }
00146 static const uint64_t static_value1 = 0x034b7ae47f0a62d9ULL;
00147 static const uint64_t static_value2 = 0x8ce7315be451c829ULL;
00148 };
00149
00150 template<class ContainerAllocator>
00151 struct DataType< ::object_manipulation_msgs::PlaceGoal_<ContainerAllocator> > {
00152 static const char* value()
00153 {
00154 return "object_manipulation_msgs/PlaceGoal";
00155 }
00156
00157 static const char* value(const ::object_manipulation_msgs::PlaceGoal_<ContainerAllocator> &) { return value(); }
00158 };
00159
00160 template<class ContainerAllocator>
00161 struct Definition< ::object_manipulation_msgs::PlaceGoal_<ContainerAllocator> > {
00162 static const char* value()
00163 {
00164 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00165 # An action for placing an object\n\
00166 \n\
00167 # which arm to be used for grasping\n\
00168 string arm_name\n\
00169 \n\
00170 # a list of possible locations for the gripper when placing\n\
00171 # note that these refer to where the *gripper* should go when the object is placed\n\
00172 # it is the job of the caller to make sure that these are set to that the *object*\n\
00173 # ends up in a desired location\n\
00174 geometry_msgs/PoseStamped[] place_locations\n\
00175 \n\
00176 # the grasp that has been executed on this object\n\
00177 # (contains the grasp_pose referred to above)\n\
00178 manipulation_msgs/Grasp grasp\n\
00179 \n\
00180 # how far the retreat should ideally be away from the place location\n\
00181 float32 desired_retreat_distance\n\
00182 \n\
00183 # the min distance between the retreat and the place location that must actually be feasible \n\
00184 # for the place not to be rejected\n\
00185 float32 min_retreat_distance\n\
00186 \n\
00187 # how the place location should be approached\n\
00188 # the frame_id that this lift is specified in MUST be either the robot_frame \n\
00189 # or the gripper_frame specified in your hand description file\n\
00190 GripperTranslation approach\n\
00191 \n\
00192 # the name that the target object has in the collision map\n\
00193 # can be left empty if no name is available\n\
00194 string collision_object_name\n\
00195 \n\
00196 # the name that the support surface (e.g. table) has in the collision map\n\
00197 # can be left empty if no name is available\n\
00198 string collision_support_surface_name\n\
00199 \n\
00200 # whether collisions between the gripper and the support surface should be acceptable\n\
00201 # during move from pre-place to place and during retreat. Collisions when moving to the\n\
00202 # pre-place location are still not allowed even if this is set to true.\n\
00203 bool allow_gripper_support_collision\n\
00204 \n\
00205 # whether reactive placing based on tactile sensors should be used\n\
00206 bool use_reactive_place\n\
00207 \n\
00208 # how much the object should be padded by when deciding if the grasp\n\
00209 # location is freasible or not\n\
00210 float64 place_padding\n\
00211 \n\
00212 # set this to true if you only want to query the manipulation pipeline as to what \n\
00213 # place locations it thinks are feasible, without actually executing them. If this is set to \n\
00214 # true, the atempted_location_results field of the result will be populated, but no arm \n\
00215 # movement will be attempted\n\
00216 bool only_perform_feasibility_test\n\
00217 \n\
00218 # OPTIONAL (These will not have to be filled out most of the time)\n\
00219 # constraints to be imposed on every point in the motion of the arm\n\
00220 arm_navigation_msgs/Constraints path_constraints\n\
00221 \n\
00222 # OPTIONAL (These will not have to be filled out most of the time)\n\
00223 # additional collision operations to be used for every arm movement performed\n\
00224 # during placing. Note that these will be added on top of (and thus overide) other \n\
00225 # collision operations that the grasping pipeline deems necessary. Should be used\n\
00226 # with care and only if special behaviors are desired.\n\
00227 arm_navigation_msgs/OrderedCollisionOperations additional_collision_operations\n\
00228 \n\
00229 # OPTIONAL (These will not have to be filled out most of the time)\n\
00230 # additional link paddings to be used for every arm movement performed\n\
00231 # during placing. Note that these will be added on top of (and thus overide) other \n\
00232 # link paddings that the grasping pipeline deems necessary. Should be used\n\
00233 # with care and only if special behaviors are desired.\n\
00234 arm_navigation_msgs/LinkPadding[] additional_link_padding\n\
00235 \n\
00236 \n\
00237 ================================================================================\n\
00238 MSG: geometry_msgs/PoseStamped\n\
00239 # A Pose with reference coordinate frame and timestamp\n\
00240 Header header\n\
00241 Pose pose\n\
00242 \n\
00243 ================================================================================\n\
00244 MSG: std_msgs/Header\n\
00245 # Standard metadata for higher-level stamped data types.\n\
00246 # This is generally used to communicate timestamped data \n\
00247 # in a particular coordinate frame.\n\
00248 # \n\
00249 # sequence ID: consecutively increasing ID \n\
00250 uint32 seq\n\
00251 #Two-integer timestamp that is expressed as:\n\
00252 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00253 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00254 # time-handling sugar is provided by the client library\n\
00255 time stamp\n\
00256 #Frame this data is associated with\n\
00257 # 0: no frame\n\
00258 # 1: global frame\n\
00259 string frame_id\n\
00260 \n\
00261 ================================================================================\n\
00262 MSG: geometry_msgs/Pose\n\
00263 # A representation of pose in free space, composed of postion and orientation. \n\
00264 Point position\n\
00265 Quaternion orientation\n\
00266 \n\
00267 ================================================================================\n\
00268 MSG: geometry_msgs/Point\n\
00269 # This contains the position of a point in free space\n\
00270 float64 x\n\
00271 float64 y\n\
00272 float64 z\n\
00273 \n\
00274 ================================================================================\n\
00275 MSG: geometry_msgs/Quaternion\n\
00276 # This represents an orientation in free space in quaternion form.\n\
00277 \n\
00278 float64 x\n\
00279 float64 y\n\
00280 float64 z\n\
00281 float64 w\n\
00282 \n\
00283 ================================================================================\n\
00284 MSG: manipulation_msgs/Grasp\n\
00285 # A name for this grasp\n\
00286 string id\n\
00287 \n\
00288 # The internal posture of the hand for the pre-grasp\n\
00289 # only positions are used\n\
00290 sensor_msgs/JointState pre_grasp_posture\n\
00291 \n\
00292 # The internal posture of the hand for the grasp\n\
00293 # positions and efforts are used\n\
00294 sensor_msgs/JointState grasp_posture\n\
00295 \n\
00296 # The position of the end-effector for the grasp relative to a reference frame \n\
00297 # (that is always specified elsewhere, not in this message)\n\
00298 geometry_msgs/PoseStamped grasp_pose\n\
00299 \n\
00300 # The estimated probability of success for this grasp, or some other\n\
00301 # measure of how \"good\" it is.\n\
00302 float64 grasp_quality\n\
00303 \n\
00304 # The approach motion\n\
00305 GripperTranslation approach\n\
00306 \n\
00307 # The retreat motion\n\
00308 GripperTranslation retreat\n\
00309 \n\
00310 # the maximum contact force to use while grasping (<=0 to disable)\n\
00311 float32 max_contact_force\n\
00312 \n\
00313 # an optional list of obstacles that we have semantic information about\n\
00314 # and that can be touched/pushed/moved in the course of grasping\n\
00315 string[] allowed_touch_objects\n\
00316 \n\
00317 ================================================================================\n\
00318 MSG: sensor_msgs/JointState\n\
00319 # This is a message that holds data to describe the state of a set of torque controlled joints. \n\
00320 #\n\
00321 # The state of each joint (revolute or prismatic) is defined by:\n\
00322 # * the position of the joint (rad or m),\n\
00323 # * the velocity of the joint (rad/s or m/s) and \n\
00324 # * the effort that is applied in the joint (Nm or N).\n\
00325 #\n\
00326 # Each joint is uniquely identified by its name\n\
00327 # The header specifies the time at which the joint states were recorded. All the joint states\n\
00328 # in one message have to be recorded at the same time.\n\
00329 #\n\
00330 # This message consists of a multiple arrays, one for each part of the joint state. \n\
00331 # The goal is to make each of the fields optional. When e.g. your joints have no\n\
00332 # effort associated with them, you can leave the effort array empty. \n\
00333 #\n\
00334 # All arrays in this message should have the same size, or be empty.\n\
00335 # This is the only way to uniquely associate the joint name with the correct\n\
00336 # states.\n\
00337 \n\
00338 \n\
00339 Header header\n\
00340 \n\
00341 string[] name\n\
00342 float64[] position\n\
00343 float64[] velocity\n\
00344 float64[] effort\n\
00345 \n\
00346 ================================================================================\n\
00347 MSG: manipulation_msgs/GripperTranslation\n\
00348 # defines a translation for the gripper, used in pickup or place tasks\n\
00349 # for example for lifting an object off a table or approaching the table for placing\n\
00350 \n\
00351 # the direction of the translation\n\
00352 geometry_msgs/Vector3Stamped direction\n\
00353 \n\
00354 # the desired translation distance\n\
00355 float32 desired_distance\n\
00356 \n\
00357 # the min distance that must be considered feasible before the\n\
00358 # grasp is even attempted\n\
00359 float32 min_distance\n\
00360 \n\
00361 ================================================================================\n\
00362 MSG: geometry_msgs/Vector3Stamped\n\
00363 # This represents a Vector3 with reference coordinate frame and timestamp\n\
00364 Header header\n\
00365 Vector3 vector\n\
00366 \n\
00367 ================================================================================\n\
00368 MSG: geometry_msgs/Vector3\n\
00369 # This represents a vector in free space. \n\
00370 \n\
00371 float64 x\n\
00372 float64 y\n\
00373 float64 z\n\
00374 ================================================================================\n\
00375 MSG: object_manipulation_msgs/GripperTranslation\n\
00376 # defines a translation for the gripper, used in pickup or place tasks\n\
00377 # for example for lifting an object off a table or approaching the table for placing\n\
00378 \n\
00379 # the direction of the translation\n\
00380 geometry_msgs/Vector3Stamped direction\n\
00381 \n\
00382 # the desired translation distance\n\
00383 float32 desired_distance\n\
00384 \n\
00385 # the min distance that must be considered feasible before the\n\
00386 # grasp is even attempted\n\
00387 float32 min_distance\n\
00388 ================================================================================\n\
00389 MSG: arm_navigation_msgs/Constraints\n\
00390 # This message contains a list of motion planning constraints.\n\
00391 \n\
00392 arm_navigation_msgs/JointConstraint[] joint_constraints\n\
00393 arm_navigation_msgs/PositionConstraint[] position_constraints\n\
00394 arm_navigation_msgs/OrientationConstraint[] orientation_constraints\n\
00395 arm_navigation_msgs/VisibilityConstraint[] visibility_constraints\n\
00396 \n\
00397 ================================================================================\n\
00398 MSG: arm_navigation_msgs/JointConstraint\n\
00399 # Constrain the position of a joint to be within a certain bound\n\
00400 string joint_name\n\
00401 \n\
00402 # the bound to be achieved is [position - tolerance_below, position + tolerance_above]\n\
00403 float64 position\n\
00404 float64 tolerance_above\n\
00405 float64 tolerance_below\n\
00406 \n\
00407 # A weighting factor for this constraint\n\
00408 float64 weight\n\
00409 ================================================================================\n\
00410 MSG: arm_navigation_msgs/PositionConstraint\n\
00411 # This message contains the definition of a position constraint.\n\
00412 Header header\n\
00413 \n\
00414 # The robot link this constraint refers to\n\
00415 string link_name\n\
00416 \n\
00417 # The offset (in the link frame) for the target point on the link we are planning for\n\
00418 geometry_msgs/Point target_point_offset\n\
00419 \n\
00420 # The nominal/target position for the point we are planning for\n\
00421 geometry_msgs/Point position\n\
00422 \n\
00423 # The shape of the bounded region that constrains the position of the end-effector\n\
00424 # This region is always centered at the position defined above\n\
00425 arm_navigation_msgs/Shape constraint_region_shape\n\
00426 \n\
00427 # The orientation of the bounded region that constrains the position of the end-effector. \n\
00428 # This allows the specification of non-axis aligned constraints\n\
00429 geometry_msgs/Quaternion constraint_region_orientation\n\
00430 \n\
00431 # Constraint weighting factor - a weight for this constraint\n\
00432 float64 weight\n\
00433 \n\
00434 ================================================================================\n\
00435 MSG: arm_navigation_msgs/Shape\n\
00436 byte SPHERE=0\n\
00437 byte BOX=1\n\
00438 byte CYLINDER=2\n\
00439 byte MESH=3\n\
00440 \n\
00441 byte type\n\
00442 \n\
00443 \n\
00444 #### define sphere, box, cylinder ####\n\
00445 # the origin of each shape is considered at the shape's center\n\
00446 \n\
00447 # for sphere\n\
00448 # radius := dimensions[0]\n\
00449 \n\
00450 # for cylinder\n\
00451 # radius := dimensions[0]\n\
00452 # length := dimensions[1]\n\
00453 # the length is along the Z axis\n\
00454 \n\
00455 # for box\n\
00456 # size_x := dimensions[0]\n\
00457 # size_y := dimensions[1]\n\
00458 # size_z := dimensions[2]\n\
00459 float64[] dimensions\n\
00460 \n\
00461 \n\
00462 #### define mesh ####\n\
00463 \n\
00464 # list of triangles; triangle k is defined by tre vertices located\n\
00465 # at indices triangles[3k], triangles[3k+1], triangles[3k+2]\n\
00466 int32[] triangles\n\
00467 geometry_msgs/Point[] vertices\n\
00468 \n\
00469 ================================================================================\n\
00470 MSG: arm_navigation_msgs/OrientationConstraint\n\
00471 # This message contains the definition of an orientation constraint.\n\
00472 Header header\n\
00473 \n\
00474 # The robot link this constraint refers to\n\
00475 string link_name\n\
00476 \n\
00477 # The type of the constraint\n\
00478 int32 type\n\
00479 int32 LINK_FRAME=0\n\
00480 int32 HEADER_FRAME=1\n\
00481 \n\
00482 # The desired orientation of the robot link specified as a quaternion\n\
00483 geometry_msgs/Quaternion orientation\n\
00484 \n\
00485 # optional RPY error tolerances specified if \n\
00486 float64 absolute_roll_tolerance\n\
00487 float64 absolute_pitch_tolerance\n\
00488 float64 absolute_yaw_tolerance\n\
00489 \n\
00490 # Constraint weighting factor - a weight for this constraint\n\
00491 float64 weight\n\
00492 \n\
00493 ================================================================================\n\
00494 MSG: arm_navigation_msgs/VisibilityConstraint\n\
00495 # This message contains the definition of a visibility constraint.\n\
00496 Header header\n\
00497 \n\
00498 # The point stamped target that needs to be kept within view of the sensor\n\
00499 geometry_msgs/PointStamped target\n\
00500 \n\
00501 # The local pose of the frame in which visibility is to be maintained\n\
00502 # The frame id should represent the robot link to which the sensor is attached\n\
00503 # The visual axis of the sensor is assumed to be along the X axis of this frame\n\
00504 geometry_msgs/PoseStamped sensor_pose\n\
00505 \n\
00506 # The deviation (in radians) that will be tolerated\n\
00507 # Constraint error will be measured as the solid angle between the \n\
00508 # X axis of the frame defined above and the vector between the origin \n\
00509 # of the frame defined above and the target location\n\
00510 float64 absolute_tolerance\n\
00511 \n\
00512 \n\
00513 ================================================================================\n\
00514 MSG: geometry_msgs/PointStamped\n\
00515 # This represents a Point with reference coordinate frame and timestamp\n\
00516 Header header\n\
00517 Point point\n\
00518 \n\
00519 ================================================================================\n\
00520 MSG: arm_navigation_msgs/OrderedCollisionOperations\n\
00521 # A set of collision operations that will be performed in the order they are specified\n\
00522 CollisionOperation[] collision_operations\n\
00523 ================================================================================\n\
00524 MSG: arm_navigation_msgs/CollisionOperation\n\
00525 # A definition of a collision operation\n\
00526 # E.g. (\"gripper\",COLLISION_SET_ALL,ENABLE) will enable collisions \n\
00527 # between the gripper and all objects in the collision space\n\
00528 \n\
00529 string object1\n\
00530 string object2\n\
00531 string COLLISION_SET_ALL=\"all\"\n\
00532 string COLLISION_SET_OBJECTS=\"objects\"\n\
00533 string COLLISION_SET_ATTACHED_OBJECTS=\"attached\"\n\
00534 \n\
00535 # The penetration distance to which collisions are allowed. This is 0.0 by default.\n\
00536 float64 penetration_distance\n\
00537 \n\
00538 # Flag that determines whether collisions will be enabled or disabled for the pair of objects specified above\n\
00539 int32 operation\n\
00540 int32 DISABLE=0\n\
00541 int32 ENABLE=1\n\
00542 \n\
00543 ================================================================================\n\
00544 MSG: arm_navigation_msgs/LinkPadding\n\
00545 #name for the link\n\
00546 string link_name\n\
00547 \n\
00548 # padding to apply to the link\n\
00549 float64 padding\n\
00550 \n\
00551 ";
00552 }
00553
00554 static const char* value(const ::object_manipulation_msgs::PlaceGoal_<ContainerAllocator> &) { return value(); }
00555 };
00556
00557 }
00558 }
00559
00560 namespace ros
00561 {
00562 namespace serialization
00563 {
00564
00565 template<class ContainerAllocator> struct Serializer< ::object_manipulation_msgs::PlaceGoal_<ContainerAllocator> >
00566 {
00567 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00568 {
00569 stream.next(m.arm_name);
00570 stream.next(m.place_locations);
00571 stream.next(m.grasp);
00572 stream.next(m.desired_retreat_distance);
00573 stream.next(m.min_retreat_distance);
00574 stream.next(m.approach);
00575 stream.next(m.collision_object_name);
00576 stream.next(m.collision_support_surface_name);
00577 stream.next(m.allow_gripper_support_collision);
00578 stream.next(m.use_reactive_place);
00579 stream.next(m.place_padding);
00580 stream.next(m.only_perform_feasibility_test);
00581 stream.next(m.path_constraints);
00582 stream.next(m.additional_collision_operations);
00583 stream.next(m.additional_link_padding);
00584 }
00585
00586 ROS_DECLARE_ALLINONE_SERIALIZER;
00587 };
00588 }
00589 }
00590
00591 namespace ros
00592 {
00593 namespace message_operations
00594 {
00595
00596 template<class ContainerAllocator>
00597 struct Printer< ::object_manipulation_msgs::PlaceGoal_<ContainerAllocator> >
00598 {
00599 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::object_manipulation_msgs::PlaceGoal_<ContainerAllocator> & v)
00600 {
00601 s << indent << "arm_name: ";
00602 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.arm_name);
00603 s << indent << "place_locations[]" << std::endl;
00604 for (size_t i = 0; i < v.place_locations.size(); ++i)
00605 {
00606 s << indent << " place_locations[" << i << "]: ";
00607 s << std::endl;
00608 s << indent;
00609 Printer< ::geometry_msgs::PoseStamped_<ContainerAllocator> >::stream(s, indent + " ", v.place_locations[i]);
00610 }
00611 s << indent << "grasp: ";
00612 s << std::endl;
00613 Printer< ::manipulation_msgs::Grasp_<ContainerAllocator> >::stream(s, indent + " ", v.grasp);
00614 s << indent << "desired_retreat_distance: ";
00615 Printer<float>::stream(s, indent + " ", v.desired_retreat_distance);
00616 s << indent << "min_retreat_distance: ";
00617 Printer<float>::stream(s, indent + " ", v.min_retreat_distance);
00618 s << indent << "approach: ";
00619 s << std::endl;
00620 Printer< ::object_manipulation_msgs::GripperTranslation_<ContainerAllocator> >::stream(s, indent + " ", v.approach);
00621 s << indent << "collision_object_name: ";
00622 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.collision_object_name);
00623 s << indent << "collision_support_surface_name: ";
00624 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.collision_support_surface_name);
00625 s << indent << "allow_gripper_support_collision: ";
00626 Printer<uint8_t>::stream(s, indent + " ", v.allow_gripper_support_collision);
00627 s << indent << "use_reactive_place: ";
00628 Printer<uint8_t>::stream(s, indent + " ", v.use_reactive_place);
00629 s << indent << "place_padding: ";
00630 Printer<double>::stream(s, indent + " ", v.place_padding);
00631 s << indent << "only_perform_feasibility_test: ";
00632 Printer<uint8_t>::stream(s, indent + " ", v.only_perform_feasibility_test);
00633 s << indent << "path_constraints: ";
00634 s << std::endl;
00635 Printer< ::arm_navigation_msgs::Constraints_<ContainerAllocator> >::stream(s, indent + " ", v.path_constraints);
00636 s << indent << "additional_collision_operations: ";
00637 s << std::endl;
00638 Printer< ::arm_navigation_msgs::OrderedCollisionOperations_<ContainerAllocator> >::stream(s, indent + " ", v.additional_collision_operations);
00639 s << indent << "additional_link_padding[]" << std::endl;
00640 for (size_t i = 0; i < v.additional_link_padding.size(); ++i)
00641 {
00642 s << indent << " additional_link_padding[" << i << "]: ";
00643 s << std::endl;
00644 s << indent;
00645 Printer< ::arm_navigation_msgs::LinkPadding_<ContainerAllocator> >::stream(s, indent + " ", v.additional_link_padding[i]);
00646 }
00647 }
00648 };
00649
00650
00651 }
00652 }
00653
00654 #endif // OBJECT_MANIPULATION_MSGS_MESSAGE_PLACEGOAL_H
00655