Skip to content

Commit

Permalink
Add robot relative
Browse files Browse the repository at this point in the history
Functional robot relative
  • Loading branch information
thenetworkgrinch authored Dec 20, 2024
1 parent 53a68f3 commit 004e5f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/swervelib/SwerveInputStream.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package swervelib;
mpackage swervelib;

import edu.wpi.first.math.MathUtil;
import edu.wpi.first.math.geometry.Pose2d;
Expand Down Expand Up @@ -763,7 +763,7 @@ public ChassisSpeeds get()

currentMode = newMode;

return speeds;
return applyRobotRelativeTranslation(speeds);
}

/**
Expand Down

0 comments on commit 004e5f4

Please sign in to comment.