dev_update_off() DataNameStart := \'./robot_pos_\' i := 0 dev_close_window() input_pose_type(PoseType) CreateNextPose := \'true\' while(CreateNextPose == \'true\') input_pose(PoseType,Pose) write_pose(pose,DataNameStart + i$\'03d\' + \'.dat\') i := i +1 ask_yes_no("Create another pose?\',\'yes\',\'no\',CreateNextPose) endwhile
通过该方法可以手动输入机器人位置姿态数据,并生成.dat文件,halcon可以加载做手眼标定。