Add shout-fll-scrimmage/bioglow_mission_8.py
This commit is contained in:
22
shout-fll-scrimmage/bioglow_mission_8.py
Normal file
22
shout-fll-scrimmage/bioglow_mission_8.py
Normal file
@@ -0,0 +1,22 @@
|
||||
#####################################
|
||||
# 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())
|
||||
Reference in New Issue
Block a user