Update discovery-phase/missions/Showcase_codes.py
This commit is contained in:
@@ -295,7 +295,23 @@ async def Run3(): # Window to the Past, Leaf Cutter, Humongous Fungus, Experimen
|
|||||||
await drive_base.arc(800,None,-900)
|
await drive_base.arc(800,None,-900)
|
||||||
|
|
||||||
|
|
||||||
async def Run4():
|
async def Run4(): #Flip the Rock, Lucky Leaves, Reaching Roots - Rishabh
|
||||||
|
|
||||||
|
#Run
|
||||||
|
await drive_base.straight(550)#Works (600(Previous))
|
||||||
|
await drive_base.straight(-200)
|
||||||
|
await drive_base.turn(45)
|
||||||
|
await drive_base.straight(575)
|
||||||
|
await drive_base.turn(-90)#-90 for Coach Cisco table
|
||||||
|
await left_arm.run_angle(200,270)
|
||||||
|
await drive_base.straight(300)
|
||||||
|
await left_arm.run_angle(200,-265)
|
||||||
|
await right_arm.run_angle(200, -200)
|
||||||
|
await drive_base.straight(-105)#Use -105 for Coach Cisco table(-105 for school)
|
||||||
|
await drive_base.turn(32)#was 24-Use 24 for Coach Cisco's table(32 for school)
|
||||||
|
await right_arm.run_angle(1500, 180)
|
||||||
|
await drive_base.turn(30)
|
||||||
|
await drive_base.straight(-1000)
|
||||||
|
|
||||||
|
|
||||||
async def Run5():
|
async def Run5():
|
||||||
|
|||||||
Reference in New Issue
Block a user