-
Notifications
You must be signed in to change notification settings - Fork 1
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
a24bea6
commit d184efb
Showing
3 changed files
with
26 additions
and
14 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
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 |
---|---|---|
@@ -1,12 +1,20 @@ | ||
package frc.robot.subsystems.shooter; | ||
|
||
public interface Shooter { | ||
// Disable the shooter | ||
/** | ||
* Disable the speed of a motors for the shooter. | ||
*/ | ||
public default void disable() {} | ||
|
||
// Enable the shooter with the . | ||
/** | ||
* Enable the speed of a motors for the shooter. | ||
*/ | ||
public default void enable() {} | ||
|
||
// Set the speed of the motors. | ||
/** | ||
* Set the speed of motors for the shooter. | ||
* | ||
* @param speed The speed to set. Value should be between -1.0 and 1.0. | ||
*/ | ||
public default void setSpeed(double speed) {} | ||
} |
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