08-19-2021, 09:46 PM
Hi, I created a program to have a UR5 go to targets on the surface of a 3D model. Unfortunately, I realized after completion that the part was aligned in the -X direction instead of +X and need to essentially rotate the robot base 180 degrees to simply face all the targets the other way.
We tried manually repositioning every target by adding 180 to joint theta 1, and saved them all as joint targets. This worked in the simulation however not on our in-person robot. The joints in the teach pendant for our UR5 read the original, incorrect joint angles. We also tried nesting the targets in a new frame and rotating that frame 180 degrees but that did not work in-person either. We tried rotating the reference frame for the UR5 base 180 which also didn't work. We then tried adjusting the global frame in the script code and had no success.
It seems our attempts to modify the program work in the simulation, but do not change how the robot behaves in-person.
Attached is our workstation and tree. All we want is to move everything behind the robot, in the positive x direction since we accidentally set it up in the negative.
Thank you, any help is appreciated.
We tried manually repositioning every target by adding 180 to joint theta 1, and saved them all as joint targets. This worked in the simulation however not on our in-person robot. The joints in the teach pendant for our UR5 read the original, incorrect joint angles. We also tried nesting the targets in a new frame and rotating that frame 180 degrees but that did not work in-person either. We tried rotating the reference frame for the UR5 base 180 which also didn't work. We then tried adjusting the global frame in the script code and had no success.
It seems our attempts to modify the program work in the simulation, but do not change how the robot behaves in-person.
Attached is our workstation and tree. All we want is to move everything behind the robot, in the positive x direction since we accidentally set it up in the negative.
Thank you, any help is appreciated.