Team818SteelArmadillos / 2020-InfiniteRecharge

Robot code for 2020 Season
0 stars 0 forks source link

Index Subsystem #15

Closed Purgso closed 4 years ago

Purgso commented 4 years ago

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

  1. Right after intake
  2. After start of indexer
  3. Right before shooter

add logData function - put values in Smart Dashboard