Interface WheelPositions<T extends WheelPositions<T>>

All Superinterfaces:
Interpolatable<T>
All Known Implementing Classes:
DifferentialDriveWheelPositions, MecanumDriveWheelPositions, SwerveDriveWheelPositions

public interface WheelPositions<T extends WheelPositions<T>>
extends Interpolatable<T>
  • Method Summary

    Modifier and Type Method Description
    T copy()
    Returns a copy of this instance.
    T minus​(T other)
    Returns the difference with another set of wheel positions.

    Methods inherited from interface edu.wpi.first.math.interpolation.Interpolatable

    interpolate
  • Method Details

    • copy

      T copy()
      Returns a copy of this instance.
      Returns:
      A copy.
    • minus

      T minus​(T other)
      Returns the difference with another set of wheel positions.
      Parameters:
      other - The other instance to compare to.
      Returns:
      The representation of how the wheels moved from other to this.