Update regionals/bioglow_mission_1.py

This commit is contained in:
2026-11-15 21:54:55 +00:00
parent 43e0e93934
commit f4f66fe2b4

View File

@@ -29,12 +29,12 @@ async def solve_missions(): # Drone Survey - Johannes
# so turns are measured from a steady heading. # so turns are measured from a steady heading.
await robot.settle_gyro() await robot.settle_gyro()
await robot.move(60) # 60 cm forward await robot.move(60, then=robot.Stop.NONE) # 60 cm forward
await robot.turn(-35) # 35° left await robot.move(-5, then=robot.Stop.NONE)
await robot.move(30) # 3 cm backward await robot.turn(-30, then=robot.Stop.HOLD) # 35° left
await robot.turn(75) # 75° right await robot.move(60, then=robot.Stop.NONE) # 3 cm backward
await robot.move(-20) # 20 cm backward await robot.turn(45, then=robot.Stop.HOLD) # 75° right
await robot.move(70) # 70 cm forward await robot.move(70, then=robot.Stop.NONE) # 70 cm forward
robot.stop() # FIXED: was `await drive_base.stop` (crashed) robot.stop() # FIXED: was `await drive_base.stop` (crashed)