Compare commits
10 Commits
c2e8ad028a
...
sectionals
| Author | SHA1 | Date | |
|---|---|---|---|
| 36fb4d94a3 | |||
| 3014305d69 | |||
| 68d8b346c7 | |||
| f38a3cc625 | |||
| cfe7b96be5 | |||
| 5a805e75fc | |||
| 4d94a35503 | |||
| 09490f4e3e | |||
| 4539ee361f | |||
| 288c4eac26 |
13
README.md
13
README.md
@@ -63,17 +63,14 @@ Repository
|
||||
|
||||
### Installation & Deployment - from the server - everyday
|
||||
|
||||
1. Download the file codes_for_scrimmage/regional-final/Final_combined.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.
|
||||
- Repo - Go to [codes_for_scrimmage/regional-final/Final_combined.py](codes_for_scrimmage/regional-final/Final_combined.py) and click the "Download" button.
|
||||
- cURL or another HTTP data transferrer -
|
||||
|
||||
```curl -o Final_combined.py https://codes.fll-65266.org/FLL_65266_LEGO_DYNAMICS/solutions_season_unearthed/raw/branch/main/codes_for_scrimmage/regional-final/Final_combined.py```
|
||||
- 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.
|
||||
- git CLI -
|
||||
```git clone https://codes.fll-65266.org/FLL_65266_LEGO_DYNAMICS/solutions_season_unearthed.git```
|
||||
|
||||
```git clone -b dev https://codes.fll-65266.org/FLL_65266_LEGO_DYNAMICS/solutions_season_unearthed.git && cd solutions_season_unearthed/codes_for_scrimmage/regional-final```
|
||||
|
||||
Then use Final_combined.py.
|
||||
Then use the master file.
|
||||
|
||||
2. Open https://code.pybricks.com/ and select the "Import a file" button on the top of the left bar. Import the .py file. Pair your robot via Bluetooth in Pybricks by selecting the Bluetooth button.
|
||||
|
||||
|
||||
@@ -220,7 +220,11 @@ async def Run4():
|
||||
await right_arm.run_angle(400, -200)
|
||||
await drive_base.straight(90)
|
||||
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():
|
||||
await drive_base.straight(700)
|
||||
@@ -291,8 +295,15 @@ Run#6
|
||||
- Purple Key
|
||||
"""
|
||||
async def Run6_7(): # experiment with ferris wheel for Site Markings
|
||||
solve_site_mark_1()
|
||||
solve_site_mark_2()
|
||||
#solve_site_mark_1()
|
||||
#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
|
||||
await drive_base.straight(-300)
|
||||
drive_base.stop()
|
||||
@@ -360,7 +371,7 @@ async def main():
|
||||
print('Running Mission 5')
|
||||
await Run5()
|
||||
elif color == "Purple":
|
||||
print('Running Mission 6')
|
||||
print('Running Mission 6_7')
|
||||
await Run6_7()
|
||||
elif color == "Light_Blue":
|
||||
print("Running Mission 2_1")
|
||||
Reference in New Issue
Block a user