Skip to content

Commit e08d4eb

Browse files
committed
Update at 'Fri Oct 04 12:04:55 PDT 2024'
1 parent d677eda commit e08d4eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/team1540/robot2024/commands/drivetrain/SwerveDriveCommand.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public void execute() {
3131
Rotation2d linearDirection = new Rotation2d(xPercent, yPercent);
3232
double rotPercent = JoystickUtils.smartDeadzone(-controller.getRightX(), deadzone) * (Constants.IS_COMPETITION_ROBOT ? 1 : -1);
3333

34-
drivetrain.drivePercent(linearMagnitude*linearMagnitude, linearDirection, rotPercent, true);
34+
drivetrain.drivePercent(linearMagnitude, linearDirection, rotPercent, true);
3535
}
3636

3737
@Override

0 commit comments

Comments
 (0)