Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Moving a robot base through python API

#1
Is it possible to move the robot base through the python API? I want to do this, but I don´t know how.
#2
Good Morning ,
Yes you can , you have to create a new python script then create your code , you can try this code it allows the robot to reach the target point

from robolink import *
from robodk import *

RL = Robolink()
robot = RL.Item('KUKA KR 6 R900 sixx') #name of your robot
Target = RL.Item('Target 1')
robot.MoveJ(target)
#3
Hi, 

To modify the position of the robot base, you can simply use the following:

Code:
RDK = robolink()

robot_base = RDK.Item('Robot Base Name', ITEM_TYPE_FRAME)
robot_base.setPose(4x4 mat with the position)

Jeremy
  




Users browsing this thread:
1 Guest(s)