import * From robodk。robolink import * RDK = robolink. robolink () frame1 = RDK。Item('Frame 1', ITEM_TYPE_FRAME) frame2 = RDK。项目('Frame 2', ITEM_TYPE_FRAME)打印(str(Pose_2_KUKA(frame2. posewrt (frame1)))) print(str(Pose_2_KUKA(frame1. posewrt (frame2)))) .)