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

Create Targets from Quaternion

#1
Hi all,

I am struggling to create robottargets within a python script from quaternions. When I create a target with the "New target"-button in RoboDK and paste the Quaternion it works fine. But I have 364 targets that need to be created and I would like to do this with a python script but I don't know how the code should look like.
I hope someone can help me with that. I already have written a small script, but this only transfers the xyz-coordinates to RoboDK but not the orientation.
我附上一个4 x4垫rix (quaternion) of one of my poses, and the script I have written.


Attached Files
.txt pose_t_1.txt(Size: 410 bytes / Downloads: 100)
.txt RDK_pythonscript.txt(Size: 945 bytes / Downloads: 100)


Messages In This Thread
Create Targets from Quaternion - by达斯汀•- 08-23-2022, 10:42 AM
RE: Create Targets from Quaternion - byAlbert- 08-23-2022, 12:50 PM
RE: Create Targets from Quaternion - byAlbert- 08-25-2022, 08:40 AM



Users browsing this thread:
1 Guest(s)