Skip to content
This repository has been archived by the owner on Jan 19, 2025. It is now read-only.

Commit

Permalink
Fix encoder telemetry
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinthegreat1 committed Jan 17, 2024
1 parent 15c62b8 commit cf02348
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/output/LinearSlide.java
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public double getPower() {
}

public int[] getTargetPosition() {
return new int[]{elevatorLeft.getTargetPosition(), elevatorRight.getCurrentPosition()};
return new int[]{elevatorLeft.getTargetPosition(), elevatorRight.getTargetPosition()};
}

/**
Expand Down

0 comments on commit cf02348

Please sign in to comment.