Skip to content

Commit

Permalink
Merge pull request #97 from ajs256/main
Browse files Browse the repository at this point in the history
One more one-line fix
  • Loading branch information
thenetworkgrinch authored Nov 12, 2023
2 parents 93b2d44 + e0d32e5 commit 78e479d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,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);
}

/**
Expand Down

0 comments on commit 78e479d

Please sign in to comment.