Auto-publish: training content update 2026-05-15 11:26:33
This commit is contained in:
@@ -89,12 +89,10 @@ Mothman/
|
||||
|
||||
### 🎮 Subsystems
|
||||
|
||||
| File | What it Controls |
|
||||
|------|------------------|
|
||||
| `ClimberSubsystem.java` | Robot climber mechanism |
|
||||
| `IntakeSubsystem.java` | Game piece intake |
|
||||
| `ShooterSubsystem.java` | Scoring shooter |
|
||||
| `TargetingSubsystems.java` | Aim assist |
|
||||
- `ClimberSubsystem.java` — Robot climber mechanism
|
||||
- `IntakeSubsystem.java` — Game piece intake
|
||||
- `ShooterSubsystem.java` — Scoring shooter
|
||||
- `TargetingSubsystems.java` — Aim assist
|
||||
|
||||
**Training value:**
|
||||
- Subsystem architecture (commands bound to triggers)
|
||||
@@ -104,17 +102,15 @@ Mothman/
|
||||
|
||||
### ⚙️ Vendor Dependencies (vendordeps/)
|
||||
|
||||
| Library | Purpose |
|
||||
|---------|---------|
|
||||
| `Phoenix5-replay-5.36.0.json` | TalonFX (legacy) |
|
||||
| `Phoenix6-replay-26.1.0.json` | TalonFX (new) |
|
||||
| `REVLib.json` | NEO, SparkFlex motors |
|
||||
| `PathplannerLib-2026.1.2.json` | Auto/path planning |
|
||||
| `photonlib.json` | PhotonVision |
|
||||
| `yagsl-2026.1.14.json` | Swerve library |
|
||||
| `ReduxLib-2026.1.1.json` | Sensors |
|
||||
| `Studica-2026.0.0.json` | Contour following |
|
||||
| `ThriftyLib-2026.json` | Thrifty cameras |
|
||||
- `Phoenix5-replay-5.36.0.json` — TalonFX (legacy)
|
||||
- `Phoenix6-replay-26.1.0.json` — TalonFX (new)
|
||||
- `REVLib.json` — NEO, SparkFlex motors
|
||||
- `PathplannerLib-2026.1.2.json` — Auto/path planning
|
||||
- `photonlib.json` — PhotonVision
|
||||
- `yagsl-2026.1.14.json` — Swerve library
|
||||
- `ReduxLib-2026.1.1.json` — Sensors
|
||||
- `Studica-2026.0.0.json` — Contour following
|
||||
- `ThriftyLib-2026.json` — Thrifty cameras
|
||||
|
||||
---
|
||||
|
||||
@@ -122,13 +118,11 @@ Mothman/
|
||||
|
||||
**For C++ teams learning from Java code:**
|
||||
|
||||
| Pattern | Java (Mothman) | C++ (WPILib) |
|
||||
|---------|----------------|--------------|
|
||||
| Subsystem class | `extends SubsystemBase` | Inherit `frc::SubsystemBase` |
|
||||
| Command binding | `+=` operator | `AddCommands()` |
|
||||
| Motor controller | `.set()` | `Set()` |
|
||||
| Joystick input | `driver.getRawButton()` | `GetRawButton()` |
|
||||
| Auto commands | `pathplanner` | `pathplanner` (same lib) |
|
||||
- **Subsystem class** — Java: `extends SubsystemBase` → C++: Inherit `frc::SubsystemBase`
|
||||
- **Command binding** — Java: `+=` operator → C++: `AddCommands()`
|
||||
- **Motor controller** — Java: `.set()` → C++: `Set()`
|
||||
- **Joystick input** — Java: `driver.getRawButton()` → C++: `GetRawButton()`
|
||||
- **Auto commands** — `pathplanner` (same library in both languages)
|
||||
|
||||
---
|
||||
|
||||
@@ -148,11 +142,9 @@ Mothman/
|
||||
|
||||
## External Mirrors
|
||||
|
||||
| Repo | URL | Purpose |
|
||||
|------|-----|---------|
|
||||
| PhotonVision | Team2890/PhotonVision | Vision processing (mirrored from github) |
|
||||
| YAGSL | Team2890/YAGSL | Swerve library (mirrored) |
|
||||
| allwpilib | Team2890/allwpilib | WPILib source (mirrored) |
|
||||
- **PhotonVision** → Team2890/PhotonVision — Vision processing (mirrored from github)
|
||||
- **YAGSL** → Team2890/YAGSL — Swerve library (mirrored)
|
||||
- **allwpilib** → Team2890/allwpilib — WPILib source (mirrored)
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user