Compare commits
4 Commits
sectionals
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 36fb4d94a3 | |||
| 3014305d69 | |||
| 68d8b346c7 | |||
| f38a3cc625 |
@@ -65,7 +65,7 @@ Repository
|
|||||||
|
|
||||||
1. Download the file competition_codes/sectionals/sectional_main_dec_6.py
|
1. Download the file competition_codes/sectionals/sectional_main_dec_6.py
|
||||||
- You can do this through the repo, by using cURL, or by using git.
|
- You can do this through the repo, by using cURL, or by using git.
|
||||||
- Repo - Go to the latest release and click the "Download as ZIP" button to get the full repository.
|
- Repo - Go to the [latest release](https://codes.fll-65266.org/FLL_65266_LEGO_DYNAMICS/solutions_season_unearthed/releases) and click the "Download as ZIP" button to get the full repository.
|
||||||
- Single file - Go to the latest release and click the file link to get the raw master file.
|
- Single file - Go to the latest release and click the file link to get the raw master file.
|
||||||
- git CLI -
|
- git CLI -
|
||||||
```git clone https://codes.fll-65266.org/FLL_65266_LEGO_DYNAMICS/solutions_season_unearthed.git```
|
```git clone https://codes.fll-65266.org/FLL_65266_LEGO_DYNAMICS/solutions_season_unearthed.git```
|
||||||
|
|||||||
@@ -220,7 +220,11 @@ async def Run4():
|
|||||||
await right_arm.run_angle(400, -200)
|
await right_arm.run_angle(400, -200)
|
||||||
await drive_base.straight(90)
|
await drive_base.straight(90)
|
||||||
await right_arm.run_angle(100, 95)
|
await right_arm.run_angle(100, 95)
|
||||||
await drive_base.straight(-875)
|
#await drive_base.straight(-875)
|
||||||
|
#return with arc
|
||||||
|
await drive_base.straight(-600)
|
||||||
|
await drive_base.arc(10,-47, None)
|
||||||
|
await drive_base.straight(-400,Stop.COAST_SMART)
|
||||||
|
|
||||||
async def solve_brush_reveal():
|
async def solve_brush_reveal():
|
||||||
await drive_base.straight(700)
|
await drive_base.straight(700)
|
||||||
@@ -291,8 +295,15 @@ Run#6
|
|||||||
- Purple Key
|
- Purple Key
|
||||||
"""
|
"""
|
||||||
async def Run6_7(): # experiment with ferris wheel for Site Markings
|
async def Run6_7(): # experiment with ferris wheel for Site Markings
|
||||||
solve_site_mark_1()
|
#solve_site_mark_1()
|
||||||
solve_site_mark_2()
|
#solve_site_mark_2()
|
||||||
|
await drive_base.straight(640)
|
||||||
|
await drive_base.straight(-150)
|
||||||
|
await drive_base.turn(-8)
|
||||||
|
await left_arm.run_angle(500, -520)
|
||||||
|
await drive_base.straight(300)
|
||||||
|
await wait(50)
|
||||||
|
await left_arm.run_angle(500, 700)
|
||||||
#return to base
|
#return to base
|
||||||
await drive_base.straight(-300)
|
await drive_base.straight(-300)
|
||||||
drive_base.stop()
|
drive_base.stop()
|
||||||
@@ -360,7 +371,7 @@ async def main():
|
|||||||
print('Running Mission 5')
|
print('Running Mission 5')
|
||||||
await Run5()
|
await Run5()
|
||||||
elif color == "Purple":
|
elif color == "Purple":
|
||||||
print('Running Mission 6')
|
print('Running Mission 6_7')
|
||||||
await Run6_7()
|
await Run6_7()
|
||||||
elif color == "Light_Blue":
|
elif color == "Light_Blue":
|
||||||
print("Running Mission 2_1")
|
print("Running Mission 2_1")
|
||||||
|
|||||||
Reference in New Issue
Block a user