Skip to content

Commit 632c666

Browse files
committed
1/1 - Fixed End Effector Simulation
1 parent 9c147da commit 632c666

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/frc/robot/RobotContainer.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ public RobotContainer() {
107107
swerveSubsystem::getPose));
108108

109109
endEffectorSubsystem = new EndEffectorSubsystem(new EndEffectorIOSim());
110-
111110
break;
112111

113112
default:

src/main/java/frc/robot/subsystems/endeffector/EndEffectorSubsystem.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import edu.wpi.first.wpilibj2.command.Command;
66
import edu.wpi.first.wpilibj2.command.Commands;
77
import edu.wpi.first.wpilibj2.command.SubsystemBase;
8+
import org.littletonrobotics.junction.Logger;
89

910
public class EndEffectorSubsystem extends SubsystemBase {
1011
private final EndEffectorIO io;
@@ -17,9 +18,9 @@ public EndEffectorSubsystem(EndEffectorIO io) {
1718
new Alert("Disconnected End Effector motor" + ".", AlertType.kError);
1819
}
1920

20-
@Override
2121
public void periodic() {
2222
io.updateInputs(inputs);
23+
Logger.processInputs("EndEffector", inputs);
2324
EndEffectorDisconnectedAlert.set(!inputs.EndEffectorConnected);
2425
}
2526

0 commit comments

Comments
 (0)