Machine-Mavericks / Machine-Mavericks/FRC-2026

Tune Shooter Flywheel RPM Table

Open
#20 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

## 2. Shooter Flywheel Tuning

The shooter speed maps calculated distance to the goal directly to a desired flywheel RPM.

**Parameters to Tune (`frc/robot/utils/ShooterCalculations.java`):**
* `DISTANCE_RPM_TABLE`: This is currently populated with placeholder data.
* **How to tune:**
1. Place the robot exactly 1.0 meters from the HUB.
2. Manually adjust the RPM until the shots consistently score in the center.
3. Record that RPM in the table next to `1.0`.
4. Move back 0.5 meters and repeat until you hit your maximum shooting range.
* *Tip:* The code automatically uses linear interpolation to seamlessly guess the perfect RPM for distances between your recorded points (e.g., 1.25 meters).

Contributor guide

No contributing guide indexed for this repository

Research direction

Open frc/robot/utils/ShooterCalculations.java and inspect DISTANCE_RPM_TABLE and its linear interpolation. Use the robot at 1.0 meters from the HUB, tune RPM until shots consistently score in the center, then repeat every 0.5 meters through the maximum shooting range. Done means the table contains measured RPM values for the tested distances and shots consistently score in the center.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
robotics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.