diff --git a/swervelib/bin/main/frc/team1711/swerve/subsystems/AutoSwerveDrive.class b/swervelib/bin/main/frc/team1711/swerve/subsystems/AutoSwerveDrive.class index ac76970..9d6ee51 100644 Binary files a/swervelib/bin/main/frc/team1711/swerve/subsystems/AutoSwerveDrive.class and b/swervelib/bin/main/frc/team1711/swerve/subsystems/AutoSwerveDrive.class differ diff --git a/swervelib/bin/main/frc/team1711/swerve/subsystems/GyroSwerveDrive.class b/swervelib/bin/main/frc/team1711/swerve/subsystems/GyroSwerveDrive.class index 37c9b61..01843e0 100644 Binary files a/swervelib/bin/main/frc/team1711/swerve/subsystems/GyroSwerveDrive.class and b/swervelib/bin/main/frc/team1711/swerve/subsystems/GyroSwerveDrive.class differ diff --git a/swervelib/bin/main/frc/team1711/swerve/subsystems/SwerveDrive$ControlsConfig.class b/swervelib/bin/main/frc/team1711/swerve/subsystems/SwerveDrive$ControlsConfig.class new file mode 100644 index 0000000..ecb25b8 Binary files /dev/null and b/swervelib/bin/main/frc/team1711/swerve/subsystems/SwerveDrive$ControlsConfig.class differ diff --git a/swervelib/bin/main/frc/team1711/swerve/subsystems/SwerveDrive$SwerveDrivingSpeeds.class b/swervelib/bin/main/frc/team1711/swerve/subsystems/SwerveDrive$SwerveDrivingSpeeds.class deleted file mode 100644 index e832a52..0000000 Binary files a/swervelib/bin/main/frc/team1711/swerve/subsystems/SwerveDrive$SwerveDrivingSpeeds.class and /dev/null differ diff --git a/swervelib/bin/main/frc/team1711/swerve/subsystems/SwerveDrive.class b/swervelib/bin/main/frc/team1711/swerve/subsystems/SwerveDrive.class index 678393f..4f16ed9 100644 Binary files a/swervelib/bin/main/frc/team1711/swerve/subsystems/SwerveDrive.class and b/swervelib/bin/main/frc/team1711/swerve/subsystems/SwerveDrive.class differ diff --git a/swervelib/build/classes/java/main/frc/team1711/swerve/subsystems/AutoSwerveDrive.class b/swervelib/build/classes/java/main/frc/team1711/swerve/subsystems/AutoSwerveDrive.class index 9ba0c59..9c028ef 100644 Binary files a/swervelib/build/classes/java/main/frc/team1711/swerve/subsystems/AutoSwerveDrive.class and b/swervelib/build/classes/java/main/frc/team1711/swerve/subsystems/AutoSwerveDrive.class differ diff --git a/swervelib/build/classes/java/main/frc/team1711/swerve/subsystems/GyroSwerveDrive.class b/swervelib/build/classes/java/main/frc/team1711/swerve/subsystems/GyroSwerveDrive.class index f72298c..e34d63b 100644 Binary files a/swervelib/build/classes/java/main/frc/team1711/swerve/subsystems/GyroSwerveDrive.class and b/swervelib/build/classes/java/main/frc/team1711/swerve/subsystems/GyroSwerveDrive.class differ diff --git a/swervelib/build/classes/java/main/frc/team1711/swerve/subsystems/SwerveDrive$ControlsConfig.class b/swervelib/build/classes/java/main/frc/team1711/swerve/subsystems/SwerveDrive$ControlsConfig.class new file mode 100644 index 0000000..dcf9d30 Binary files /dev/null and b/swervelib/build/classes/java/main/frc/team1711/swerve/subsystems/SwerveDrive$ControlsConfig.class differ diff --git a/swervelib/build/classes/java/main/frc/team1711/swerve/subsystems/SwerveDrive$SwerveDrivingSpeeds.class b/swervelib/build/classes/java/main/frc/team1711/swerve/subsystems/SwerveDrive$SwerveDrivingSpeeds.class deleted file mode 100644 index c9ec3d3..0000000 Binary files a/swervelib/build/classes/java/main/frc/team1711/swerve/subsystems/SwerveDrive$SwerveDrivingSpeeds.class and /dev/null differ diff --git a/swervelib/build/classes/java/main/frc/team1711/swerve/subsystems/SwerveDrive.class b/swervelib/build/classes/java/main/frc/team1711/swerve/subsystems/SwerveDrive.class index b115923..b0eaa6f 100644 Binary files a/swervelib/build/classes/java/main/frc/team1711/swerve/subsystems/SwerveDrive.class and b/swervelib/build/classes/java/main/frc/team1711/swerve/subsystems/SwerveDrive.class differ diff --git a/swervelib/build/docs/javadoc/allclasses-index.html b/swervelib/build/docs/javadoc/allclasses-index.html index b6dbe93..1f2c6f5 100644 --- a/swervelib/build/docs/javadoc/allclasses-index.html +++ b/swervelib/build/docs/javadoc/allclasses-index.html @@ -177,10 +177,11 @@

