Skip to content

Commit

Permalink
added AutoLogOutput key for getModulePositions method in Drive.java
Browse files Browse the repository at this point in the history
  • Loading branch information
CSnair7 committed Feb 3, 2024
1 parent 82e7721 commit 71b8574
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/frc/robot/subsystems/drive/Drive.java
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ private SwerveModuleState[] getModuleStates() {
}

/** Returns the module positions (turn angles and drive velocities) for all of the modules. */
@AutoLogOutput(key = "SwervePositions/Measured")
public SwerveModulePosition[] getModulePositions() {
SwerveModulePosition[] positions = new SwerveModulePosition[4];
for (int i = 0; i < 4; i++) {
Expand Down

0 comments on commit 71b8574

Please sign in to comment.