-
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.
Added more intake stuff and made it finally build!
- Loading branch information
Showing
13 changed files
with
86 additions
and
172 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
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
27 changes: 27 additions & 0 deletions
27
src/main/java/frc/robot/subsystems/intake/IntakeConstants.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,27 @@ | ||
package frc.robot.subsystems.intake; | ||
|
||
// This cool file contains constants for our intake | ||
public final class IntakeConstants { | ||
public static final int INTAKE_MOTOR_ID = 0; | ||
public static final int LEFT_INTAKE_PIVOT_MOTOR_ID = 62; | ||
public static final int RIGHT_INTAKE_PIVOT_MOTOR_ID = 0 - 9; | ||
|
||
public static final int NOTE_SENSOR_ID = 0 - 9; | ||
|
||
public static final double INTAKE_PIVOT_GEAR_RATIO = 8.0; | ||
|
||
public static final double INTAKE_PIVOT_OUT = 0 - 9; | ||
public static final double INTAKE_PIVOT_IN = 0 - 9; | ||
|
||
public static final double INTAKE_PIVOT_NEUTRAL_SPEED = 0.0; | ||
|
||
public static final double OUTTAKE_SPEED = 0 - 9; | ||
public static final double INTAKE_SPEED = 0.8; | ||
public static final double INTAKE_NEUTRAL_SPEED = 0.0; | ||
public static final double FLAPPER_SPEED = 1.0; | ||
|
||
public static final double INTAKE_STATOR_LIMIT = 60; | ||
public static final double INTAKE_SUPPLY_LIMIT = 40; | ||
public static final boolean INTAKE_STATOR_ENABLE = true; | ||
public static final boolean INTAKE_SUPPLY_ENABLE = true; | ||
} |
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
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
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
File renamed without changes.
Oops, something went wrong.