Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ajs256 committed Nov 11, 2023
1 parent 1bbd4b8 commit 3a6ed08
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/frc/robot/subsystems/SwerveSubsystem.java
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,7 @@ public ChassisSpeeds getTargetSpeeds(double xInput, double yInput, double headin
{
xInput = Math.pow(xInput, 3);
yInput = Math.pow(yInput, 3);
return swerveDrive.swerveController.getTargetSpeeds(xInput, yInput, headingX, headingY, getHeading().getRadians());
}
return swerveDrive.swerveController.getTargetSpeeds(xInput, yInput, headingX, headingY, getHeading().getRadians(), maximumSpeed); }

/**
* Get the chassis speeds based on controller input of 1 joystick and one angle.
Expand Down

0 comments on commit 3a6ed08

Please sign in to comment.