This commit is contained in:
gac-S_Changer
2020-09-08 11:53:11 +02:00
parent 226db0ad02
commit c85d4b4aa9
251 changed files with 19362 additions and 0 deletions

21
script/test/TestLayout.py Normal file
View File

@@ -0,0 +1,21 @@
points = [(100, 140), (130, 77), (120, 130), (110, 100)]
clear_detection()
detect_pucks(points)
#detect_pucks(points, 'A')
#detect_pucks(points, '4')
plot_base_plate(points)
#plot_detected_leds(points)
block_id = None
print get_unipucks(block_id)
print get_minispines(block_id)
print get_empties(block_id)
print get_det_errors(block_id)