Skip to content

Commit

Permalink
more stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Ishan1522 authored Oct 28, 2024
1 parent bc73b16 commit 3cf7123
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3cf7123

Please sign in to comment.