09-10-2021, 08:10 AM
(This post was last modified: 09-10-2021, 08:25 AM byAgentMuellermilch.)
(09-07-2021, 07:04 PM)Jeremy Wrote:Take a look at this macro.
It's a step in the right direction.
Jeremy
Hey Jeremy,
Thank you for your effort.
Your macro prints out the following (and more):
Quote:Comau NS 12-1.85
T MoveJ 1
[[ -0.230, 0.958, -0.171 ],
[ 0.769, 0.286, 0.572 ],
[ 0.597, 0.000, -0.803 ]]
[[ -0.230, 0.958, -0.171 ],
[ 0.769, 0.286, 0.572 ],
[ 0.597, 0.000, -0.803 ]]
Pose(0.000, 0.000, 0.000, 0.000, 0.000, 0.000):
[[ 1, 0, 0, 0 ],
[ 0, 1, 0, 0 ],
[ 0, 0, 1, 0 ],
[ 0, 0, 0, 1 ]]
Pose(-582.173, 4.540, 930.260, -144.542, -9.822, -103.470):
[[ -0.230, 0.958, -0.171, -582.173 ],
[ 0.769, 0.286, 0.572, 4.540 ],
[ 0.597, 0.000, -0.803, 930.260 ],
[ 0, 0, 0, 1 ]]
If I understand it correct, I have to fill my data in the new_pose array right?
我还发现一个现有的脚本in RoboDK with the name "ImportCSV_XYZWPR.py". I changed it a little bit and it seems to work.
Blessings.
Alex