run_1 + bandierina

This commit is contained in:
leo 2025-11-09 19:05:17 +01:00
parent 3701cccfb9
commit 25de71b2e4
2 changed files with 4 additions and 2 deletions

View file

@ -113,7 +113,7 @@ class LazyRobot:
right: "Motor"
db: "DriveBase"
extra_L: "Motor"
extra_E: "Motor"
extra_R: "Motor"
# stato interno del proxy
_params: "dict[str, object]"

View file

@ -8,15 +8,17 @@ from robot_class import LazyRobot, Robot
def main(robot: LazyRobot): # partenza robot a 1 nero e 1
msu_L: Motor = robot.extra_L
hub = robot.hub
db = robot.db
def db_settingsInizz():
db.settings(864, 300, 100, 50)
db.settings(864, 1000, 100, 50)
db_settingsInizz()
db.settings(432, 300, 100, 50)
db.straight(460)
msu_L.run_angle(1000, 180, Stop.HOLD, wait=True)
db_settingsInizz()
db.straight(-500)