This commit is contained in:
Abhishrek05
2023-05-18 16:57:54 -07:00
parent 2adcbdb5c6
commit 38b004a9ee
@@ -32,6 +32,8 @@ public class Shooter extends SubsystemBase {
* @return True if the shooter was ready or false if the shooter was not ready
*/
public boolean fire() {
if(!isReady())
return false;
m_solenoid.set(true);
return true;
}