@@ -52,6 +52,8 @@ public static class constDrivetrain {
5252
5353 // In Rotations: Obtain by aligning all of the wheels in the correct direction
5454 // and copy-pasting the Raw Absolute Encoder value
55+
56+ // TODO: Swoffsets
5557 public static final double FRONT_LEFT_ABS_ENCODER_OFFSET = 0.417236 ;
5658 public static final double FRONT_RIGHT_ABS_ENCODER_OFFSET = -0.254395 ;
5759 public static final double BACK_LEFT_ABS_ENCODER_OFFSET = 0.258789 ;
@@ -74,11 +76,20 @@ public static class constDrivetrain {
7476 */
7577 public static final LinearVelocity REAL_DRIVE_SPEED = Units .FeetPerSecond .of (15.1 );
7678 // Physically measured from center to center of the wheels
79+ // Distance between Left & Right Wheels for 25 by 25 frame
80+ public static final double TRACK_WIDTH_25 = Units .Meters .convertFrom (19.75 , Units .Inches );
81+ // Distance between Front & Back Wheels for 25 by 25 frame
82+ public static final double WHEELBASE_25 = Units .Meters .convertFrom (19.75 , Units .Inches );
83+
84+ // Distance between Left & Right Wheels for 29 by 29 frame
85+ public static final double TRACK_WIDTH_29 = Units .Meters .convertFrom (23.75 , Units .Inches );
86+ // Distance between Front & Back Wheels for 29 by 29 frame
87+ public static final double WHEELBASE_29 = Units .Meters .convertFrom (23.75 , Units .Inches );
88+
7789 // Distance between Left & Right Wheels
78- public static final double TRACK_WIDTH = Units . Meters . convertFrom ( 23.75 , Units . Inches );
90+ public static final double TRACK_WIDTH = TRACK_WIDTH_29 ; // TODO: Replace with actual measurement
7991 // Distance between Front & Back Wheels
80- public static final double WHEELBASE = Units .Meters .convertFrom (23.75 , Units .Inches );
81-
92+ public static final double WHEELBASE = WHEELBASE_29 ; // TODO: Replace with actual measurement
8293 // -- Pose Estimation --
8394 /**
8495 * <p>
@@ -112,6 +123,7 @@ public static class constDrivetrain {
112123 // -- Motor Configurations --
113124 static {
114125 // This PID is implemented on each module, not the Drivetrain subsystem.
126+ // TODO: PID
115127 DRIVE_CONFIG .Slot0 .kP = 0.18 ;
116128 DRIVE_CONFIG .Slot0 .kI = 0.0 ;
117129 DRIVE_CONFIG .Slot0 .kD = 0.0 ;
@@ -139,6 +151,7 @@ public static class constDrivetrain {
139151
140152 public static class AUTO {
141153 // This PID is implemented on the Drivetrain subsystem
154+ // TODO: AUTO PID
142155 public static final PIDConstants AUTO_DRIVE_PID = new PIDConstants (9 , 0.0 , 0.0 );
143156
144157 public static final PIDConstants AUTO_STEER_PID = new PIDConstants (5.6 , 0.0 , 0.0 );
0 commit comments