Search found 49 matches

by alix
24 Jan 2020, 13:10
Forum: General questions
Topic: How to Display Dialog box from Python
Replies: 2
Views: 37

Re: How to Display Dialog box from Python

Hello, try with: res, dialogHandle, uiHandle=vrep.simxDisplayDialog(client.id, 'DialogBox', "System is calculating path", vrep.sim_dlgstyle_message, "",None,None, vrep.simx_opmode_oneshot_wait) because: sim.dlgstyle_message is not defined in simConst.py , but sim_dlgstyle_message is The documentati...
by alix
24 Jan 2020, 13:07
Forum: General questions
Topic: Confusion Regarding Parameters and Return Values of "simxCallScriptFunction " Legacy Api
Replies: 0
Views: 10

Confusion Regarding Parameters and Return Values of "simxCallScriptFunction " Legacy Api

Hi Sir, I am working with python legacy API. I am getting problems in sending parameters and receiving returns of 'simxCallScriptFunction'. For example this is a function from Motion Planning scene in vrep: findSeveralCollisionFreeConfigs=function(inInts, inFloats, inStrings, inBuffer) local ikTarge...
by alix
22 Jan 2020, 17:23
Forum: General questions
Topic: How to Display Dialog box from Python
Replies: 2
Views: 37

How to Display Dialog box from Python

Hi, I am trying to display dialogbox using the python api function: "simxDisplayDialog" clientID: the client ID. refer to simxStart. titleText: Title bar text mainText: Information text dialogType: a generic dialog style initialText: Initial text in the edit box if the dialog is of type sim_dlgstyle...
by alix
22 Jan 2020, 12:58
Forum: General questions
Topic: How to return two float variables using simxCallScriptFunction
Replies: 1
Views: 37

How to return two float variables using simxCallScriptFunction

Hi, This is a path loading function from threaded script in Motion Planning scenes: loadPath=function(filename) path=sim.readCustomDataBlock(jacoHandle,filename..'.pathData1') if (not path) then return nil end path=sim.unpackFloatTable(path) lengths=sim.readCustomDataBlock(jacoHandle,filename..'.pat...
by alix
09 Jan 2020, 12:22
Forum: General questions
Topic: How to select multiple objects?
Replies: 2
Views: 130

Re: How to select multiple objects?

Hello, I wonder know how to select multiple objects considering I have nearly a hundred objects to delete. Someone said shift+click and drag, I can't understand how to operate it. Can you give some suggestion? Thank you very much. Hi Elin, Just go to 'Scene Hierarchy' pane on left , select fist obj...
by alix
02 Dec 2019, 15:49
Forum: General questions
Topic: RG2 gripper Keeps on Falling from Jaco Arm
Replies: 7
Views: 341

Re: RG2 gripper Keeps on Falling from Jaco Arm

I guess there are many ways to implement this. How this was implemented in the scene you mention is following: First, we try to reach an approach pose. This is typically a couple of centimeters away from the goal pose. This is handled via path planning functions. That approach pose is normally spec...
by alix
28 Nov 2019, 11:30
Forum: General questions
Topic: RG2 gripper Keeps on Falling from Jaco Arm
Replies: 7
Views: 341

Re: RG2 gripper Keeps on Falling from Jaco Arm

From the picture it looks ok. But it is just a picture. Please post the scene. To make the gripper open/close slower/faster, adjust the variable motorVelocity in the child script attached to the gripper base. Cheers Hi Coppelia, Bundle of thanks for the help, it got resolved when I made the IKTip c...
by alix
28 Nov 2019, 11:13
Forum: General questions
Topic: Rotation of the RG2 Gripper
Replies: 3
Views: 210

Re: Rotation of the RG2 Gripper

Hello, what about simply adjusting the position of the robot's last joint, while keeping the other joints fixed? Cheers Hi Coppelia, I tried doing that using "sim.SetJointTargetPosition" as joints are in torque/force mode. But it rotates end effector, but does not change the angle of the gripper, a...
by alix
27 Nov 2019, 17:10
Forum: General questions
Topic: RG2 gripper Keeps on Falling from Jaco Arm
Replies: 7
Views: 341

Re: RG2 gripper Keeps on Falling from Jaco Arm

coppelia wrote:
27 Nov 2019, 14:48
Hello,

do you have a force/torque sensor between the Jaco end-effector and the RG2 gripper?

Cheers
Hi Coppelia,
Can you also please tell me that can we make the opening and closing of RG2 gripper slower?
by alix
27 Nov 2019, 16:41
Forum: General questions
Topic: Rotation of the RG2 Gripper
Replies: 3
Views: 210

Rotation of the RG2 Gripper

Hi,

I am doing motion planning with Jaco and RG2 gripper. Jaco's arm reaches the target but then I want to rotate the gripper so I can have accurate gripping of the object to be picked. How can I do that rotation of the gripper ???
Thanks