We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7caba1a commit e8627c6Copy full SHA for e8627c6
src/main/java/team1403/robot/commands/DefaultSwerveCommand.java
@@ -108,7 +108,7 @@ public void execute() {
108
SmartDashboard.putBoolean("isFieldRelative", m_isFieldRelative);
109
//if (Constants.DEBUG_MODE) SmartDashboard.putBoolean("Aimbot", m_aimbotSupplier.getAsBoolean());
110
111
- m_speedLimiter = 0.3 * (1.0 - m_snipingMode.getAsDouble() * 0.7) + (m_speedSupplier.getAsDouble() * 0.7);
+ m_speedLimiter = 0.3 * (1.0 - m_snipingMode.getAsDouble() * 0.7) + squareNum(m_speedSupplier.getAsDouble()) * 0.7;
112
113
if (DriverStation.isAutonomousEnabled()) {
114
m_drivetrainSubsystem.drive(new ChassisSpeeds());
0 commit comments