现在就加入我们!
从robodk导入robolink # robodk API导入robomath #机器人工具箱RDK = robolink.Robolink()Max_frame = 10Y_motion = 100frame_base = RDK。Item(" robot base frame的名称",robolink.ITEM_TYPE_FRAME)对于I在range(0,max_frame):new_frame = RDK.AddFrame("帧"+str(i),frame_base)new_frame.setPose (robomath.Offset (frame_base.Pose (), 0, y_motion *我,0,0,0,0))