Skip to content

Commit cecabe0

Browse files
committed
Remove vestigial slew rate limiting member variables
1 parent 345fb05 commit cecabe0

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/main/include/subsystems/DriveSubsystem.h

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -112,17 +112,6 @@ class DriveSubsystem : public frc2::SubsystemBase {
112112
// The gyro sensor
113113
frc::ADIS16470_IMU m_gyro;
114114

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-
126115
// Odometry class for tracking robot pose
127116
// 4 defines the number of modules
128117
frc::SwerveDriveOdometry<4> m_odometry;

0 commit comments

Comments
 (0)