Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Create target from a txt file

#6
(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 :).


Messages In This Thread
Create target from a txt file - by95kvdko- 12-03-2019, 04:30 PM
RE: Create target from txt - byJeremy- 12-03-2019, 07:31 PM
RE: Create target from txt - by95kvdko- 12-04-2019, 12:33 PM
RE: Create target from txt - bybender- 06-02-2021, 01:09 PM
RE: Create target from txt - byVineet- 06-02-2021, 01:25 PM
RE: Create target from txt - bybender- 06-10-2021, 08:31 AM



Users browsing this thread:
1 Guest(s)