This should be public:
|
private static final Lib199Subsystem INSTANCE = new Lib199Subsystem(); |
So that one can call CommandScheduler.getInstance().unregister(Lib199Subsystem.INSTANCE) if it's periodic methods interfere with other things. For example, at the moment, MockCANCoder interferes with other simulation code trying to use CANcoderSimState.setRawPosition().
This should be public:
lib199/src/main/java/org/carlmontrobotics/lib199/Lib199Subsystem.java
Line 11 in 946c6fa
So that one can call
CommandScheduler.getInstance().unregister(Lib199Subsystem.INSTANCE)if it's periodic methods interfere with other things. For example, at the moment,MockCANCoderinterferes with other simulation code trying to useCANcoderSimState.setRawPosition().