11package frc .robot .subsystems .swerve ;
22
33import static edu .wpi .first .units .Units .MetersPerSecond ;
4- import static frc .robot .subsystems .swerve .SwerveConstants .TunerConstants ;
54
65import com .ctre .phoenix6 .CANBus ;
76import com .pathplanner .lib .config .ModuleConfig ;
1514
1615public class SwerveConstants {
1716
18- /** <b> !! PLACEHOLDER VALUE !! </b> */
1917 public static final ConstantsWrapper TunerConstants = new ConstantsWrapper (TunerConstantsV3 .class );
2018
21- // TunerConstantsPlaceholder doesn't include these constants, so they are declared locally
19+ // TunerConstants doesn't include these constants, so they are declared locally
2220
2321 public static final double kOdometryFreq =
2422 new CANBus (TunerConstants .getDrivetrainConstants ().CANBusName ).isNetworkFD () ? 250.0 : 100.0 ;
@@ -30,6 +28,7 @@ public class SwerveConstants {
3028 Math .hypot (TunerConstants .getBackLeft ().LocationX , TunerConstants .getBackLeft ().LocationY ),
3129 Math .hypot (TunerConstants .getBackRight ().LocationX , TunerConstants .getBackRight ().LocationY )));
3230
31+ // TODO: set
3332 public static final double kRobotMass = 63.957 ;
3433 public static final double kRobotMoi = 3.825 ;
3534 public static final double kWheelCOF = 1.9 ;
@@ -51,6 +50,8 @@ public class SwerveConstants {
5150 getModuleTranslations ());
5251
5352 public static final PPHolonomicDriveController kAutoController =
53+ // translation pids, rotation pids
54+ // TODO: set
5455 new PPHolonomicDriveController (new PIDConstants (2 , 0.0 , 0 ), new PIDConstants (2 , 0.0 , 0.0 ));
5556
5657 public static Translation2d [] getModuleTranslations () {
0 commit comments