From 3c9a29d94ba73eb80e24d3aaf55c02e0ba02491a Mon Sep 17 00:00:00 2001 From: aarav18 Date: Thu, 19 Jan 2023 17:49:39 -0700 Subject: [PATCH] note --- src/main/java/frc4388/robot/subsystems/SwerveDrive.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/frc4388/robot/subsystems/SwerveDrive.java b/src/main/java/frc4388/robot/subsystems/SwerveDrive.java index 7f065f3..cb4ea38 100644 --- a/src/main/java/frc4388/robot/subsystems/SwerveDrive.java +++ b/src/main/java/frc4388/robot/subsystems/SwerveDrive.java @@ -126,6 +126,7 @@ public class SwerveDrive extends SubsystemBase { /** * Resets the odometry of the SwerveDrive to 0. + * *NOTE: If you reset your gyroscope or wheel encoders, this method MUST be called with the new gyro angle and wheel encoder positions. */ public void resetOdometry() { odometry.resetPosition(