Skip to content

Commit

Permalink
nothing
Browse files Browse the repository at this point in the history
  • Loading branch information
Craptop committed Dec 6, 2023
1 parent 2db6a5c commit 9258a89
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/main/java/frc/robot/subsystems/IntakeSubsystem.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
package frc.robot.subsystems;

import frc.robot.Constants;

import org.apache.commons.math3.analysis.function.Constant;

import com.ctre.phoenix.motorcontrol.ControlMode;
import com.ctre.phoenix.motorcontrol.can.TalonFX;

Expand All @@ -19,6 +16,8 @@ public class IntakeSubsystem extends SubsystemBase {
public double OutakeMotorPower;
public boolean Intake = false;

public boolean isRunning = false;


/** Creates a new IntakeSubsystem. */
public IntakeSubsystem() {
Expand All @@ -27,11 +26,14 @@ public IntakeSubsystem() {
}

public void setIntakePower(double IntakeMotorSpeed){
isRunning = true;
Intake = true;
this.IntakeMotorSpeed = IntakeMotorSpeed;
isRunning = false;
}

public void setOutakePower(double OutakeMotorPower){
isRunning = true;
Intake = false;
this.OutakeMotorPower = OutakeMotorPower;

Expand Down

0 comments on commit 9258a89

Please sign in to comment.