The following sample code:
May actually just execute to home, second, home, there seems to be no pattern.
Things I have tried:
As mentioned in number 4, I also have issues where the arm will randomly just get stuck at "sending command", which get worse when calling Joints.
This is using the latest RoboDK version and Python API.
Code:
MoveJ(home_pose)
MoveJ(first_position)
MoveJ(second_position)
MoveJ(home_pose)
May actually just execute to home, second, home, there seems to be no pattern.
Things I have tried:
- Adding time.sleep between movements.. this seems to help but need a very long sleep to work which is not feasible for my project
- Using non-blocking and robot.busy.. this also skips
- Checking for robot.connectionstatus.. this also skips
- Calling Joints() after every move... this causes disconnection issues
As mentioned in number 4, I also have issues where the arm will randomly just get stuck at "sending command", which get worse when calling Joints.
This is using the latest RoboDK version and Python API.