Таблица заданий:
https://docs.google.com/spreadsheets/d/1ZoY45FABxz...Генератор:
https://mosrobotics.ru/activity/ocpm/rules/generat...Проверка таблиц
https://docs.google.com/spreadsheets/d/1pywC_11yEx...https://disk.yandex.ru/d/R5PEmKQM3JUVLg
def drive():
while brick.sensor(A1).read() + brick.sensor(A2).read() < 100:
ru = (50 - brick.sensor(A1).read()) * 1
brick.motor(M3).setPower(50 - ru)
brick.motor(M4).setPower(50 + ru)
brick.motor(M3).setPower(50)
brick.motor(M4).setPower(50)
script.wait(300)
brick.motor(M3).powerOff()
brick.motor(M4).powerOff()
ROBOTIX.SU/INFO
[[1,0, 0], [3, 3, 0], [4, 2, 5], [5, 1, 1], [6, 2, 1], [7, 3, 1], [8, 0, 1], [9, 2, 8], [10, 2, 3], [11, 3, 3], [12, 0, 3], [13, 1, 3], [14, 2, 13], [15, 3, 13], [16, 0, 13], [17, 1, 13], [18, 2, 11], [19, 3, 11], [20, 0, 11],
[21, 1, 11], [22, 2, 19], [23, 2, 21], [24, 3, 21], [25, 0, 21], [26, 1, 21], [27, 2, 25], [28, 2, 16], [29, 3, 16], [30, 0, 16], [31, 1, 16], [32, 2, 30], [33, 2, 31]]