Class SpectrumCANcoderConfig

java.lang.Object
frc.spectrumLib.SpectrumCANcoderConfig

public class SpectrumCANcoderConfig extends Object
  • Constructor Details

    • SpectrumCANcoderConfig

      public SpectrumCANcoderConfig(double rotorToSensorRatio, double sensorToMechanismRatio, double offset, boolean attached)
  • Method Details

    • getCANcoderID

      public int getCANcoderID()
    • setCANcoderID

      public SpectrumCANcoderConfig setCANcoderID(int CANcoderID)
      Returns:
      this.
    • getRotorToSensorRatio

      public double getRotorToSensorRatio()
    • getSensorToMechanismRatio

      public double getSensorToMechanismRatio()
    • getOffset

      public double getOffset()
    • isAttached

      public boolean isAttached()