how to controll the opening of Rg2 gripper through python.
Posted: 27 Jul 2022, 14:08
About controlling the opening and closing of Rg2 gripper through python.
The software version is 4.2.0 edu windows/ubuntu.
As a beginner, I hope to communicate with vrep through Python and use Python to send signals to control the opening and closing of Rg2 gripper (where Rg2 gripper is installed on UR3 or UR5 manipulator)
I found many codes on the Internet, but they can't work normally. Their software is 3.0+.
I want to ask you how to operate. Do you need to modify or delete all the Lua scripts automatically generated after importing ur and Rg2 models? How to deal with Python side. Yes get Rg2_ Openclosejoint and then call the simxsetjointmaxforce and simxsetjointtargetvelocity functions?
The error is reported below: External call to simCallScriptFunction failed (rg2Open@RG2): Failed calling script function.
Thanks a lot
The software version is 4.2.0 edu windows/ubuntu.
As a beginner, I hope to communicate with vrep through Python and use Python to send signals to control the opening and closing of Rg2 gripper (where Rg2 gripper is installed on UR3 or UR5 manipulator)
I found many codes on the Internet, but they can't work normally. Their software is 3.0+.
I want to ask you how to operate. Do you need to modify or delete all the Lua scripts automatically generated after importing ur and Rg2 models? How to deal with Python side. Yes get Rg2_ Openclosejoint and then call the simxsetjointmaxforce and simxsetjointtargetvelocity functions?
The error is reported below: External call to simCallScriptFunction failed (rg2Open@RG2): Failed calling script function.
Thanks a lot