Skip to content

Commit 131c7d2

Browse files
committed
fix vy and ay on mirrorToProcessor
1 parent 92fb7a8 commit 131c7d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/frc/robot/commands/drive/DriveAutonCommand.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,10 @@ private SwerveSample mirrorToProcessor(SwerveSample sample) {
6565
DriveConstants.kFieldMaxY - sample.y,
6666
sample.heading * -1,
6767
sample.vx,
68-
DriveConstants.kFieldMaxY - sample.vy,
68+
sample.vy * -1,
6969
sample.omega * -1,
7070
sample.ax,
71-
DriveConstants.kFieldMaxY - sample.ay,
71+
sample.ay * -1,
7272
sample.alpha * -1,
7373
sample.moduleForcesX(),
7474
new double[] {

0 commit comments

Comments
 (0)