visual-pushing-grasping icon indicating copy to clipboard operation
visual-pushing-grasping copied to clipboard

What should I do if I want to change the RG2 gripper to ROBOTIQ_85 gripper?

Open Lightwingy opened this issue 5 years ago • 16 comments

Lightwingy avatar Jul 25 '19 08:07 Lightwingy

In V-REP, do the following steps

  1. Create gripper model in V-REP
  2. Attache the gripper to UR5.
  3. Add Tip and Target dummies in Inverse Kinematic mode (follow the same naming convention).

After that change open_gripper() and close_gripper() method in robot.py according to your gripper kinematics.

jayraj3 avatar Aug 12 '19 08:08 jayraj3

@jayraj3, I have changed the gripper in V-REP. But I have no idea about how to change open_gripper() and close_gripper() method in robot.py. As a result, the grriper can only push the objects. When the grriper start to grasp the object, it will stop. Have you solved it ? image

Lightwingy avatar Aug 16 '19 08:08 Lightwingy

I wrote the open_gripper() and close gripper() function for robotiq85 gripper. please check it in link https://github.com/jayraj3/visual-pushing-grasping I just wrote the function in robot.py but not tested it because I do not have enough hardware. Got to Robotiq85Gripper folder and try to debug the function prototype to make it work properly.

jayraj3 avatar Aug 17 '19 12:08 jayraj3

Thank you. I will try to test it.

Lightwingy avatar Aug 17 '19 14:08 Lightwingy

It still have some problem. The grripper will be in a terrible state as the picture below shows. 2019-08-20 10-30-37屏幕截图

Lightwingy avatar Aug 20 '19 02:08 Lightwingy

@jayraj3, is there any API that can reset the state of the gripper? As the picture above shows, the gripper will often fall into the false state that will not appear in real environment.

Lightwingy avatar Sep 01 '19 02:09 Lightwingy

@Lightwingy did you get to solve the issue ?

Abdul-UOiT avatar Oct 01 '19 22:10 Abdul-UOiT

@jayraj3 the Robotiq gripper usually fails as @Lightwingy mentioned above. Did anyone figure it out? Thanks

Abdul-UOiT avatar Oct 05 '19 15:10 Abdul-UOiT

@Lightwingy did you get to solve the issue ?

No, it still have the problem.

Lightwingy avatar Oct 07 '19 14:10 Lightwingy

@Lightwingy have you tried to lower the UR5_tip, and make it at the same level of the finger_tips of the Robotiq gripper. This will reduce the number of failing, the finger_tip doesn't need to bend in anymore.

Abdul-UOiT avatar Oct 22 '19 23:10 Abdul-UOiT

@Lightwingy have you tried to lower the UR5_tip, and make it at the same level of the finger_tips of the Robotiq gripper. This will reduce the number of failing, the finger_tip doesn't need to bend in anymore.

When I train a new model, the gripper still bend.

Lightwingy avatar Oct 23 '19 08:10 Lightwingy

@Lightwingy have you tried to lower the UR5_tip, and make it at the same level of the finger_tips of the Robotiq gripper. This will reduce the number of failing, the finger_tip doesn't need to bend in anymore.

When I train a new model, the gripper still bend.

Do you mean it still bends when you use different objects to grasp.

Also, do you think it is possible to change the gripper mechanism from encompassing grip to parallel grip, this stops bending the finger_tips. See the pic below 60ffd-robotiq_linkage

Abduoit avatar Oct 23 '19 13:10 Abduoit

I tried to lower the UR5_tip. But when I run "python main.py --is_sim --push_rewards --experience_replay --explore_rate_decay --save_visualizations", the finger_tip still bend in a terrible state.

Lightwingy avatar Oct 23 '19 14:10 Lightwingy

I think gripper needs to be simulated dynamically in v-rep. e.g make gripper finger dynamic. In this way, it can grasp the objects.

jayraj3 avatar Oct 24 '19 17:10 jayraj3

@jayraj3 could you please explain how to do that ?

Abdul-UOiT avatar Oct 24 '19 19:10 Abdul-UOiT

I wrote the open_gripper() and close gripper() function for robotiq85 gripper. please check it in link https://github.com/jayraj3/visual-pushing-grasping I just wrote the function in robot.py but not tested it because I do not have enough hardware. Got to Robotiq85Gripper folder and try to debug the function prototype to make it work properly.

Hi, I am looking for these scripts for opening and closing the robotiq gripper but the repository is no longer available. Do you still have access to these scripts?

gsbandy24 avatar Jun 25 '21 10:06 gsbandy24