mirror of
https://github.com/Team4388/2024AcrossTheRidgebotiverse.git
synced 2026-06-09 00:38:02 -06:00
wheh
This commit is contained in:
@@ -14,16 +14,30 @@ import frc4388.robot.Constants.IntakeConstants;
|
||||
|
||||
public class Intake extends SubsystemBase {
|
||||
/** Creates a new Intake. */
|
||||
private CANSparkMax intakeMotor;
|
||||
public Intake(CANSparkMax intakeMotor) {
|
||||
private Spark intakeMotor;
|
||||
private Spark pivot;
|
||||
public Intake(Spark intakeMotor, Spark pivot) {
|
||||
this.intakeMotor = intakeMotor;
|
||||
|
||||
this.pivot = pivot;
|
||||
}
|
||||
|
||||
public void spinIntakeMotor() {
|
||||
intakeMotor.set(IntakeConstants.INTAKE_SPEED);
|
||||
}
|
||||
|
||||
public void rotateArmIn() { //handoff
|
||||
//TODO
|
||||
}
|
||||
|
||||
public void rotateArmOut() { //intake
|
||||
//TODO
|
||||
spinIntakeMotor();
|
||||
}
|
||||
|
||||
public void rotateArm() {
|
||||
//TODO
|
||||
}
|
||||
|
||||
@Override
|
||||
public void periodic() {
|
||||
// This method will be called once per scheduler run
|
||||
|
||||
Reference in New Issue
Block a user