All Classes

-SwerveDrive.SwerveDrivingSpeeds +SwerveDrive.ControlsConfig
A class representing the configuration of relative speeds for SwerveDrive in - SwerveDrive.userInputDrive(double, double, double, InputHandler).
+ SwerveDrive.userInputDrive(double, double, double, ControlsConfig), along with + an InputHandler which handles user-generated input. diff --git a/swervelib/build/docs/javadoc/allclasses.html b/swervelib/build/docs/javadoc/allclasses.html index bc252bc..34e6da8 100644 --- a/swervelib/build/docs/javadoc/allclasses.html +++ b/swervelib/build/docs/javadoc/allclasses.html @@ -30,7 +30,7 @@

All Classes

  • InputHandler
  • InputHandler.Curve
  • SwerveDrive
  • -
  • SwerveDrive.SwerveDrivingSpeeds
  • +
  • SwerveDrive.ControlsConfig
  • SwerveWheel
  • Vector
  • diff --git a/swervelib/build/docs/javadoc/frc/team1711/swerve/subsystems/AutoSwerveDrive.html b/swervelib/build/docs/javadoc/frc/team1711/swerve/subsystems/AutoSwerveDrive.html index e9c9f17..2239fdf 100644 --- a/swervelib/build/docs/javadoc/frc/team1711/swerve/subsystems/AutoSwerveDrive.html +++ b/swervelib/build/docs/javadoc/frc/team1711/swerve/subsystems/AutoSwerveDrive.html @@ -88,7 +88,7 @@ @@ -171,24 +171,7 @@

    Nested Class Summary

    Nested classes/interfaces inherited from class frc.team1711.swerve.subsystems.SwerveDrive

    -SwerveDrive.SwerveDrivingSpeeds - - - - - -
    - @@ -207,13 +190,12 @@

    Constructor Summary

    Description -AutoSwerveDrive​(edu.wpi.first.wpilibj.interfaces.Gyro gyro, +AutoSwerveDrive​(edu.wpi.first.wpilibj.interfaces.Gyro gyro, AutoSwerveWheel flWheel, AutoSwerveWheel frWheel, AutoSwerveWheel rlWheel, AutoSwerveWheel rrWheel, - double wheelbaseToTrackRatio, - SwerveDrive.SwerveDrivingSpeeds swerveDrivingSpeeds) + double wheelbaseToTrackRatio)
    Creates a new AutoSwerveDrive given AutoSwerveWheel wheels.
    @@ -257,14 +239,14 @@

    Method Summary

    Methods inherited from class frc.team1711.swerve.subsystems.GyroSwerveDrive

    -calibrateGyro, fieldRelativeUserInputDrive, getGyroAngle, resetGyro +calibrateGyro, fieldRelativeUserInputDrive, getGyroAngle, resetGyro - - -
    - -
    - @@ -205,13 +188,12 @@

    Constructor Summary

    Description -GyroSwerveDrive​(edu.wpi.first.wpilibj.interfaces.Gyro gyro, +GyroSwerveDrive​(edu.wpi.first.wpilibj.interfaces.Gyro gyro, SwerveWheel flWheel, SwerveWheel frWheel, SwerveWheel rlWheel, SwerveWheel rrWheel, - double wheelbaseToTrackRatio, - SwerveDrive.SwerveDrivingSpeeds swerveDrivingSpeeds) + double wheelbaseToTrackRatio)
    Creates a new GyroSwerveDrive given SwerveWheel wheels.
    @@ -243,10 +225,10 @@

    Method Summary

    void -fieldRelativeUserInputDrive​(double strafeX, +fieldRelativeUserInputDrive​(double strafeX, double strafeY, double steering, - InputHandler inputHandler) + SwerveDrive.ControlsConfig controlsConfig)
    Drives the SwerveDrive given strafing and steering inputs, all on the interval [-1, 1], where +strafeY is forwards and +strafeX is to the right.
    @@ -272,7 +254,7 @@

    Method Summary

    Methods inherited from class frc.team1711.swerve.subsystems.SwerveDrive

    -autoDrive, initSendable, setSwerveDrivingSpeeds, steerAllWithinRange, steerAndDriveAll, stop, userInputDrive +autoDrive, initSendable, steerAllWithinRange, steerAndDriveAll, stop, userInputDrive