09-09-2022, 06:52 AM
Each movement for the same robot is not executed unless the previous move is complete.
To do what you are planning to accomplish it would be better if you intercalate the movements for each robot:
You can also stop the robot movement by triggering R1.Stop(). You may need to trigger this from a separate thread and you would have to wrap your Movement within a try/catch if you don't want your script to stop.
To do what you are planning to accomplish it would be better if you intercalate the movements for each robot:
Code:
R1.MoveJ(R1_T1,False) #1 Move first robot R1 to target R1_T1
R2.MoveJ(R2_T1,False) #2 Move second robot R2 to target R2_T1
R1.MoveJ(R1_T2,False) #3 Move first robot R1 to target R1_T2
R2.MoveJ(R2_T2,False) #4 Move second robot R2 to target R2_T2