RobotStudio event

Calculate Pose Value of the frame

Hi Guys,

How to calculate the pose values from the joint targets using RS-SDK?

The RAPID way is
pose pose1 := CalcRobT(jointtarget1, tool1 WObj:=wobj0);

Thank you.
Lingaa

Comments

  • sorry it is not pose it is robtarget
    robtarget tgt1 := CalcRobT(jointtarget1, tool1 WObj:=wobj0);
    Lingaa
  • Hi

    You can get the axis values from the joint taget using GetJointVal and then pass it into the

    ForwardKinematics method, which returns a 4x4 matrix, which you can set on a robtarget.

    Hope it helps,

    Regards Lars
    Lars Glud
    Danrob A/S