From 2a3bc0707499a74b12461282a97109e572f80ddc Mon Sep 17 00:00:00 2001 From: Parthiv <31vadlap@elmbrookstudents.org> Date: Wed, 18 Nov 2026 01:09:33 +0000 Subject: [PATCH] Update regionals/bioglow_mission_1.py --- regionals/bioglow_mission_1.py | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/regionals/bioglow_mission_1.py b/regionals/bioglow_mission_1.py index 43dbd6e..2a98b41 100644 --- a/regionals/bioglow_mission_1.py +++ b/regionals/bioglow_mission_1.py @@ -31,13 +31,16 @@ async def solve_missions(): # Drone Survey - Johannes await robot.move(60, then=robot.Stop.NONE) # 60 cm forward await robot.move(-5, then=robot.Stop.NONE) - await robot.turn(-30, then=robot.Stop.HOLD) # 35° left - await robot.move(60, then=robot.Stop.NONE) # 3 cm backward - await robot.turn(45, then=robot.Stop.HOLD) # 75° right - await robot.move(70, then=robot.Stop.NONE) # 70 cm forward + await robot.turn(-31, then=robot.Stop.HOLD) # 35° left + await robot.move(50, then=robot.Stop.HOLD) # 3 cm backward + await robot.turn(-27, then=robot.Stop.HOLD) # 35° left + await robot.move(13, speed=18, acceleration=100) + await robot.move(-4, speed=18, acceleration=200) + await robot.turn(65, then=robot.Stop.HOLD) # 75° right + await robot.move(85, then=robot.Stop.NONE) # 70 cm forward robot.stop() # FIXED: was `await drive_base.stop` (crashed) if __name__ == "__main__": # This run this mission stand-alone when not called from bioglow_main.py - robot.run_task(solve_missions()) + robot.run_task(solve_missions()) \ No newline at end of file