run 1 completa (senza la bandiera)
This commit is contained in:
parent
25de71b2e4
commit
44451aafb7
1 changed files with 6 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue