Skip to content

Commit

Permalink
spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack-Haefele committed Jan 29, 2024
1 parent feda40a commit 540e5e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public void execute() {
RobotContainer.getScaledControllerLeftYAxis(),
headingX,
headingY);

Translation2d translation = SwerveController.getTranslation2d(desiredSpeeds);
drive.driveFieldOriented(translation, desiredSpeeds.omegaRadiansPerSecond);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public void initialize() {}
// Called every time the scheduler runs while the command is scheduled.
@Override
public void execute() {
double x = RobotContainer.getScaledControllerLeftYAxis() * Constants.Drive.MAX_SPEED;
double x = RobotContainer.getScaledControllerLeftYAxis() * Constants.Drive.MAX_SPEED;
double y = RobotContainer.getScaledControllerLeftXAxis() * Constants.Drive.MAX_SPEED;
double z = RobotContainer.getScaledControllerRightXAxis() * Constants.Drive.MAX_ANGULAR_SPEED;
Translation2d translation = new Translation2d(x, y);
Expand Down

0 comments on commit 540e5e5

Please sign in to comment.