Files
X06SA/script/test/TestCameraStability2.py
gac-S_Changer 69d30a7b1e
2018-12-03 12:23:31 +01:00

15 lines
378 B
Python

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