01-28-2021, 09:15 AM
Hi!
I adapted the 'Drawing with a robot' example for a UR10 robot.
It works fine if I simulate the python script in RoboDK. (Run on robot works too, although the motion is slow and jerky.)
When I generate a robot program and simulate this in RoboDK or send to the robot, the arm starts drawing at a different offset. Instead of starting at the 'Frame draw' reference frame, it seems to make the same ('UR10 Base'—'Frame draw') pose again from the 'Frame draw' reference point, basically doubling the intended offset.
An explanatory image and the roboDK file is attached. I hope that helps clarify the problem.
After the program was generated, I can change the reference link on the 'change frame' program entries to 'UR10 Base', instead of the default 'Frame draw'. Then the problem is resolved, but I would need to do that for every single moveL command, which is a bit inconvenient.
I tried changing the python script and looked at the 'program' preference options, but without a useful outcome.
I tried the updated Universal Robots URP post processor, as suggested in this forum thread, but that made no difference.
Any help is greatly appreciated!
I adapted the 'Drawing with a robot' example for a UR10 robot.
It works fine if I simulate the python script in RoboDK. (Run on robot works too, although the motion is slow and jerky.)
When I generate a robot program and simulate this in RoboDK or send to the robot, the arm starts drawing at a different offset. Instead of starting at the 'Frame draw' reference frame, it seems to make the same ('UR10 Base'—'Frame draw') pose again from the 'Frame draw' reference point, basically doubling the intended offset.
An explanatory image and the roboDK file is attached. I hope that helps clarify the problem.
After the program was generated, I can change the reference link on the 'change frame' program entries to 'UR10 Base', instead of the default 'Frame draw'. Then the problem is resolved, but I would need to do that for every single moveL command, which is a bit inconvenient.
I tried changing the python script and looked at the 'program' preference options, but without a useful outcome.
I tried the updated Universal Robots URP post processor, as suggested in this forum thread, but that made no difference.
Any help is greatly appreciated!