generated from Frc5572/Java-Template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
40a6a5a
commit 0065eec
Showing
1 changed file
with
5 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,6 +40,11 @@ public void setBottomMotor(double power) { | |
io.setBottomMotor(power); | ||
} | ||
|
||
/** | ||
* Command for the shooter motors to run | ||
* | ||
* @return {@link Command} running the motor of the shooter | ||
Check warning on line 46 in src/main/java/frc/robot/subsystems/shooter/Shooter.java GitHub Actions / Linting
|
||
*/ | ||
public Command runShooterMotor() { | ||
return Commands.startEnd(() -> { | ||
setTopMotor(0.5); | ||
|