diff --git a/docs/allclasses-index.html b/docs/allclasses-index.html index 8cec455..87a9e51 100644 --- a/docs/allclasses-index.html +++ b/docs/allclasses-index.html @@ -1,7 +1,7 @@ - + All Classes and Interfaces diff --git a/docs/allpackages-index.html b/docs/allpackages-index.html index 3878377..a4b94aa 100644 --- a/docs/allpackages-index.html +++ b/docs/allpackages-index.html @@ -1,7 +1,7 @@ - + All Packages diff --git a/docs/constant-values.html b/docs/constant-values.html index 1d1cfba..60fdc3d 100644 --- a/docs/constant-values.html +++ b/docs/constant-values.html @@ -1,7 +1,7 @@ - + Constant Field Values @@ -52,14 +52,42 @@ loadScripts(document, 'script');

Contents

+
+

swervelib.encoders.*

+ +

swervelib.motors.*

  • +
    +

    odometryThread

    +
    private final edu.wpi.first.wpilibj.Notifier odometryThread
    +
    WPILib Notifier to keep odometry up to date.
    +
    +
  • +
  • +
    +

    odometryLock

    +
    private final Lock odometryLock
    +
    Odometry lock to ensure thread safety.
    +
    +
  • +
  • field

    public edu.wpi.first.wpilibj.smartdashboard.Field2d field
    @@ -551,13 +570,6 @@ loadScripts(document, 'script');
    The last heading set in radians.
  • -
  • -
    -

    odometryThread

    -
    private final edu.wpi.first.wpilibj.Notifier odometryThread
    -
    WPILib Notifier to keep odometry up to date.
    -
    -
  • diff --git a/docs/swervelib/SwerveModule.html b/docs/swervelib/SwerveModule.html index 3bdadd2..c3ba9f7 100644 --- a/docs/swervelib/SwerveModule.html +++ b/docs/swervelib/SwerveModule.html @@ -1,7 +1,7 @@ - + SwerveModule diff --git a/docs/swervelib/encoders/AnalogAbsoluteEncoderSwerve.html b/docs/swervelib/encoders/AnalogAbsoluteEncoderSwerve.html index 3288f02..0841ed4 100644 --- a/docs/swervelib/encoders/AnalogAbsoluteEncoderSwerve.html +++ b/docs/swervelib/encoders/AnalogAbsoluteEncoderSwerve.html @@ -1,7 +1,7 @@ - + AnalogAbsoluteEncoderSwerve @@ -106,7 +106,7 @@ loadScripts(document, 'script');

    Fields inherited from class swervelib.encoders.SwerveAbsoluteEncoder

    -readingError
    +maximumRetries, readingError diff --git a/docs/swervelib/encoders/CANCoderSwerve.html b/docs/swervelib/encoders/CANCoderSwerve.html index 11309fb..5f47905 100644 --- a/docs/swervelib/encoders/CANCoderSwerve.html +++ b/docs/swervelib/encoders/CANCoderSwerve.html @@ -1,7 +1,7 @@ - + CANCoderSwerve @@ -101,7 +101,7 @@ loadScripts(document, 'script');

    Fields inherited from class swervelib.encoders.SwerveAbsoluteEncoder

    -readingError
    +maximumRetries, readingError diff --git a/docs/swervelib/encoders/CanAndCoderSwerve.html b/docs/swervelib/encoders/CanAndCoderSwerve.html index 7abaaa3..e908bab 100644 --- a/docs/swervelib/encoders/CanAndCoderSwerve.html +++ b/docs/swervelib/encoders/CanAndCoderSwerve.html @@ -1,7 +1,7 @@ - + CanAndCoderSwerve @@ -106,7 +106,7 @@ loadScripts(document, 'script');

    Fields inherited from class swervelib.encoders.SwerveAbsoluteEncoder

    -readingError
    +maximumRetries, readingError diff --git a/docs/swervelib/encoders/SparkMaxEncoderSwerve.html b/docs/swervelib/encoders/SparkMaxEncoderSwerve.html index 9bd2f52..6fc1911 100644 --- a/docs/swervelib/encoders/SparkMaxEncoderSwerve.html +++ b/docs/swervelib/encoders/SparkMaxEncoderSwerve.html @@ -1,7 +1,7 @@ - + SparkMaxEncoderSwerve @@ -101,7 +101,7 @@ loadScripts(document, 'script');

    Fields inherited from class swervelib.encoders.SwerveAbsoluteEncoder

    -readingError
    +maximumRetries, readingError @@ -141,19 +141,24 @@ loadScripts(document, 'script');
    Configure the absolute encoder to read from [0, 360) per second.
    -
    void
    -
    factoryDefault()
    +
    private void
    +
    configureSparkMax(Supplier<com.revrobotics.REVLibError> config)
    +
    Run the configuration until it succeeds or times out.
    +
    +
    void
    +
    factoryDefault()
    +
    Reset the encoder to factory defaults.
    -
    Object
    -
    getAbsoluteEncoder()
    -
    +
    Object
    +
    getAbsoluteEncoder()
    +
    Get the instantiated absolute encoder Object.
    -
    double
    -
    getAbsolutePosition()
    -
    +
    double
    + +
    Get the absolute position of the encoder.
    @@ -210,6 +215,17 @@ loadScripts(document, 'script');

    Method Details

    @@ -170,6 +175,21 @@ loadScripts(document, 'script');

    Field Details