Upload files to "hazmat_scrimmage"
This commit is contained in:
29
hazmat_scrimmage/bioglow_mission_13.py
Normal file
29
hazmat_scrimmage/bioglow_mission_13.py
Normal file
@@ -0,0 +1,29 @@
|
||||
#####################################
|
||||
# Solution for BioGlow Mission 13
|
||||
#####################################
|
||||
|
||||
import bioglow_helpers as helper
|
||||
from bioglow_robot_settings import * # drive_base, left_arm, right_arm, ... all come from settings
|
||||
|
||||
async def solve_missions(): # Interchangeable Mission - Parthiv
|
||||
|
||||
await left_arm.run_angle(200,-80)
|
||||
await drive_base.arc(-350,angle=90)
|
||||
await drive_base.turn(50)
|
||||
await drive_base.straight(238)
|
||||
await drive_base.turn(-33)
|
||||
await drive_base.straight(85)
|
||||
await drive_base.straight(-33)
|
||||
await multitask(
|
||||
left_arm.run_angle(200,80),
|
||||
right_arm.run_angle(200,-100)
|
||||
)
|
||||
await drive_base.straight(-60)
|
||||
await right_arm.run_angle(200,100)
|
||||
await drive_base.turn(30)
|
||||
await drive_base.straight(-775)
|
||||
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