Skip to content

Preset source speaker angles #279

Preset source speaker angles

Preset source speaker angles #279

Triggered via pull request April 13, 2024 20:49
Status Success
Total duration 1m 31s
Artifacts

code_quality.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

16 warnings
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/subsystems/ShooterSubsystem.java#L77
'SuppliedValueWidget' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/subsystems/ShooterSubsystem.java#L72
'SuppliedValueWidget' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/commands/TurnToThetaCommand.java#L53
'SimpleWidget' used without 'try'-with-resources statement
AutoCloseable used without 'try'-with-resources: src/main/java/frc/robot/subsystems/ShooterSubsystem.java#L74
'SuppliedValueWidget' used without 'try'-with-resources statement
Constant values: src/main/java/frc/robot/commands/SwerveDriveCommand.java#L102
Condition `currentHeading > 180 + targetTheta` is always `false`
Constant values: src/main/java/frc/robot/commands/SwerveDriveCommand.java#L95
Condition `targetTheta < 0 && currentHeading >= 0 && currentHeading < 180 + targetTheta` is always `false`
Constant values: src/main/java/frc/robot/commands/TurnByThetaCommand.java#L100
Condition `Math.abs(xSpeed) > OIConstants.kDriveDeadband` is always `false`
Constant values: src/main/java/frc/robot/commands/SwerveDriveCommand.java#L95
Condition `targetTheta < 0` is always `false`
Constant values: src/main/java/frc/robot/commands/TurnByThetaCommand.java#L101
Condition `Math.abs(ySpeed) > OIConstants.kDriveDeadband` is always `false`
Constant values: src/main/java/frc/robot/commands/SwerveDriveCommand.java#L102
Condition `targetTheta > 0 && currentHeading <= 0 && currentHeading > 180 + targetTheta` is always `false`
Inner class may be 'static': src/main/java/frc/robot/Constants.java#L25
Inner class `BlinkinConstants` may be 'static'
Unused assignment: src/main/java/frc/robot/commands/TurnByThetaCommand.java#L88
Variable `xSpeed` initializer `xSpdFunction.get()` is redundant
Unused assignment: src/main/java/frc/robot/commands/TurnByThetaCommand.java#L89
Variable `ySpeed` initializer `ySpdFunction.get()` is redundant
Unused assignment: src/main/java/frc/robot/commands/TurnToThetaCommand.java#L24
Variable `fasterMode` initializer `()-> false` is redundant
Unused assignment: src/main/java/frc/robot/commands/TurnToThetaCommand.java#L110
Variable `turningSpeed` initializer `turningSpdFunction.get()` is redundant
Unused assignment: src/main/java/frc/robot/commands/TurnByThetaCommand.java#L90
Variable `turningSpeed` initializer `turningSpdFunction.get()` is redundant