Skip to content

Commit

Permalink
Created Intake interface
Browse files Browse the repository at this point in the history
  • Loading branch information
CarterBiscuit committed Jan 13, 2024
1 parent 6953095 commit 75d871a
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/main/java/frc/robot/subsystems/Intake.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package frc.robot.subsystems;

public interface Intake {
//Sets the Intake to a mode(in/out)
public default void setMode(String direction) {}

//Gets the Intake mode (in/out)
public default String getMode() {return null;}

//Sets enable(true/false) to be used for the motors. on=true and off=false
public default void setEnabled(boolean isEnabled) {}

//Gets enable or disable Intake value.
public default boolean getEnabled() {return false;}

}

0 comments on commit 75d871a

Please sign in to comment.