Add shout-fll-scrimmage/bioglow_missions_14_15.py
This commit is contained in:
25
shout-fll-scrimmage/bioglow_missions_14_15.py
Normal file
25
shout-fll-scrimmage/bioglow_missions_14_15.py
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
#####################################
|
||||||
|
# Solution for BioGlow Mission 14,15
|
||||||
|
#####################################
|
||||||
|
|
||||||
|
import bioglow_helpers as helper
|
||||||
|
from bioglow_robot_settings import * # drive_base, left_arm, right_arm, ... all come from settings
|
||||||
|
|
||||||
|
async def solve_missions(): # Seed of Renewal and Keystone Species - Parthiv
|
||||||
|
|
||||||
|
await drive_base.straight(600)
|
||||||
|
await drive_base.arc(400,angle=35)
|
||||||
|
await drive_base.straight(-40)
|
||||||
|
await right_arm.run_angle(150,-70)
|
||||||
|
await drive_base.arc(400,angle=-35)
|
||||||
|
await drive_base.straight(-540)
|
||||||
|
await drive_base.turn(-90)
|
||||||
|
await drive_base.straight(200)
|
||||||
|
await left_arm.run_angle(100,100)
|
||||||
|
await drive_base.straight(-350)
|
||||||
|
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