Package frc.spectrumLib
Class SpectrumCANcoderConfig
java.lang.Object
frc.spectrumLib.SpectrumCANcoderConfig
-
Constructor Summary
ConstructorsConstructorDescriptionSpectrumCANcoderConfig
(double rotorToSensorRatio, double sensorToMechanismRatio, double offset, boolean attached) -
Method Summary
-
Constructor Details
-
SpectrumCANcoderConfig
public SpectrumCANcoderConfig(double rotorToSensorRatio, double sensorToMechanismRatio, double offset, boolean attached)
-
-
Method Details
-
getCANcoderID
public int getCANcoderID() -
setCANcoderID
- Returns:
this
.
-
getRotorToSensorRatio
public double getRotorToSensorRatio() -
getSensorToMechanismRatio
public double getSensorToMechanismRatio() -
getOffset
public double getOffset() -
isAttached
public boolean isAttached()
-