2025-10-09 21:13:36 +00:00
# 65266 Lego Dynamics - UNEARTHED Season
2025-08-31 15:53:36 +00:00
2025-10-09 12:17:59 -05:00
< div align = "center" >
2025-09-10 13:34:51 +00:00
2025-10-09 12:17:59 -05:00
**⚡ Competitive Robotics Code for FLL SUBMERGED℠ Season ⚡**
2025-09-10 13:34:51 +00:00
2025-10-09 12:17:59 -05:00



2025-09-10 13:34:51 +00:00
2025-10-09 12:17:59 -05:00
< / div >
2025-09-10 13:34:51 +00:00
2025-10-09 12:17:59 -05:00
---
2025-09-10 13:34:51 +00:00
2025-10-09 21:13:36 +00:00
## Project Overview
2025-09-10 13:34:51 +00:00
2025-10-09 12:17:59 -05:00
Welcome to the official code repository for **Team 65266 Lego Dynamics** ! This repository contains all the Pybricks code powering our robot through the UNEARTHED season missions. Our modular approach allows for flexible mission execution and quick color-sensor-based run selection.
2025-09-10 13:34:51 +00:00
2025-10-09 12:17:59 -05:00
---
2025-09-10 13:34:51 +00:00
2025-10-09 21:13:36 +00:00
## Robot Hardware
2025-10-09 12:23:15 +00:00
2025-10-09 21:13:36 +00:00
### Meet Optimus Prime III
2025-10-09 12:23:15 +00:00
2025-10-09 12:17:59 -05:00
| Component | Specification |
|-----------|--------------|
2025-10-09 21:13:36 +00:00
| **Robot Name** | Optimus Prime III |
| **Firmware** | Pybricks |
| **Attachment Motors** | 2× Large Motors (Ports C & D) |
| **Drive Motors** | 2× Small Motors (Ports A & B) |
| **Sensors** | Up-facing Color Sensor (Quick Start) |
| **Attachments** | Multiple mission-specific tools |
### Motor Configuration
2025-10-09 12:17:59 -05:00
- **Port A**: Left Drive Motor (Small)
- **Port B**: Right Drive Motor (Small)
- **Port C**: Left Attachment Motor (Large)
- **Port D**: Right Attachment Motor (Large)
---
2025-10-09 21:13:36 +00:00
## Code Structure
2025-10-09 12:17:59 -05:00
Our codebase is organized for maximum efficiency and modularity:
```
2025-10-09 21:13:36 +00:00
Repository
┣ run_1.py # Individual mission runs
┣ run_2.py # Each file = 1+ mission completions
┣ run_3.py
┣ ...
┗ master.py # 🎯 Combined master file with color-start logic
2025-10-09 12:17:59 -05:00
```
2025-10-09 21:13:36 +00:00
### Workflow
2025-10-09 12:17:59 -05:00
1. **Individual Run Files** → Contain specific mission sequences
2. **Script Combination** → Merges runs into master file
3. **Color Sensor Logic** → Adds intelligent run selection based on color detection
---
2025-10-09 21:13:36 +00:00
## How to Use
2025-10-09 12:17:59 -05:00
2025-10-09 21:13:36 +00:00
### Installation & Deployment
2025-10-09 12:17:59 -05:00
1. **Load the Code**
```bash
# Open the master.py file in Pybricks IDE
```
2025-10-09 21:13:36 +00:00
2. **Connect to Robot**
2025-10-09 12:17:59 -05:00
- Pair your robot via Bluetooth in Pybricks
2025-10-09 21:13:36 +00:00
3. **Upload to Robot**
2025-10-09 12:17:59 -05:00
- Click "Download and Run" or send the program to the robot
2025-10-09 21:13:36 +00:00
4. **Start Your Run**
2025-10-09 12:17:59 -05:00
- Hold a colored LEGO brick up to the color sensor
- Different colors trigger different mission runs!
2025-10-09 21:13:36 +00:00
### Color Start System
2025-10-09 12:17:59 -05:00
| 🟥 Red | 🟦 Blue | 🟩 Green | 🟨 Yellow |
|--------|---------|----------|-----------|
| Run 1 | Run 2 | Run 3 | Run 4 |
2025-10-09 21:13:36 +00:00
> **Tip**: Organize your colored bricks before the match for quick run selection!
2025-10-09 12:17:59 -05:00
---
2025-10-09 21:13:36 +00:00
## Competition Notes
2025-10-09 12:17:59 -05:00
- ⏱️ **Quick Start** : Color sensor enables rapid run switching without reprogramming
- 🎯 **Modular Design** : Easy to test and modify individual missions
- 🔧 **Flexible Attachments** : Multiple tools optimized for different challenges
---
2025-10-09 21:13:36 +00:00
## Contributing
2025-10-09 12:17:59 -05:00
Team members can contribute by:
- 🐛 Reporting bugs via Issues
- 💡 Suggesting mission optimizations
- 🧪 Testing new attachment designs
- 📝 Documenting successful strategies
---
2025-10-09 21:13:36 +00:00
## License
2025-10-09 12:17:59 -05:00
**GNU General Public License v3.0**
```
2025-10-09 21:13:36 +00:00
You can take inspiration from our code, but you can't take our exact code.
2025-10-09 12:17:59 -05:00
```
This project is licensed under GPL-3.0 - see the [LICENSE ](LICENSE ) file for complete details.
2025-10-09 21:13:36 +00:00
### What This Means:
- Learn from our approaches and strategies
- Understand our logic and algorithms
- Don't copy-paste our exact code
- Create your own unique implementations
2025-10-09 12:17:59 -05:00
---
2025-10-09 21:13:36 +00:00
## Contact & Support
2025-10-09 12:17:59 -05:00
**Team 65266 Lego Dynamics**
Questions about our approach? Interested in collaboration? Reach out!
---
< div align = "center" >
2025-10-09 21:13:36 +00:00
Star this repo if you found it helpful!
2025-10-09 12:17:59 -05:00
< / div >