Skip to content
This repository has been archived by the owner on Feb 9, 2024. It is now read-only.

Commit

Permalink
mergy mooooo
Browse files Browse the repository at this point in the history
  • Loading branch information
GalexY727 committed Sep 26, 2023
1 parent f5be5c3 commit 371b40d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/hardware/Swerve.java
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ public ChassisSpeeds discretize(ChassisSpeeds speeds) {
Poofdy = twist.dy;
Poofdtheta = twist.dtheta;

return new ChassisSpeeds((twist.dx / dt), (twist.dy / dt), (twist.dtheta / dt));
return new ChassisSpeeds((twist.dx / dt), (twist.dy / dt), (speeds.omegaRadiansPerSecond));
}


Expand Down

0 comments on commit 371b40d

Please sign in to comment.