File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed
src/main/include/subsystems Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -112,17 +112,6 @@ class DriveSubsystem : public frc2::SubsystemBase {
112
112
// The gyro sensor
113
113
frc::ADIS16470_IMU m_gyro;
114
114
115
- // Slew rate filter variables for controlling lateral acceleration
116
- double m_currentRotation = 0.0 ;
117
- double m_currentTranslationDir = 0.0 ;
118
- double m_currentTranslationMag = 0.0 ;
119
-
120
- frc::SlewRateLimiter<units::scalar> m_magLimiter{
121
- DriveConstants::kMagnitudeSlewRate / 1_s};
122
- frc::SlewRateLimiter<units::scalar> m_rotLimiter{
123
- DriveConstants::kRotationalSlewRate / 1_s};
124
- double m_prevTime = wpi::Now() * 1e-6 ;
125
-
126
115
// Odometry class for tracking robot pose
127
116
// 4 defines the number of modules
128
117
frc::SwerveDriveOdometry<4 > m_odometry;
You can’t perform that action at this time.
0 commit comments