Forum

Control a robot J1->J6

Home Forums Temas ou Discussões Control a robot J1->J6

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • ProhaskaRbt
    Guest
    Post count: 172

    Hello,

    Using setJoints you can send the robot to any joint position. In your case, you can refer to the example here: https://robodk.com/doc/en/PythonAPI/exam…rogram-xyz

    And you can use setJoints as below to move robot:

    Code:

    from robolink import * # import the robolink library (bridge with RoboDK)
    from robodk import * # import the robodk library (robotics toolbox)

    RDK = Robolink() # establish a link with the simulator
    robot = RDK.ItemUserPick(‘Select a robot’, ITEM_TYPE_ROBOT) # retrieve the robot
    robot.setJoints([0,90,-90,0,0,0]) # move robot to given joint position

    Lowbass
    Guest
    Post count: 172

    Great thanks ! Laugh

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Home Forums Temas ou Discussões Control a robot J1->J6