Home | Tutorials | Wiki | Issues
Ask Your Question
1

Problems with grasping an object: need to wait 15s until the object gets attached to the gripper

asked 2015-02-12 13:04:33 -0500

corot gravatar image

updated 2015-02-12 13:05:45 -0500

As explained in this ROS answer, I have had a lot of problems until managing to grasp a 2.5 cm cube on gazebo with a turtlebot arm. The remaining problem is: why I need to wait so long until the cube gets attached to the gripper? If I don't wait the 15s, the arm elevates without the cube, as in this video. Same applies to detaching: I need to wait around 5 seconds with the gripper open before leaving the placed block. Other people using ROS-Moveit!-Gazebo seem to have the same problem, but nobody on ROS answers came with an answer. Any clue?

I suppose that the parameters attachsteps and detachsteps I must add to the robot URDF file have something to do with this, but I cannot find any documentation, nor get any benefit when modifying them:

  <gazebo>
    <gripper name="gripper">
      <grasp_check>
        <attach_steps>5</attach_steps>
        <detach_steps>10</detach_steps>
        <min_contact_count>2</min_contact_count>
      </grasp_check>
      <gripper_link>gripper_active_finger_link</gripper_link>
      <palm_link>gripper_static_finger_link</palm_link>
    </gripper>
  </gazebo>

I use Gazebo 2.2.3 with ROS indigo.

Thank you a lot!

edit retag flag offensive close merge delete

Comments

1

I have the same problem. Please add comments if you get some progress, I will do the same. Thanks

lrubior gravatar imagelrubior ( 2015-02-13 08:55:04 -0500 )edit

I just want to know , whether, its the palm_link that is the one which gets attached to the object? What if we have only one palm_link

Abdullah gravatar imageAbdullah ( 2016-08-29 15:56:23 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-02-13 10:35:06 -0500

nkoenig gravatar image

The <gripper> tag is a hack that creates joints between the gripper and objects that the gripper is in contact with. This relies on a few stable contacts. You can try adjusting the <attach_steps> and <detach_steps> parameters.

Grasping of objects has improved in newer versions of Gazebo. The <gripper> is no longer needed. The caveats are that the both the gripper and objects must have good(realistic) inertia values, and you may need to tune the contact properties of the gripper.

Take a look at the RobotiQ hand for an example.

edit flag offensive delete link more

Comments

The second part of your answer sounds very interesting; can I use the latest version of Gazebo with ROS? When you install ros-indigo-gazebo-ros you directly get version 2.2.3, and apt-get install gazebo5 fails due to uninstallable dependencies. Thanks!

corot gravatar imagecorot ( 2015-02-16 02:13:26 -0500 )edit

Yes you can do this. As explained here (http://gazebosim.org/tutorials/?tut=roswrapperversions) you just need the correct wrappers. What I did was the following, and it worked: sudo apt-get remove ros-indigo-gazebo-ros-pkgs

sudo apt-get remove gazebo2

sudo apt-get install gazebo5

sudo apt-get install ros-indigo-gazebo5-ros-pkgs

ros-indigo-gazebo5-ros-control

niall gravatar imageniall ( 2015-05-21 09:25:14 -0500 )edit

Thanks for answering. Unfortunately, I've been unable to perform grasping in either Gazebo 7 or 9. http://answers.gazebosim.org/question/20217/physics-problem-with-simple-movement-of-grasped-object/ Do you recommend the gripper tag?

raequin gravatar imageraequin ( 2018-08-17 11:32:16 -0500 )edit

Though grasping appears to be working for some users: https://ieeexplore.ieee.org/document/7090732/.

raequin gravatar imageraequin ( 2018-08-17 11:41:07 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2015-02-12 13:04:33 -0500

Seen: 2,097 times

Last updated: Feb 13 '15