Multiple threaded scripts
Posted: 26 Aug 2024, 20:46
Hello,
I'm having a hard time simulating an assembling factory with 4 robots and a circular conveyor.
I have 15 threaded scripts running in the scene.
During the development and implementation of each work stations some of the scripts started to behave abnormally some of threaded scripts stopped working at all. I have already put a couple sim.switchThread() along the various scripts, but it still looks like my laptop is not getting to handle all the computation necessary to run the simulation properly.
Can you give me any advice on how to handle this situation? should I put more sim.switchThread() in the codes or something like that?
I'm having a hard time simulating an assembling factory with 4 robots and a circular conveyor.
I have 15 threaded scripts running in the scene.
During the development and implementation of each work stations some of the scripts started to behave abnormally some of threaded scripts stopped working at all. I have already put a couple sim.switchThread() along the various scripts, but it still looks like my laptop is not getting to handle all the computation necessary to run the simulation properly.
Can you give me any advice on how to handle this situation? should I put more sim.switchThread() in the codes or something like that?