Search found 9 matches

by w1574587
28 Mar 2021, 04:22
Forum: General questions
Topic: Showing multiple poses in one figure?
Replies: 9
Views: 2477

Re: Showing multiple poses in one figure?

Awesome! Many thanks!!
by w1574587
25 Mar 2021, 12:58
Forum: General questions
Topic: Showing multiple poses in one figure?
Replies: 9
Views: 2477

Re: Showing multiple poses in one figure?

Thank you for the reply! Similarly, I added some shapes on the end-effector and the code worked. But for the UR5 manipulator, it doesn't work. The scene that illustrates that situation can be obtained by following steps: 1) open a new scene 2) drag and drop UR5.ttm into the scene 3) add threaded chi...
by w1574587
23 Mar 2021, 06:15
Forum: General questions
Topic: Showing multiple poses in one figure?
Replies: 9
Views: 2477

Re: Showing multiple poses in one figure?

Update: Haven't figure out the transparency problem. Here is my way to plot multiple poses. Looking forward to a more elegant solution... -- lua repeat until (simRemoteApi.start(19999,1300,false,true)~=-1) function showPose(handleName) originalObject=sim.getObjectHandle(handleName) local copy=sim.co...
by w1574587
22 Mar 2021, 04:25
Forum: General questions
Topic: Showing multiple poses in one figure?
Replies: 9
Views: 2477

Re: Showing multiple poses in one figure?

Thank you for the suggestion! Now I have two new questions. 1) Why does the sim.setShapeColor(copy,'',sim.colorcomponent_transparency,{0.5}) has no effect? The "fake" robot links are still not translucent. 2) I use MATLAB to control the robot. Anyway I followed your instruction and wrote a...
by w1574587
19 Mar 2021, 12:47
Forum: General questions
Topic: Showing multiple poses in one figure?
Replies: 9
Views: 2477

Re: Showing multiple poses in one figure?

Exactly! Thanks a lot!
by w1574587
19 Mar 2021, 09:40
Forum: General questions
Topic: Showing multiple poses in one figure?
Replies: 9
Views: 2477

Showing multiple poses in one figure?

I want to show multiple poses in one figure as a manipulator moving along a trajectory. I've seen someone did it by plotting translucent poses but I don't know how. Is it possible within CoppeliaSim? Any other suggestions?

Cheers
by w1574587
09 Mar 2021, 04:54
Forum: General questions
Topic: How to use DH parameter extractor.ttm?
Replies: 4
Views: 3340

How to use DH parameter extractor.ttm?

I'm using DH parameter extractor.ttm to extract the DH parameter of Sawyer.ttm. The joint angles are all set to be 0. However, when clicking the joint 1 and joint 2, the popped console gives me different results: Between 'Sawyer_joint1' and 'Sawyer_headJoint': d=0.0000 theta=0.0 a=0.0000 alpha=0.0 B...
by w1574587
29 Oct 2020, 07:04
Forum: General questions
Topic: How to calculate distance between mannequin and UR5?
Replies: 2
Views: 395

How to calculate distance between mannequin and UR5?

I drag the mannequin and UR5 model into the scene, and set them measurable, add new distance object (Shape: UR5 - All other entities). Start simulation and nothing happen. How to calculate distance between mannequin and UR5? How to read the distance in MATLAB? BTW I did successfully get the distance...