02-24-2022, 09:34 PM
Something like this would work:
Jeremy
Code:
from robodk import robolink # RoboDK API
从robodk进口robomath #机器人工具箱
RDK = robolink.Robolink()
max_frame = 10
y_motion = 100
frame_base = RDK.Item("Name of the robot base frame", robolink.ITEM_TYPE_FRAME)
for i in range(0,max_frame):
new_frame = RDK.AddFrame("Frame"+str(i),frame_base)
new_frame.setPose(robomath.Offset(frame_base.Pose(),0,y_motion*i,0,0,0,0))
Jeremy
Find useful information about RoboDK and its features by visiting our2022世界杯32强赛程表时间
and by watching tutorials on ourYoutube Channel.