-
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.
Umm AlgaeRollerbar codes constants Done working on IO
- Loading branch information
Showing
3 changed files
with
36 additions
and
4 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
src/main/java/frc/robot/subsystems/intake/AlgaeRollerbarConstants.java
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package frc.robot.subsystems.intake; | ||
|
||
public class AlgaeRollerbarConstants { | ||
public static final int DEVICEID = 1; | ||
public static final int STALLLIMIT = 1; | ||
} |
19 changes: 18 additions & 1 deletion
19
src/main/java/frc/robot/subsystems/intake/AlgaeRollerbarIO.java
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,5 +1,22 @@ | ||
package frc.robot.subsystems.intake; | ||
|
||
import org.littletonrobotics.junction.AutoLog; | ||
|
||
public interface AlgaeRollerbarIO { | ||
|
||
@AutoLog | ||
public class PivotIOInputs{ | ||
public double position = 0; | ||
public double voltage = 0; | ||
public double velocity = 0; | ||
|
||
} | ||
public default void setVoltage() { | ||
|
||
} | ||
//you need to make a class inside your interface | ||
//update inputs, and a setvoltage | ||
public default void updateInputs(){ | ||
|
||
|
||
} | ||
} |
15 changes: 12 additions & 3 deletions
15
src/main/java/frc/robot/subsystems/intake/AlgaeRollerbarIOReal.java
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