Hello, I tried using this project using the ev3dev.
I built the mindcub3r EV3 Education variant from their website.
Its like the home edition. So should be same.
I already tested the mindcub3r EV3 project and it will solve the rubiks.
But I want an open source variant of the code, so I found this. (Are there other working ev3 mindcuber opensource repos ? Send me!)
But it will only scan and throw errors.
2021-01-25 13:02:47,142 rubiks_test.py INFO: Begin...
2021-01-25 13:02:48,426 ev3.py INFO: Available Sensors:
('ev3-ports:in1', 'lego-ev3-us')
('ev3-ports:in2', 'lego-ev3-color')
2021-01-25 13:02:48,459 rubiks.py INFO: Initialize flipper
2021-01-25 13:02:48,706 rubiks.py INFO: Initialize color arm
2021-01-25 13:02:50,177 rubiks.py INFO: Initialize turntable
2021-01-25 13:02:50,611 rubiks.py INFO: wait for cube...proximity 86, present for 1/10
2021-01-25 13:02:50,738 rubiks.py INFO: wait for cube...proximity 86, present for 2/10
2021-01-25 13:02:50,857 rubiks.py INFO: wait for cube...proximity 86, present for 3/10
2021-01-25 13:02:50,981 rubiks.py INFO: wait for cube...proximity 86, present for 4/10
2021-01-25 13:02:51,103 rubiks.py INFO: wait for cube...proximity 86, present for 5/10
2021-01-25 13:02:51,227 rubiks.py INFO: wait for cube...proximity 86, present for 6/10
2021-01-25 13:02:51,349 rubiks.py INFO: wait for cube...proximity 86, present for 7/10
2021-01-25 13:02:51,471 rubiks.py INFO: wait for cube...proximity 86, present for 8/10
2021-01-25 13:02:51,595 rubiks.py INFO: wait for cube...proximity 86, present for 9/10
2021-01-25 13:02:51,715 rubiks.py INFO: wait for cube...proximity 86, present for 10/10
2021-01-25 13:02:51,727 rubiks.py INFO: wait for cube...cube found and stable
2021-01-25 13:02:51,778 rubiks.py INFO: scanning face
2021-01-25 13:02:53,484 rubiks.py INFO: i 1, k 1, current_position 131, current_color (81, 25, 25)
2021-01-25 13:02:53,855 rubiks.py INFO: i 2, k 2, current_position 281, current_color (192, 135, 86)
2021-01-25 13:02:54,220 rubiks.py INFO: i 3, k 3, current_position 428, current_color (23, 16, 22)
2021-01-25 13:02:54,495 rubiks.py INFO: i 4, k 4, current_position 536, current_color (210, 195, 242)
2021-01-25 13:02:54,834 rubiks.py INFO: i 5, k 5, current_position 671, current_color (25, 52, 43)
2021-01-25 13:02:55,200 rubiks.py INFO: i 6, k 6, current_position 821, current_color (198, 141, 89)
2021-01-25 13:02:55,509 rubiks.py INFO: i 7, k 7, current_position 942, current_color (197, 136, 80)
2021-01-25 13:02:55,842 rubiks.py INFO: i 8, k 8, current_position 1075, current_color (188, 135, 85)
2021-01-25 13:02:58,195 rubiks.py INFO: scanning face
2021-01-25 13:02:59,545 rubiks.py INFO: i 1, k 10, current_position 133, current_color (41, 73, 53)
2021-01-25 13:02:59,910 rubiks.py INFO: i 2, k 11, current_position 281, current_color (97, 36, 35)
2021-01-25 13:03:00,279 rubiks.py INFO: i 3, k 12, current_position 427, current_color (5, 4, 10)
2021-01-25 13:03:00,551 rubiks.py INFO: i 4, k 13, current_position 537, current_color (41, 83, 52)
2021-01-25 13:03:00,916 rubiks.py INFO: i 5, k 14, current_position 685, current_color (10, 15, 27)
2021-01-25 13:03:01,285 rubiks.py INFO: i 6, k 15, current_position 831, current_color (207, 190, 246)
2021-01-25 13:03:01,567 rubiks.py INFO: i 7, k 16, current_position 942, current_color (179, 179, 237)
2021-01-25 13:03:01,965 rubiks_test.py ERROR: i is 8..should be 9
Traceback (most recent call last):
File "/home/robot/ev3dev_examples/python/rubiks_test.py", line 20, in <module>
rub.scan()
File "/home/robot/ev3dev_examples/python/pyev3/rubiks.py", line 363, in scan
self.scan_face()
File "/home/robot/ev3dev_examples/python/pyev3/rubiks.py", line 346, in scan_face
raise ScanError('i is %d..should be 9' % i)
ScanError: i is 8..should be 9```