From 3cf712355cce0a44cf69868c7dcfccebddfae8c2 Mon Sep 17 00:00:00 2001 From: Ishan <98932677+Ishan1522@users.noreply.github.com> Date: Mon, 28 Oct 2024 11:25:33 -0400 Subject: [PATCH] more stuff --- .../frc/robot/subsystems/swerve/moduleIO/ModuleInterface.java | 2 +- .../frc/robot/subsystems/swerve/moduleIO/PhysicalModule.java | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main/java/frc/robot/subsystems/swerve/moduleIO/ModuleInterface.java b/src/main/java/frc/robot/subsystems/swerve/moduleIO/ModuleInterface.java index 4897e14..3cfe646 100644 --- a/src/main/java/frc/robot/subsystems/swerve/moduleIO/ModuleInterface.java +++ b/src/main/java/frc/robot/subsystems/swerve/moduleIO/ModuleInterface.java @@ -9,7 +9,7 @@ public interface ModuleInterface { class ModuleInputs { public boolean isConnected = false; - // public Rotation2d turnRotation = new Rotation2d(); + public double steerVelocityRadPerSec = 0.0; public double steerMotorAppliedVolts = 0.0; public double steerMotorCurrentAmps = 0.0; diff --git a/src/main/java/frc/robot/subsystems/swerve/moduleIO/PhysicalModule.java b/src/main/java/frc/robot/subsystems/swerve/moduleIO/PhysicalModule.java index 0f0ccb0..f097652 100644 --- a/src/main/java/frc/robot/subsystems/swerve/moduleIO/PhysicalModule.java +++ b/src/main/java/frc/robot/subsystems/swerve/moduleIO/PhysicalModule.java @@ -224,9 +224,6 @@ public void setDesiredState(SwerveModuleState desiredState) { driveMotor.setControl(velocityRequest.withVelocity(desiredDriveRPS)); turnMotor.setControl(mmPositionRequest.withPosition(setpoint.angle.getRotations())); - - SmartDashboard.putNumber("desired State", desiredDriveRPS); - SmartDashboard.putNumber("desired turn pos", setpoint.angle.getRotations()); } @Override