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); |
Make your variables private. It's not super duper code breaking but its genuinely good practice. Example:
mateam2-/src/main/java/org/carlmontrobotics/subsystems/Drivetrain.java
Lines 15 to 16 in d8b645a