03-07-2024, 02:42 PM
Hello RoboDK Community,
I am experiencing a problem with running a Python script on my Jaka Zu12 robot. The script successfully executed once, but next attempts to run it have failed, even though the robot connects and synchronizes. The robot responds to manual commands through the Move Joint button, Get Position button, and simple(target) programs work fine, but the Python script is not functioning.
The script generates and displays the path in the simulator but it doesn't act on the robot arm.
I have also attached a screenshot for reference. Also, a video of it working one time :))
Any insights or suggestions on what might be going wrong would be greatly appreciated.
Thank you in advance!
I am experiencing a problem with running a Python script on my Jaka Zu12 robot. The script successfully executed once, but next attempts to run it have failed, even though the robot connects and synchronizes. The robot responds to manual commands through the Move Joint button, Get Position button, and simple(target) programs work fine, but the Python script is not functioning.
The script generates and displays the path in the simulator but it doesn't act on the robot arm.
Code:
Below is the script I'm using:# You can also use the new version of the API:
from robodk import robolink # RoboDK API
from robodk import robomath # Robot toolbox
RDK = robolink.Robolink()
robot = RDK.Item("Jaka Zu12")
home = RDK.Item("Home")
target = RDK.Item("Target")
robot.MoveJ(home)
robot.MoveJ(target)
I have also attached a screenshot for reference. Also, a video of it working one time :))
Any insights or suggestions on what might be going wrong would be greatly appreciated.
Thank you in advance!