RoboDK Forum
MoveL不使用pythonscript- Printable Version

+- RoboDK Forum (//www.jasonament.com/forum)
+-- Forum: RoboDK (EN) (//www.jasonament.com/forum/Forum-RoboDK-EN)
+ - - -论坛:RoboDK错误(//www.jasonament.com/forum/Forum-RoboDK-bugs)
+--- Thread: MoveL not working with pythonscript (/Thread-MoveL-not-working-with-pythonscript)



MoveL不使用pythonscript-Teddy-06-27-2023

Hello,

i just run into the problem that the program i created worked fine when i just use moveJ commands,
however when i use a moveL command, the robot begins to relocate and turns 4th, 5th and 6th axis, instead of executing linear movement to the next target, here is my code, as you can see, it is as simple as it could be:


#Homeposition
robot.MoveJ(pHome)
p2_safety = p2.Pose()
robot.MoveJ(p2_safety*transl(0,0,-150))

#Targets
for x in range(10):
robot.MoveL(p2) #target position
robot.MoveL(p1) #measure position


RE: MoveL not working with pythonscript-Teddy-06-27-2023

just figured it out, the problem was that we used the apikuka Driver, but the actual one is the kukabridge.


RE: MoveL not working with pythonscript-Albert-06-27-2023

Great, thank you for letting us know.


Baidu
map