Search found 6 matches

by daniel li
28 Nov 2018, 10:44
Forum: General questions
Topic: Get problem with python API!
Replies: 4
Views: 136

Re: Get problem with python API!

Well,I found a probably correct way to solve my problem.
It seems using vrep.simxGetPingTime(clientID) at the end of the code helps.Refer to file simpleTest.py included in the programming folder.

Thanks a lot!
by daniel li
27 Nov 2018, 12:40
Forum: General questions
Topic: Get problem with python API!
Replies: 4
Views: 136

Re: Get problem with python API!

Thanks your reply! So what is the correct way to control motors(i.e. using simxSetJointTargetVelocity)? Now I can only use time.sleep() to run my scene.Using time.sleep() feels a little bit werid.I think the way I code is not correct.I've read the user manual,but I can't find out what is wrong. Coul...
by daniel li
27 Nov 2018, 10:54
Forum: General questions
Topic: Get problem with python API!
Replies: 4
Views: 136

Get problem with python API!

I'm working on controlling UR5.But weird thing happend. When I use the code like following: import vrep vrep.simxFinish(-1) # just in case, close all opened connections clientID=vrep.simxStart('127.0.0.1',19997,True,True,5000,5) # Connect to V-REP vrep.simxStartSimulation(clientID, vrep.simx_opmode_...
by daniel li
17 Apr 2018, 11:31
Forum: Bug reports
Topic: My gripper performs bad repeatability,is it a physical engine problem?
Replies: 5
Views: 817

Re: My gripper performs bad repeatability,is it a physical engine problem?

Yes,I created the deformation by using alternate the Joint1_L target velocity from +3 to -3.But there's an additional condition--Use "Stop" button when changing the target velocity.If I use "Pause" button,or use script,the deformation didn't happen.I made 3 videos for the 3 situations to show what I...
by daniel li
13 Apr 2018, 06:38
Forum: Bug reports
Topic: My gripper performs bad repeatability,is it a physical engine problem?
Replies: 5
Views: 817

Re: My gripper performs bad repeatability,is it a physical engine problem?

Thank you for your reply. Sorry for didn't explain clearly how the model works. Joints Joint5_L and Joint5_R have their motor enabled for a good reason--to simulate the act of a spring.I studied the mechanical working principle of the gripper,found that the two shafts in the middle of the gripper(i....
by daniel li
11 Apr 2018, 07:01
Forum: Bug reports
Topic: My gripper performs bad repeatability,is it a physical engine problem?
Replies: 5
Views: 817

My gripper performs bad repeatability,is it a physical engine problem?

Hello, I build a Robotiq-140 gripper.Different from the example Robotiq-85 in vrep,I use true working principle to build the model.See https://www.dropbox.com/s/0kbzamzzzixwqsd/Roboti140.png?dl=0 and https://www.dropbox.com/s/f2elivjsbzh9mj1/Robotiq140%28dynamic%20part%29.png?dl=0 I use it to grab a...