-
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
1ee0be2
commit d4c7b9f
Showing
2 changed files
with
21 additions
and
9 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 |
---|---|---|
@@ -1,18 +1,23 @@ | ||
package frc.robot.subsystems.shooter; | ||
|
||
import frc.robot.subsystems.shooter.ShooterIO.ShooterIOInputs; | ||
import org.littletonrobotics.junction.AutoLog; | ||
|
||
public interface ShooterIO { | ||
@AutoLog | ||
public static class ShooterIOInputs { | ||
public double leftMotorVelocity = 0.0; | ||
public double rightMotorVelocity = 0.0; | ||
public double leftAppliedVolts = 0.0; | ||
public double rightAppliedVolts = 0.0; | ||
public double leftOutputCurrent = 0.0; | ||
public double rightOutputCurrent = 0.0; | ||
} | ||
|
||
public default void spinForwards() {} | ||
|
||
public default void spinBackwards() {} | ||
|
||
public default void stopMotor() {} | ||
|
||
public default void updateInputs(ShooterIOInputs inputs) {} | ||
} |
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