12-22-2022, 10:02 PM
There's probably code that relies on this behavior so I imagine you can't fix it, but the docs should at least mention it. Observed in v5.4.3
PoseAbs() on ITEM_TYPE_TOOL returns flange pose, not TCP |
12-22-2022, 10:02 PM
There's probably code that relies on this behavior so I imagine you can't fix it, but the docs should at least mention it. Observed in v5.4.3
You can useitem.PoseTool()as a workaround
12-22-2022, 10:40 PM
Looks like that gives TCP relative to the flange, so you'd have to do extra math to get a PoseAbs from that
12-22-2022, 11:11 PM
Thats correct. To calculate the absolute pose of the TCP you can do the following:
Code:
tool_pose_abs = tool.PoseAbs() * tool.PoseTool()
12-22-2022, 11:14 PM
This is not a bug so I'm moving this thread to the API section.
这种类型of behaviour should be expected in older and future versions.
12-23-2022, 12:16 PM
Let me join the party!
If you are looking for the TCP with regards to any other item, including the station, you can use this: //www.sinclairbody.com/doc/en/PythonAPI/robo...em.PoseWrt //www.sinclairbody.com/doc/en/PythonAPI/robo...getPoseWrt
Please read the论坛Guidelinesbefore posting!
Find useful information about RoboDK by visiting our2022世界杯32强赛程表时间 .
01-02-2023, 11:10 PM
Thanks guys.
|
Users browsing this thread: |
1 Guest(s) |