Add shout-fll-scrimmage/bioglow_mission_11_experimental.py

experimental for mission 11 with new attachment
This commit is contained in:
2026-10-20 04:20:14 +00:00
parent eead961fa0
commit a11bd235a2

View File

@@ -0,0 +1,36 @@
#####################################
# Solution for BioGlow Mission 11
#####################################
import bioglow_helpers as helper
from bioglow_robot_settings import * # drive_base, left_arm, right_arm, ... all come from settings
async def solve_missions(): # Windows to the past
drive_base.reset(0,0) # always reset drivebase for heading reset especially with turns
await multitask(
right_arm.run_angle(800,-90),
drive_base.straight(100)
)
await drive_base.turn(-45)
await drive_base.straight(420)
helper.set_speed(100,100,100,100)
await multitask(
left_arm.run_angle(500,45),
right_arm.run_angle(800,140)
)
helper.set_default_speed()
#return home
await drive_base.straight(-500)
await multitask(
left_arm.run_angle(100,-45),
right_arm.run_angle(800,-90)
)
#helper.reset_arms()
helper.set_default_speed()
drive_base.stop()
if __name__ == "__main__": # This run this mission stand-alone when not called from bioglow_main.py
run_task(solve_missions())