Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b6d318f

Browse files
committedMar 16, 2023
Delete unused subsystems
1 parent a8741f8 commit b6d318f

File tree

7 files changed

+0
-320
lines changed

7 files changed

+0
-320
lines changed
 

‎src/main/java/frc/robot/Constants.java

-19
Original file line numberDiff line numberDiff line change
@@ -160,13 +160,6 @@ public static final class LEDConstants {
160160
public static final int LED_LENGTH = 144;
161161
}
162162

163-
public static final class GripperConstants {
164-
public static final int PFFT_FORWARD_IDL = 0;
165-
public static final int PFFT_REVERSE_IDL = 1;
166-
public static final int PFFT_FORWARD_IDR = 2;
167-
public static final int PFFT_REVERSE_IDR = 3;
168-
}
169-
170163
public static final class RollerConstants {
171164
public static final int OPEN_ID = 12;
172165
public static final int LEFT_ID = 13;
@@ -175,16 +168,4 @@ public static final class RollerConstants {
175168

176169
public static final double ALLOW_OPEN_EXTENSION_METERS = Units.inchesToMeters(17);
177170
}
178-
179-
public static final class MoverConstants {
180-
public static final int ROTATION_MOTOR_PORT = 4;
181-
public static final int ROTATION_FOLLOWER_MOTOR_PORT = 5;
182-
public static final int EXTENSION_MOTOR_PORT = 19;
183-
184-
public static final double ROTATION_GEAR_RATIO = 1/155.91;
185-
public static final double EXTENSION_GEAR_RATIO = 1/27;
186-
187-
public static final double ANGLE_OFFSET_SPEED = 0.001;
188-
public static final double EXTENSION_OFFSET_SPEED = 0.001;
189-
}
190171
}

‎src/main/java/frc/robot/commands/grabber/GripperIntakeCommand.java

-19
This file was deleted.

‎src/main/java/frc/robot/commands/grabber/GripperPlaceCommand.java

-19
This file was deleted.

‎src/main/java/frc/robot/commands/mover/PivotElevatorCommand.java

-16
This file was deleted.

‎src/main/java/frc/robot/subsystems/GripperSubsytem.java

-43
This file was deleted.

‎src/main/java/frc/robot/subsystems/PivotElevatorSubsystem.java

-201
This file was deleted.

‎src/main/java/frc/robot/subsystems/drivetrain/TankSubsystem.java

-3
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ public TankSubsystem(TankIO tankIO) {
2020
public void setDrivePowers(double forwardPower, double turnPower) {
2121
// POSSIBLE/CONCEPT -- double theta = Math.atan(yPower/xPower); // if the robot needs to move some amount laterally, it can rotate to this angle and move in that direction
2222

23-
// System.out.println("Calculating DT power");
2423
leftDrive = forwardPower - turnPower;
2524
rightDrive = forwardPower + turnPower;
2625
}
@@ -36,8 +35,6 @@ public void setDrivePowers(double fowardPower) {
3635

3736
@Override
3837
public void periodic() {
39-
// This method will be called once per scheduler run
40-
4138
if (Math.abs(leftDrive) >= 1.0) {
4239
leftDrive = leftDrive / Math.abs(leftDrive);
4340
rightDrive = rightDrive / Math.abs(leftDrive);

0 commit comments

Comments
 (0)
Please sign in to comment.