Skip to content

Commit

Permalink
fixed a bug in odometry display
Browse files Browse the repository at this point in the history
  • Loading branch information
catr1xLiu committed Jul 11, 2024
1 parent 36836b5 commit 4b4fa3a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ public interface HolonomicDrive extends Subsystem {
/**
* Returns the current odometry Pose.
*/
@AutoLogOutput(key = "Odometry/Robot")
Pose2d getPose();

/**
Expand Down
1 change: 1 addition & 0 deletions src/main/java/frc/robot/subsystems/drive/SwerveDrive.java
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ private SwerveModulePosition[] getModulePositions() {
return states;
}

@AutoLogOutput(key="Odometry/RobotPosition")
@Override
public Pose2d getPose() {
return poseEstimator.getEstimatedPosition();
Expand Down

0 comments on commit 4b4fa3a

Please sign in to comment.