Files
bioglow_solutions/hazmat_scrimmage/bioglow_mission_8.py

22 lines
787 B
Python

#####################################
# Solution for BioGlow Mission 8
#####################################
import bioglow_helpers as helper
from bioglow_robot_settings import * # drive_base, left_arm, right_arm, ... all come from settings
async def solve_missions(): # Research Platform - Johannes
await drive_base.arc(900,None,400)
await drive_base.arc(-500,None,250)
helper.set_speed(100,400,300,200)
await drive_base.straight(200)
await helper.multilift_up(1950)
await helper.multilift_down(500)
helper.set_speed(1000,500,300,200)
await drive_base.arc(-1000,None,-900)
await drive_base.stop
if __name__ == "__main__": # This run this mission stand-alone when not called from bioglow_main.py
run_task(solve_missions())