KUKA Robot Move Linear Error- Printable Version +- RoboDK Forum (//www.sinclairbody.com/forum) +-- Forum: RoboDK (EN) (//www.sinclairbody.com/forum/Forum-RoboDK-EN) +--- Forum: RoboDK API (//www.sinclairbody.com/forum/Forum-RoboDK-API) +--- Thread: KUKA Robot Move Linear Error (/Thread-KUKA-Robot-Move-Linear-Error) |
KUKA Robot Move Linear Error-Nox-02-12-2019 Hello everyone, I'm having problems with the MoveL function, it doesn't work in real life at all, in the simulation it works fine, but in the real robot the movement is somehow erratic, and the simulation shows some really weird movements.
Code:
ref = refRobot2
I attach a video of this weird movement... https://youtu.be/5sEjQ5MH8D4 I would like to know, if this is a RoboDK Issue, robot, postprocessor? RE: KUKA Robot Move Linear Error-Albert-02-13-2019 It looks like the target is a joint target but you are moving using a linear movement and Cartesian coordinates. If you want to use Cartesian coordinates I would recommend you to first set the reference frame of that target (target's parent item). Something like:
Code:
home_target = RDK.Item("KR210-2 - Home")
If you can provide the RDK file we can better look into this issue. RE: KUKA Robot Move Linear Error-Nox-02-15-2019 The target is actually a Cartesian Target, and I'm doing practically the same thing that you told me... When I tried to isolate the script in a new file I don't get the same error... this has happened to me before with this problem, sometimes it works and sometimes is not working at all... but I can't see any difference in the targets, script or robot... what can be wrong? RE: KUKA Robot Move Linear Error-Albert-02-19-2019 You should usesetPoseTool() before you try any movements. This will update the tool pose on the robot. This is important because you may have used another tool in a previous program and the robot driver remembers the last tool you set. I recommend you to try the following:
Code:
from robolink import * # RoboDK API
|