A B and C... anyone that could explain it to me?

  • Hello all,


    I've been trying to make a function that generate points. Something like:


    LIN {XiYiZiAiBiCi}
    Q
    LIN_REL {X100 A 10 B5}
    W
    LIN_REL {X100 A 10 B-5}


    The strange thing here is that the result $POS_ACT at Q and in W are really different. I understand that X will be moved, but A should be Ai+20 and B should be Bi.


    The values I'm getting though are different... why do this happens?


    Thank you in advance...

  • Schritt für Schritt zum Roboterprofi!
  • Sorry, I've explained myself in a bad way...


    What I was meaning was that Q and W are places in the program (you could substitute them for a HALT instruction and then check $POS_ACT).


    Thank you for your feedback!

  • I tried it with your commands. I think the position we get back are correct. It is A+20 and B+0. But all values (A, B, C) are affected. Because there are many ways to describe one position. If you calculate the (rotation) matrix you will see that your new position is the result of A=A+20 and B=B+0.

Erstelle ein Benutzerkonto oder melde dich an um zu kommentieren

Du musst ein Benutzerkonto haben um einen Kommentar hinterlassen zu können

Benutzerkonto erstellen
Neues Benutzerkonto für unsere Community erstellen. Geht einfach!
Neues Benutzerkonto erstellen
Anmelden
Du hast bereits ein Benutzerkonto? Melde dich hier an.
Jetzt anmelden