mirror of
https://github.com/Team4388/2024AcrossTheRidgebotiverse.git
synced 2026-06-09 08:48:03 -06:00
more stuff (im tweakin)
This commit is contained in:
@@ -21,17 +21,26 @@ public class Intake extends SubsystemBase {
|
||||
this.pivot = pivot;
|
||||
}
|
||||
|
||||
//hanoff
|
||||
public void spinIntakeMotor() {
|
||||
intakeMotor.set(IntakeConstants.INTAKE_SPEED);
|
||||
}
|
||||
|
||||
public void rotateArmIn() { //handoff
|
||||
//Rotate robot in for handoff
|
||||
public void rotateArmIn() {
|
||||
//TODO
|
||||
pivot.set(IntakeConstants.PIVOT_SPEED);
|
||||
}
|
||||
|
||||
public void rotateArmOut() { //intake
|
||||
//Rotates robot out for intake
|
||||
public void rotateArmOut() {
|
||||
//TODO
|
||||
spinIntakeMotor();
|
||||
pivot.set(-IntakeConstants.INTAKE_SPEED);
|
||||
|
||||
}
|
||||
|
||||
public void stopIntakeMotors() {
|
||||
intakeMotor.set(0);
|
||||
}
|
||||
|
||||
public void rotateArm() {
|
||||
|
||||
Reference in New Issue
Block a user