Page 1 of 1

Pick and place robot and gripper

Posted: 14 Aug 2024, 05:22
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.

Re: Pick and place robot and gripper

Posted: 14 Aug 2024, 17:10
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)