Make your variables private. It's not super duper code breaking but its genuinely good practice. Example:
|
CANSparkMax rightWheels = MotorControllerFactory.createSparkMax(3, MotorConfig.NEO); |
|
CANSparkMax leftWheels = MotorControllerFactory.createSparkMax(2, MotorConfig.NEO); |