So after you use the screw do you reset all the variables that tell it where to pick from and where to place it? That way you know for certain that it can't just go re-pick what you picked last? If you could share your code with the community that would help as well as we may see something simple in the code.
We have programmed the UR5 to pick up 3 different screw sizes, and screw into identified holes. We select which screw we want the robot to pick up and then tell it which position it needs to go to. Once screwed in, we want the robot to return to the beginning and ask us which screw to pick up again. However currently, it is skipping that section and asking us straight away which position to take the screw to, before we have told it which screw to select.
How do we get the UR5 to go back to the start/reset, and ask us which screw it should pick up?