Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/main/java/frc/robot/subsystems/shooter/Shooter.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package frc.robot.subsystems.shooter;

public class Shooter {

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package frc.robot.subsystems.shooter;

public class ShooterConstants {

}
41 changes: 41 additions & 0 deletions src/main/java/frc/robot/subsystems/shooter/ShooterIO.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
package frc.robot.subsystems.shooter;

import edu.wpi.first.units.Velocity;

public interface ShooterIO {

public static class ShooterInputs{
public double velocityMetersPerSec = 0.0; // Velocity of the elevator in meters per second
public double appliedVolts = 0.0; // Voltage applied to the elevator
public double[] currentAmps = new double[] {}; // Current flowing through each of the elevator motors
public double[] tempCelsius = new double[] {}; // Temperature of each of the motors
private enum State{

SHOOTING,
NEUTRAL,
INTAKE
}
}

public void updateInputs(){}

public void setVelocity(velocity){}

public void setAppliedVolts(volts){}

public void setCurrentAmps(){}

public void setTempCelsius(){}

public void setState(){}

public double getVelocity(){}

public double getAppliedVolts(){}

public double getCurrentAmps(){}

public double getTempCelsius(){}
}


5 changes: 5 additions & 0 deletions src/main/java/frc/robot/subsystems/shooter/ShooterIOSim.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package frc.robot.subsystems.shooter;

public class ShooterIOSim {

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package frc.robot.subsystems.shooter;

public class ShooterIOSparkMax {

}