Compare commits

...

21 Commits

Author SHA1 Message Date
36fb4d94a3 Merge pull request 'Update competition_codes/sectionals/mukwonago_sectionals_final.py' (#55) from dev into main
Reviewed-on: #55
2025-12-09 18:26:13 +00:00
3014305d69 Update competition_codes/sectionals/mukwonago_sectionals_final.py
Fixed return
2025-12-09 17:34:12 +00:00
68d8b346c7 Merge pull request 'Update README.md' (#54) from dev into main
Reviewed-on: #54
2025-12-08 19:18:47 +00:00
f38a3cc625 Update README.md 2025-12-08 19:18:33 +00:00
cfe7b96be5 Merge pull request 'dev' (#53) from dev into main
Reviewed-on: #53
2025-12-08 19:16:23 +00:00
5a805e75fc Update README.md 2025-12-08 19:16:10 +00:00
4d94a35503 Update competition_codes/sectionals/mukwonago_sectionals_final.py 2025-12-08 19:15:10 +00:00
09490f4e3e Merge pull request 'dev' (#52) from dev into main
Reviewed-on: #52
2025-12-08 19:13:47 +00:00
4539ee361f Update README.md 2025-12-08 19:13:17 +00:00
288c4eac26 Update README.md 2025-12-08 17:29:02 +00:00
c2e8ad028a Merge pull request 'dev' (#51) from dev into main
Reviewed-on: #51
2025-12-08 16:55:06 +00:00
4f21cdc99c Update competition_codes/sectionals/sectional_main_dec_6.py
Updated values
2025-12-08 00:05:09 +00:00
a0bec55e97 Update competition_codes/sectionals/sectional_main_dec_6.py 2025-12-07 21:10:25 +00:00
f838d6b566 Update competition_codes/sectionals/sectional_main_dec_6.py 2025-12-06 20:36:10 +00:00
27e1e2f751 Update competition_codes/sectionals/sectional_main_dec_6.py 2025-12-06 20:35:00 +00:00
f1f800783f Update competition_codes/sectionals/sectional_main_dec_6.py
Updates for gear ratio change
2025-12-06 20:16:37 +00:00
d0225f0417 Merge pull request 'Update competition_codes/sectionals/sectional_main_dec_6.py' (#50) from Rishi_dev into dev
Reviewed-on: #50
2025-12-06 20:09:25 +00:00
61d1cf709c Merge pull request 'Rishi_dev' (#49) from Rishi_dev into dev
Reviewed-on: #49
2025-12-06 17:48:09 +00:00
7d168ff378 Merge pull request 'RegionalFinal.py' (#45) from dev into main
Reviewed-on: #45
2025-11-18 00:50:19 +00:00
913e12f122 Merge pull request 'dev' (#44) from dev into main
Reviewed-on: #44
2025-11-12 01:22:35 +00:00
d1eb92cf25 Merge pull request 'dev' (#35) from dev into main
Reviewed-on: #35
2025-10-31 11:58:01 +00:00
2 changed files with 42 additions and 26 deletions

View File

@@ -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 -b dev https://codes.fll-65266.org/FLL_65266_LEGO_DYNAMICS/solutions_season_unearthed.git && cd solutions_season_unearthed/codes_for_scrimmage/regional-final```
```git clone https://codes.fll-65266.org/FLL_65266_LEGO_DYNAMICS/solutions_season_unearthed.git```
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.

View File

@@ -123,10 +123,10 @@ async def solve_forge():
await drive_base.straight(-47)
async def solve_heavy_lifting():
await right_arm.run_angle(500,-90) # arm down
await right_arm.run_angle(500,-160) # arm down
await wait(100)
await drive_base.turn(20) # turn right a little bit
await right_arm.run_angle(500,140) #arm up
await right_arm.run_angle(500,160) #arm up
await drive_base.turn(-20) #reset position
async def solve_who_lived_here():
@@ -176,9 +176,8 @@ async def Run3():
monitor_distance()
)
async def solve_angler_artifacts():
await drive_base.straight(920)
await drive_base.straight(940)
await drive_base.turn(-90,Stop.HOLD)
await drive_base.straight(65)
#Solve
@@ -187,20 +186,25 @@ async def solve_angler_artifacts():
await drive_base.straight(-110)
await drive_base.turn(90)
await drive_base.arc(-150,-100, None)
await drive_base.arc(-150,-103, None)
async def solve_tip_the_scale():
await drive_base.straight(135)
await drive_base.turn(3)
await drive_base.straight(142.5)
await right_arm.run_angle(800,-150)
await right_arm.run_angle(900,150)
await drive_base.straight(-100)
await drive_base.turn(-65)
await drive_base.straight(320,Stop.COAST_SMART)
await drive_base.straight(300,Stop.COAST_SMART)
await drive_base.arc(10,-47, None)
#await drive_base.turn(-23, Stop.COAST_SMART)
"""
Run #4
- Solves the Mineshaft explorer + 2/3 Surface Brush + 1/3 Map Reveal
@@ -216,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)
@@ -244,16 +252,20 @@ async def Run5():
await drive_base.straight(300)
await drive_base.straight(-200)
await drive_base.turn(-15)
#solving statue
await drive_base.straight(350)
await drive_base.turn(-103)
await drive_base.turn(-104)
await drive_base.straight(-80)
await left_arm.run_angle(500, -900)
await drive_base.straight(105)
await left_arm.run_angle(700, 285)
await drive_base.turn(30)
await drive_base.straight(-60)
await drive_base.turn(80)
await drive_base.straight(-900)
await drive_base.straight(120)
await drive_base.turn(5)
await left_arm.run_angle(500, 290)
await drive_base.turn(18)
await drive_base.straight(-100)
await drive_base.turn(-90)
await drive_base.straight(900)
drive_base.stop()
async def solve_salvage_operation():
await drive_base.straight(500)
@@ -283,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()
@@ -352,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")