diff options
author | kartofen <mladenovnasko0@gmail.com> | 2024-02-16 18:10:45 +0200 |
---|---|---|
committer | kartofen <mladenovnasko0@gmail.com> | 2024-02-16 18:10:45 +0200 |
commit | d857877ee292202ba3a469b3821561ff0d4218d2 (patch) | |
tree | 8bcf2b7e68027fe6f97ab2101b1a8e53970d945b /src/main/java/frc/robot/Constants.java | |
parent | 22d859552d0728ad0c553382ddd3cbbd140423b1 (diff) |
working gyro and subsystem
Diffstat (limited to 'src/main/java/frc/robot/Constants.java')
-rw-r--r-- | src/main/java/frc/robot/Constants.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/frc/robot/Constants.java b/src/main/java/frc/robot/Constants.java index 6d471db..98824ae 100644 --- a/src/main/java/frc/robot/Constants.java +++ b/src/main/java/frc/robot/Constants.java @@ -16,10 +16,10 @@ public class Constants public static final double DriveMaxSpeed = 5; // m/s public static final double DriveMaxAngular = Math.PI; // rad/s? - public static final double WheelRadius = 0.0254; // in meters - public static final double TrackWidth = 0.74; // in meters + public static final double WheelDiameter = 0.1524; // in meters + public static final double TrackWidth = 0.685; // in meters - public static final double EncoderResolution = 4096; + public static final double EncoderResolution = 4096 / 24; public static final IMUGyro gyro = new IMUGyro(new I2C(Port.kOnboard, 0x68)); |