How do I use a DCMotor that isn't in WPILib?
Sometimes the motor you're using is so new that no one has PR'd it into WPILIb.
https://github.com/wpilibsuite/allwpilib/blob/main/wpimath/src/main/java/edu/wpi/first/math/system/plant/DCMotor.java#L166-L175
Creating your own DCMotor isn't too difficult and can be done easily if you use ReCa.lc to fill in the blanks
https://github.com/wpilibsuite/allwpilib/blob/main/wpimath/src/main/java/edu/wpi/first/math/system/plant/DCMotor.java#L45-L61
For example a Minion would be
Last updated