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

Index External Axis

#6
Here's a station that should work and here the python code.

Code:
#------ CONSTANT ------
ROBOT_NAME = 'Motoman MH50'
INCREMENT_EXT_1_DEG = 5
INCREMENT_EXT_2_DEG = 20

joints = []

robot = RDK.Item(ROBOT_NAME,itemtype=ITEM_TYPE_ROBOT)

if robot.Valid():
joints = robot.Joints()
joints[6] += INCREMENT_EXT_1_DEG
joints[7] += INCREMENT_EXT_2_DEG
robot.MoveJ(joints)


Jeremy


Attached Files
.rdk Indexing.rdk(Size: 5.44 MB / Downloads: 260)
Find useful information about RoboDK and its features by visiting our2022世界杯32强赛程表时间 and by watching tutorials on ourYoutube Channel.




Messages In This Thread
Index External Axis - byDNikolovBA- 12-10-2020, 09:51 PM
RE: Index External Axis - byJeremy- 12-11-2020, 05:17有空
RE: Index External Axis - byDNikolovBA- 12-11-2020, 09:16 PM
RE: Index External Axis - byJeremy- 12-14-2020, 03:37 PM
RE: Index External Axis - byDNikolovBA- 12-15-2020, 09:00 PM
RE: Index External Axis - byJeremy- 12-15-2020, 09:46 PM
RE: Index External Axis - byDNikolovBA- 12-16-2020, 05:59 AM



Users browsing this thread:
1 Guest(s)