Update competition_codes/state/sunprarie_state_main.py
Updates to run 10.
This commit is contained in:
@@ -325,13 +325,21 @@ async def solve_site_mark_2():
|
|||||||
|
|
||||||
async def Run10(): # experiment with ferris wheel for Site Markings
|
async def Run10(): # experiment with ferris wheel for Site Markings
|
||||||
|
|
||||||
await drive_base.straight(680)
|
await drive_base.straight(600)
|
||||||
drive_base.settings(150, 750, 50, 750)
|
drive_base.settings(150, 750, 50, 500)
|
||||||
await drive_base.turn(-45)
|
await drive_base.turn(-30)
|
||||||
await drive_base.straight(200)
|
await drive_base.straight(250)
|
||||||
|
#left_arm.run_angle(300,218)
|
||||||
|
|
||||||
set_default_speed()
|
set_default_speed()
|
||||||
await drive_base.straight(-100)
|
await drive_base.straight(-80)
|
||||||
await drive_base.turn(45)
|
await drive_base.turn(30)
|
||||||
|
await drive_base.straight(-180)
|
||||||
|
#await drive_base.straight(400)
|
||||||
|
#await left_arm.run_angle(50,120)
|
||||||
|
#await drive_base.straight(-200)
|
||||||
|
await left_arm.run_angle(300,-300)
|
||||||
|
await drive_base.straight(-600)
|
||||||
drive_base.stop()
|
drive_base.stop()
|
||||||
|
|
||||||
# Function to classify color based on HSV
|
# Function to classify color based on HSV
|
||||||
|
|||||||
Reference in New Issue
Block a user