Get the index motor port from constants, not as a parameter in the constructor
Remove Constants.IndexEnabled
Move index constants to an inner class
Change motor controller to Victor SPX
Configure motor controller to factory defaults (VictorSPX.configFactoryDefaults();)
Set motor controller to brake mode (VictorSPX.setNeutralMode(NeutralMode.Brake);)
Make inverting the motor controller be determined by a constant
Create Functions for reading 3 digital inputs
Right after intake
After start of indexer
Right before shooter
add logData function - put values in Smart Dashboard
Get the index motor port from constants, not as a parameter in the constructor Remove Constants.IndexEnabled Move index constants to an inner class Change motor controller to Victor SPX Configure motor controller to factory defaults (VictorSPX.configFactoryDefaults();) Set motor controller to brake mode (VictorSPX.setNeutralMode(NeutralMode.Brake);) Make inverting the motor controller be determined by a constant Create Functions for reading 3 digital inputs
add logData function - put values in Smart Dashboard