Hi everyone,
I'm trying to write a Python script in RoboDK to replicate the Get Position button, which updates the robot's position from the real robot (Yaskawa Motoman AR1440).
The button in the GUI works perfectly — it retrieves and updates the real robot's joint values. However, none of the Python commands I’ve tried (such as robot.Update(), or robot.Joints() ) seem to get the actual robot position — they just return the simulated one.
The robot is connected (status shows "Ready"), but I can't find the exact command that triggers the same action as the button.
Any idea how to achieve this in Python?
Thanks in advance!
I'm trying to write a Python script in RoboDK to replicate the Get Position button, which updates the robot's position from the real robot (Yaskawa Motoman AR1440).
The button in the GUI works perfectly — it retrieves and updates the real robot's joint values. However, none of the Python commands I’ve tried (such as robot.Update(), or robot.Joints() ) seem to get the actual robot position — they just return the simulated one.
The robot is connected (status shows "Ready"), but I can't find the exact command that triggers the same action as the button.
Any idea how to achieve this in Python?
Thanks in advance!