06-10-2021, 08:31 AM
(06-02-2021, 01:25 PM)Vineet Wrote:Hello
Try changing the orientation angle order from the drop down menu, it should be X, Y, Z. Right now you are viewing: Z,Y',X''
Hi,
to show the correct values in RoboDK that might help. However, the target orientation from the imported targets wasnotlike the original orientation (which comes from kuka .dat file) when I just used this function:
Code:
Target.setPose(Offset(eye(), x, y, z, a, b, c))
First I had to convert the XYZABC with KUKA_2_Pose(XYZABC) function:
Code:
Target = RDK.AddTarget('Target ' + str(i), frame)
XYZABC = [x, y, z, a, b, c]
Pose = KUKA_2_Pose(XYZABC)
Target.setPose(构成)
Now it works perfectly. Thanks for your help :).