My project involves using RoboDK with a UR5e in online mode. There are a couple of different issues I have been dealing with.
When a move command is sent to the robot, the robot will move to the desired location at the expected speed. However, in RoboDK you can see the joint values are changing much slower than the actual robot. Even after the robot has fully stopped the joint values will be changing in RoboDK for 5-10 seconds afterwards. This means that there is a delay between the robot reaching the end of the first movement and then executing the second movement.
I tried to get around this by using MakeProgram and then trying Busy(), WaitMove(), WaitFinished(). However, none of these would actually cause any sort of delay, and the codebase would try to call the following instructions (which would then cause errors as the robot was still moving).
My program will utilize swapping between different runmodes semi-frequently, if that is helpful info. I cannot provide a sample project, but I may be able to provide a small snippet of code.
When a move command is sent to the robot, the robot will move to the desired location at the expected speed. However, in RoboDK you can see the joint values are changing much slower than the actual robot. Even after the robot has fully stopped the joint values will be changing in RoboDK for 5-10 seconds afterwards. This means that there is a delay between the robot reaching the end of the first movement and then executing the second movement.
I tried to get around this by using MakeProgram and then trying Busy(), WaitMove(), WaitFinished(). However, none of these would actually cause any sort of delay, and the codebase would try to call the following instructions (which would then cause errors as the robot was still moving).
My program will utilize swapping between different runmodes semi-frequently, if that is helpful info. I cannot provide a sample project, but I may be able to provide a small snippet of code.