12 lines
261 B
Python
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"
|
|
|