Files
mxsc/script/test/TestCameraStability2.py
gac-S_Changer 07664f8749
2018-09-04 13:32:11 +02:00

12 lines
261 B
Python

cover_detection_debug=False
for pos in ['A', 'B', 'C', 'D', 'E', 'F']:
print "Moving to ", pos
hexiposi.move(pos)
ret = run("imgproc/CoverDetection")
det = ret[0]
print "Detected: ", det
if det != pos:
raise "Position error"