Hi,
I have a problem with a situation that cause me a limit error. I understand what is the limit error, but I need a way to correct it. So here the situation.
Let say that we have 3 positions (P1, P2, P3)
P1 has a rotation (R) of 0 deg
P2 has a rotation (R) of 120 deg
P3 has a rotation (R) of 240 deg
The program (in karel) send the robot to the position P1, after to the position P2, after to position P3 and return to P1, P2, P3, P1, ....
So,
to be able to pass from P1 to P2, the robot turn the joint 6 counter clock wise of 120deg (let say that J6 value = 120 deg)
to be able to pass from P2 to P3, the robot turn the joint 6 counter clock wise of another 120deg (J6 value = 240 deg)
to be able to pass from P2 to P3, the robot turn the joint 6 counter clock wise of another 120deg (J6 value = 360 deg)
because the robot try to reduce the angular displacement, when it's the time to go from P3 to P1, the joint 6 goes counter clock wise again for 120 deg...
At some point, the joint 6 will get a limit error
My question is : How can i correct that?
-I don't want to manage it myself by always goes to an intermediate position between move that unwind the joint 6...or maybe is the only way to solve that
-The positions can't be teach others ways
Thanks for your help