diff --git a/run_01.py b/run_01.py index f614fee..f0debfa 100644 --- a/run_01.py +++ b/run_01.py @@ -2,6 +2,7 @@ from pybricks.hubs import PrimeHub from pybricks.parameters import Axis, Direction, Port, Stop from pybricks.pupdevices import Motor from pybricks.robotics import DriveBase +from pybricks.tools import wait from assi import A from robot_class import LazyRobot, Robot @@ -19,6 +20,9 @@ def main(robot: LazyRobot): # partenza robot a 1 nero e 1 db.settings(432, 300, 100, 50) db.straight(460) - msu_L.run_angle(1000, 180, Stop.HOLD, wait=True) + wait(500) + db.straight(-150) + msu_L.run_angle(1000, -270, Stop.HOLD, wait=False) + wait(500) db_settingsInizz() - db.straight(-500) + db.straight(-510)