error check

This commit is contained in:
2026-01-19 20:42:22 -06:00
parent 8f92dc8f31
commit ccb52f625d

View File

@@ -74,7 +74,7 @@ public class Flywheel {
// Record Current Velocity
velo1 = TPS_to_RPM(robot.shooter1.getVelocity());
velo2 = TPS_to_RPM(robot.shooter1.getVelocity());
velo2 = TPS_to_RPM(robot.shooter1.getVelocity()); // Possible error: should it be shooter2 not shooter1?
velo = Math.max(velo1,velo2);
// really should be a running average of the last 5