Pick and place robot and gripper

Typically: "How do I... ", "How can I... " questions
Post Reply
pogbaminh
Posts: 10
Joined: 12 Jun 2024, 11:04

Pick and place robot and gripper

Post by pogbaminh »

I use coppelia to create pick and place in coppelia, so I connect Robot and gripper. I want to ask priority excute script in coppelia. And i create type of script to control both of robot and gripper. currently two script run parallel. thank you for your support.

fferri
Posts: 1297
Joined: 09 Sep 2013, 19:28

Re: Pick and place robot and gripper

Post by fferri »

If you want to block one script execution while another executes, you have to use a combination of threaded scripts and a synchronization mechanism such as signals (e.g. wait in the threaded script with sim.waitForSignal, and set the signal in the other script with sim.setInt32Signal)

Post Reply