现在就加入我们!
来自Robodk Import Robolink#Robodk API来自Robodk Import Robomath#机器人工具箱rdk = robolink.robolink()max_frame = 10y_motion = 100frame_base = rdk.item(“机器人基础框架的名称”,robolink.item_type_frame)对于我在范围内(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))