Skip to content

Commit

Permalink
change speed require
Browse files Browse the repository at this point in the history
  • Loading branch information
Wu-Fan-529 committed Nov 10, 2024
1 parent 25ae6c9 commit 4179113
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/frc/robot/commands/Shoot.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public Shoot(Stager passedStager, Shooter passedShooter) {
@Override
public void initialize() {
// The speed need to change to a real number.
if ((globalShooter.getPropelMotorVelocity() > 1) && (globalShooter.getSpiralMotorVelocity() > 1)) {
if ((globalShooter.getPropelMotorVelocity() >= 0.6) && (globalShooter.getSpiralMotorVelocity() >= 0.8)) {
globalStager.setStagerMotorVelocity(0.3);
} else {
globalStager.setStagerMotorVelocity(0);
Expand Down

0 comments on commit 4179113

Please sign in to comment.