Skip to content

Commit ed8c0ff

Browse files
chore: auto-fix Spotless formatting
1 parent 607da1e commit ed8c0ff

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/main/kotlin/com/team4099/robot2026/commands/drivetrain/TeleopDriveCommand.kt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,12 @@ class TeleopDriveCommand(
3737
CustomLogger.recordOutput("ActiveCommands/speedYinMPS", speed.second.inMetersPerSecond)
3838
CustomLogger.recordOutput("ActiveCommands/rotationInDPS", rotation.inDegreesPerSecond)
3939

40-
if (driver.fieldRelativeControls){
40+
if (driver.fieldRelativeControls) {
4141
drivetrain.runSpeeds(
4242
ChassisSpeeds.fromFieldRelativeSpeeds(
4343
speed.first, speed.second, rotation, drivetrain.pose.rotation))
44-
} else{
45-
drivetrain.runSpeeds(
46-
speed.first, speed.second, rotation)
44+
} else {
45+
drivetrain.runSpeeds(speed.first, speed.second, rotation)
4746
}
4847

4948
CustomLogger.recordDebugOutput("ActiveCommands/TeleopDriveCommand", true)

src/main/kotlin/com/team4099/robot2026/util/driver/DriverProfile.kt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ abstract class DriverProfile(
1414
private val sensitivityDrivePowerConstant: Int,
1515
private val sensitivityRotationPowerConstant: Int,
1616
private val driveSlowModeClamp: Double = 0.75,
17-
private val turnSlowModeClamp: Double = 0.75
18-
private val fieldRelativeControls: Boolean = true
17+
private val turnSlowModeClamp: Double =
18+
0.75 private
19+
val fieldRelativeControls: Boolean = true
1920
) {
2021
private val invertDriveMultiplier = if (invertDrive) -1 else 1
2122
private val invertRotationMultiplier = if (invertRotation) -1 else 1

0 commit comments

Comments
 (0)