File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed
src/main/java/frc/robot/subsystems/intake Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -37,8 +37,6 @@ public IntakeSubsystem() {
3737 extensionMotor .setPosition (0 );
3838 extensionTarget = Rotations .of (0 );
3939 extensionControl = new PositionTorqueCurrentFOC (0 );
40-
41- homeIntake ();
4240 }
4341
4442 @ Override
@@ -83,14 +81,6 @@ public Command stowCommand() {
8381 .withName ("Stow Intake" );
8482 }
8583
86- private void homeIntake () {
87- while (extensionMotor .getStatorCurrent ().getValueAsDouble ()
88- > IntakeConstants .SAFE_STATOR_LIMIT ) {
89- extensionMotor .set (IntakeConstants .SAFE_HOMING_EFFORT );
90- }
91- extensionMotor .setPosition (0 );
92- }
93-
9484 public Command homeIntakeCommand () {
9585 return runEnd (
9686 () -> extensionMotor .set (IntakeConstants .SAFE_HOMING_EFFORT ),
You can’t perform that action at this time.
0 commit comments